This paper addresses the problem of identifying the graph structure of a dynamical network using measured input/output data. This problem is known as topology identification and has received considerable attention in recent literature. Most existing literature focuses on topology identification for networks with node dynamics modeled by single integrators or singleinput single-output (SISO) systems. The goal of the current paper is to identify the topology of a more general class of heterogeneous networks, in which the dynamics of the nodes are modeled by general (possibly distinct) linear systems. Our two main contributions are the following. First, we establish conditions for topological identifiability, i.e., conditions under which the network topology can be uniquely reconstructed from measured data. We also specialize our results to homogeneous networks of SISO systems and we will see that such networks have quite particular identifiability properties. Secondly, we develop a topology identification method that reconstructs the network topology from input/output data. The solution of a generalized Sylvester equation will play an important role in our identification scheme. (Henk J. van Waarde), pietro.tesi@unifi.it (Pietro Tesi), m.k.camlibel@rug.nl (M. Kanat Camlibel). The paper [9] studies necessary and sufficient conditions for dynamical structure reconstruction, see also [38]. A node-knockout scheme for topology identification was introduced in [20] and further investigated in [27]. Moreover, the paper [24] studies topology identification using compressed sensing, while [18] considers network reconstruction using Wiener filtering. A distributed algorithm for network reconstruction has also been studied [19]. The authors of [26] study topology identification using power spectral analysis. In [35], the network topology was reconstructed by solving certain Lyapunov equations. A Bayesian approach to the network identification problem was investigated in [6]. The network topology was inferred from multiple independent observations of consensus dynamics in [25]. We also remark that the interesting related problem of identifying dynamical networks with known topology has been well-studied, see e.g. [5,11,13,23,29,32,33].Most existing work on topology identification emphasizes the role of the network topology by considering relatively simple node dynamics.