fix for double edges in graphviz