Plain-object description of one link: your custom data plus the visual
fields JointJS understands (source, target, attrs, labels, and the
style/labelMap/labelStyle preset extras). Use it for initialCells
entries and when adding or updating cells; reading hooks hand back its
Computed<LinkRecord> form (fields the store always populates are required).
Type defaults to 'link' so cell.type === 'link' narrows the
CellRecord union; set it to a shape name (e.g. 'standard.Link') for
a built-in or custom shape.
Type Parameters
LinkData = unknown
shape of the custom data payload carried on the link
Plain-object description of one link: your custom
dataplus the visual fields JointJS understands (source,target,attrs, labels, and thestyle/labelMap/labelStylepreset extras). Use it forinitialCellsentries and when adding or updating cells; reading hooks hand back itsComputed<LinkRecord>form (fields the store always populates are required).Typedefaults to'link'socell.type === 'link'narrows the CellRecord union; set it to a shape name (e.g.'standard.Link') for a built-in or custom shape.