Differences from before to after. Compares vertex ids and edge endpoints and weights; vertex and edge attributes are ignored, and parallel edges collapse onto one (simple graphs only). Throws GraphError when the graphs differ in direction.
before
after
Differences from
beforetoafter. Compares vertex ids and edge endpoints and weights; vertex and edge attributes are ignored, and parallel edges collapse onto one (simple graphs only). Throws GraphError when the graphs differ in direction.