refactoring

 - split out graph to draw subsets of the network