add Graph, modified QuerySwitch2
Merge branch 'master' of https://github.com/wanzc12345/hierarchical_control_plane