New to Kendo UI for AngularStart a free 30-day trial

Connector

NameTypeDefaultDescription

connections

any[]

Array of connections attached to this connector.

options

any

Configuration options for the connector.

shape

any

The shape that owns this connector.

Constructors

Connector

(shape: any, options: any)

Creates a new Connector instance.

Parameters

shape

any

The shape that owns this connector
options

any

Configuration options for the connector

Methods

parse

Parses a string representation to find and return a connector from the diagram.

Parameters

diagram

Diagram

The diagram to search for the connector

str

string

String representation in format "shapeId:connectorName"

Returns

any

The matching Connector or undefined if not found

position

Gets the position of this connector. Uses either a custom position function from options or the shape's getPosition method.

Returns

any

The Point representing the connector's position

toJSON

Converts the connector to a JSON representation for serialization.

Returns

{ connector: any; shapeId: any; }

Object containing the shape ID and connector name

In this article
ConstructorsConnectorMethods
Not finding the help you need?
Contact Support