ModelChanges
Interface representing a snapshot of the diagram model state.
This read-only interface is provided by the library when the model changes.
It contains the complete current state of nodes, edges, and metadata.
Typically received in onChange callbacks to observe model updates.
Properties
Section titled “Properties”edges:
Edge<object>[]
Current array of all edges in the diagram.
metadata
Section titled “metadata”metadata:
Metadata
Current metadata associated with the diagram.
nodes:
Node[]
Current array of all nodes in the diagram.