ds.graph:add Graph constructor