Skip to content

Interface: DiagramConnection ​

One edge of a diagram's data model (dgm:cxn) — an attribute-only element, so it reads as plain data rather than as a proxy.

The ids are ST_ModelId GUIDs matching a DiagramPoint.modelId. parOf edges are the tree a reader cares about: sourceId is the parent, destinationId the child, and sourceOrder the child's position among its siblings.

Properties ​

destinationId ​

destinationId: string | null

The @destId end — the child, for a parOf edge.


destinationOrder ​

destinationOrder: number | null

The parent's index as seen from the child (@destOrd).


modelId ​

modelId: string | null

This edge's own id (@modelId).


parentTransitionId ​

parentTransitionId: string | null

The parTrans point labelling this edge (@parTransId), or null when unset.


presentationId ​

presentationId: string | null

The layout preset this edge belongs to (@presId), set on generated edges only.


siblingTransitionId ​

siblingTransitionId: string | null

The sibTrans point labelling this edge (@sibTransId), or null when unset.


sourceId ​

sourceId: string | null

The @srcId end — the parent, for a parOf edge.


sourceOrder ​

sourceOrder: number | null

The child's index among its siblings (@srcOrd).


type ​

type: DiagramConnectionType

What the edge asserts (@type); parOf when absent, its schema default.