Subgraph by node and data insertion