Skip to main content

Interface: LinkTemplateProps

Props for custom link template rendering.

See

LinkTemplate.renderLink

Extended by

Properties

PropertyTypeDescription

getPathPosition

(offset: number) => Vector

Provides paper position along the link at the specified offset.

Offset of 0.0 corresponds to the source and 1.0 corresponds to the target of the link.

link

Link

Target link to render.

markerSource

string

SVG path marker for the link source.

markerTarget

string

SVG path marker for the link target.

path

string

SVG path for the link geometry.

route?

RoutedLink

Route data (geometry) for the link.