The unique identifier of the diagram, which is used to reference the diagram within the application and for serialization purposes.
An array of nodes that belong to the diagram, which represent the entities and elements that can be connected and manipulated within the diagram.
OptionalgroupsAn optional array of groups that belong to the diagram, which can be used to organize nodes into visual collections. Grouped nodes maintain their relative positions.
An array of layers that belong to the diagram, which can be used to organize nodes into different visual layers.
Optionalsheet_An optional identifier for the sheet associated with the diagram, which can be used to apply specific styles and configurations to the diagram's nodes and connections.
OptionalbackgroundAn optional background fill style for the diagram, which can be used to set the background color or gradient of the diagram area.
OptionalmetaAn optional metadata object for the diagram, which can be used to store additional information about the diagram that is not part of its core structure. This can include custom properties, annotations, or any other relevant data that is not related to diagram rendering.
OptionalgridAn optional grid configuration for the diagram, which defines the properties of the grid used for aligning and snapping nodes.
Partial DiagramView contract.