add wgraph, ggraph