graph/graph_diff_utils library

Graph diff (added/removed/changed edges) — roadmap #553.

Functions

graphEdgeDiff(Adjacency before, Adjacency after) → (List<(int, int)>, List<(int, int)>)
Compares two adjacency lists; returns (added edges, removed edges). Edges are (from, to).