Graph.create() with object literal