The edges of the newer graph that the older one does not have, with their edge indices in the
newer graph, in edge index order (Java: addedEdges()).
Time: O(1).
Whether no edge was added or removed, that is, whether the two graphs are equal. Equivalent to
addedEdges.isEmpty && removedEdges.isEmpty (Java: isEmpty()).
Time: O(1).
The edges of the older graph that the newer one does not have, with their edge indices in the
older graph, in edge index order (Java: removedEdges()).
Time: O(1).
The edges added and removed between two graphs over the same nodes, as Graphs.diff returns them.
Each edge comes with its edge index in the graph it belongs to: an added edge with its edge index in the newer graph, a removed edge with its edge index in the older one. With these edge indices, the caller can look up data on the edges of either graph in arrays indexed by edge index. Both lists are in edge index order. To see whether a graph changed without keeping the older one, compare hashes from Graphs.topologyHash instead.
Instances are immutable.
Memory: 12 bytes per added or removed edge.