Box
Map
A newer version of this page is available. Switch to the current version.

jQuery Diagram - customShapes.connectionPoints

An array of the shape's connection points.

Type:

Array<Object>

Diagram connection points

x

Specifies the horizontal offset.

Type:

Number

This property specifies a fractional horizontal offset of a connection point toward the shape width.

  • If the x property is set to 0, the connection point matches the shape's left edge.
  • If the x property is set to 1, the connection point matches the shape's right edge.

y

Specifies the vertical offset.

Type:

Number

This property specifies a fractional vertical offset of a connection point toward the shape height.

  • If the y property is set to 0, the connection point matches the shape's top edge.
  • If the y property is set to 1, the connection point matches the shape's bottom edge.