support to subgraphs