Step - layer_diff

layer_diff ยท category: Graph information and files

Returns what a layered graph changed against its frozen base as a map of added, removed and modified vertices and edges (base and layer values side by side), filtered by #{kinds, labels} and cut at #{limit} (truncated); empty on a graph without layers (Graphersal extension).

Forms

layer_diff()
layer_diff(arg1: any)

Example

g.layer_diff()   // #{"added": [], "modified": [], "removed": [], "truncated": false}

See also