OOK_graph.pl: use level on the graph