Skip to main content
Version: 4.3

DefaultLink

type DefaultLink = 
| ((context) => dia.Link | Partial<LinkRecord>)
| Partial<LinkRecord>;

Defines the link created when the user drags a new connection from a port or element. Either a factory receiving DefaultLinkParams (returning a dia.Link or a partial LinkRecord) or a static partial LinkRecord.