Resonance states completeness problem for quantum graphs of various geometry having two semi-infinite edges is considered. The Schrodinger and the Dirac operators on the edges are considered. Delta-coupling is assumed at the vertices. The problem is reduced to the scalar factorization problem in Sz.-Nagy functional model. Scattering problem is considered in the framework of Lax-Phillips approach.