revert back to [init] for graph

this is to fix the bug that we cannot create graph with
nodes but without arcs