pub fn graphs_equal<N, E, Ty>( g1: &Graph<N, E, Ty>, g2: &Graph<N, E, Ty>, ) -> boolwhere N: PartialEq, E: PartialEq, Ty: EdgeType,
Compare two graphs for structural equality.
Returns true if both graphs have the same nodes and edges with the same weights.
true