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.
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
mxConnectionConstraintConstructs a new connection constraint for the given point and boolean arguments.

Variables

point

var $point

mxPoint that specifies the fixed location of the connection point.

perimeter

var $perimeter

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

Functions

mxConnectionConstraint

function mxConnectionConstraint($point =  null,
$perimeter =  true)

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.
var $point
mxPoint that specifies the fixed location of the connection point.
Implements a 2-dimensional point with double precision coordinates.
var $perimeter
Boolean that specifies if the point should be projected onto the perimeter of the terminal.
function mxConnectionConstraint($point =  null,
$perimeter =  true)
Constructs a new connection constraint for the given point and boolean arguments.
Close