use ocamlgraph for graph