Edge switching transformations of quantum graphs