@antv/graphlib / Exports / GraphChangedEvent
| Name | Type |
|---|---|
N |
extends PlainObject |
E |
extends PlainObject |
• changes: GraphChange<N, E>[]
Atomic changes that have occurred in the graph since the last time graph.onChanged was triggered.
changes are ordered by the time they occurred.
Each change object is a smallest unit of change that can be made to a graph, including addition, removal, or modification of nodes or edges.
You can call reduceChanges to reduce them.
• graph: Graph<N, E>
The Graph instance which triggered this event.