mxConnectionConstraint

Defines an object that contains the constraints about how to connect one side of an edge to its terminal.

Summary
mxConnectionConstraintDefines an object that contains the constraints about how to connect one side of an edge to its terminal.
Functions
mxConnectionConstraintConstructs a new connection constraint for the given point and boolean arguments.
Variables
pointmxPoint that specifies the fixed location of the connection point.
perimeterBoolean that specifies if the point should be projected onto the perimeter of the terminal.
nameOptional string that specifies the name of the constraint.
dxOptional float that specifies the horizontal offset of the constraint.
dyOptional float that specifies the vertical offset of the constraint.

Functions

mxConnectionConstraint

function mxConnectionConstraint(point,
perimeter,
name,
dx,
dy)

Constructs a new connection constraint for the given point and boolean arguments.

Parameters

pointOptional mxPoint that specifies the fixed location of the point in relative coordinates.  Default is null.
perimeterOptional boolean that specifies if the fixed point should be projected onto the perimeter of the terminal.  Default is true.

Variables

point

mxConnectionConstraint.prototype.point

mxPoint that specifies the fixed location of the connection point.

perimeter

mxConnectionConstraint.prototype.perimeter

Boolean that specifies if the point should be projected onto the perimeter of the terminal.

name

mxConnectionConstraint.prototype.name

Optional string that specifies the name of the constraint.

dx

mxConnectionConstraint.prototype.dx

Optional float that specifies the horizontal offset of the constraint.

dy

mxConnectionConstraint.prototype.dy

Optional float that specifies the vertical offset of the constraint.

function mxConnectionConstraint(point,
perimeter,
name,
dx,
dy)
Constructs a new connection constraint for the given point and boolean arguments.
mxConnectionConstraint.prototype.point
mxPoint that specifies the fixed location of the connection point.
Implements a 2-dimensional vector with double precision coordinates.
mxConnectionConstraint.prototype.perimeter
Boolean that specifies if the point should be projected onto the perimeter of the terminal.
mxConnectionConstraint.prototype.name
Optional string that specifies the name of the constraint.
mxConnectionConstraint.prototype.dx
Optional float that specifies the horizontal offset of the constraint.
mxConnectionConstraint.prototype.dy
Optional float that specifies the vertical offset of the constraint.
Close