changed vertex to be constrained. changed inhirrtance

also renamed graph_subgraph_mapper to graph_mapper.

also changed variable name sto reflec tthe changes.
Merge remote-tracking branch 'origin/master'