Use env.createGraph() wherever possible