revert back to [init] for graph

this is to fix the bug that we cannot create graph with
nodes but without arcs
make [init] clear the whole graph
Merge pull request #8 from danielf/graph_dev_init

revert back to [init] for graph

Before this, we could not have vertices with larger ids than the largest vertex with arcs.