BlockEndpointDefinition

A line endpoint connected to another block

Extends


Properties

autoLink?

optional autoLink: boolean;

If true, this endpoint may move around the target block in order to make the line less complex


connection

connection: BlockProxy;

inside?

optional inside: boolean;

If true, the connection isn't to the edge of the target block, but inside it


linkX

linkX: number;

0 to 1, relative X position in target block's bounding box


linkY

linkY: number;

0 to 1, relative Y position in target block's bounding box


padding?

optional padding: number;

If set, the distance from the connected block this endpoint should be


style?

optional style: string;

Omit to use defaults (theme)

Inherited from

EndpointStyle.style