expand subgraph

there is convert to subgraph, now expand from subgraph is needed for consistency and also because it’s used a lot in graph work