Skip to main content

Interface: DefaultLinkProps

Defined in: templates/standardLink.tsx:218

An alias for StandardRelationProps.

Deprecated

Use StandardRelationProps directly instead.

Extends

Properties

PropertyTypeDescriptionInherited from

children?

ReactNode

Additional children for the component.

StandardRelationProps.children

className?

string

Additional CSS class for the component.

StandardRelationProps.className

getPathPosition

(offset) => 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.

StandardRelationProps.getPathPosition

link

Link

Target link to render.

StandardRelationProps.link

markerSource

string

SVG path marker for the link source.

StandardRelationProps.markerSource

markerTarget

string

SVG path marker for the link target.

StandardRelationProps.markerTarget

path

string

SVG path for the link geometry.

StandardRelationProps.path

pathProps?

SVGAttributes<SVGPathElement>

Additional attributes for SVG path rendering of the link geometry.

StandardRelationProps.pathProps

prependLabels?

ReactNode

Additional labels to display for the link.

When prepending labels for a relational link it is useful to specify propertyLabelStartLine to avoid overlapping prepended and data labels.

StandardRelationProps.prependLabels

primaryLabelProps?

StandardRelationLabelStyle

Additional props for the primary link label.

See

LinkLabelProps.primary

StandardRelationProps.primaryLabelProps

propertyLabelProps?

StandardRelationLabelStyle

Additional props for each label displaying a property from a relation link data.

StandardRelationProps.propertyLabelProps

propertyLabelStartLine?

number

Starting row shift when displaying relation link data properties.

Default

1

See

LinkLabelProps.line

StandardRelationProps.propertyLabelStartLine

route?

RoutedLink

Route data (geometry) for the link.

StandardRelationProps.route