added functions about the graphs structure i.e. multigraph, diracs, simplegraphs