Switch moving to subgraph to the Graph API
Graph creation: use Graph API