Add nodes to subgraph, not root graph.

Addresses #41