Now with sub graphs and subgraph selection.