quantum graph, magnetic field, coupling constant perturbation, eigenvalues in gaps, weak coupling