HaloMakeLink
type HaloMakeLink = (params) => dia.Link | Partial<LinkRecord>;
Creates the link produced by a link handle. Return either a JointJS model
instance or a React LinkRecord (converted to a LinkModel). ui.Halo
sets the link's source / target afterwards, so a record need only carry
type / data / attrs.
Parameters
| Parameter | Type |
|---|---|
params | HaloMakeLinkParams |
Returns
dia.Link | Partial<LinkRecord>