Devide target list or expression into subgraph.