Abstract: We consider a scattering problem for a quantum graph, i.e. a situation when the full Hamiltonian is the Laplacian on a compact graph with halflines attached. Using exterior complex scaling we find poles of the analytically continued resolvent and demonstrate that they coincide with poles of the scattering matrix.