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.

Functions

mxConnectionConstraint

function mxConnectionConstraint(point,
perimeter)

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.

function mxConnectionConstraint(point,
perimeter)
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.
Close