Defines an object that contains the constraints about how to connect one side of an edge to its terminal.
mxConnectionConstraint | Defines an object that contains the constraints about how to connect one side of an edge to its terminal. |
Functions | |
mxConnectionConstraint | Constructs a new connection constraint for the given point and boolean arguments. |
Variables | |
point | mxPoint that specifies the fixed location of the connection point. |
perimeter | Boolean that specifies if the point should be projected onto the perimeter of the terminal. |
name | Optional string that specifies the name of the constraint. |
dx | Optional float that specifies the horizontal offset of the constraint. |
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.
point | Optional mxPoint that specifies the fixed location of the point in relative coordinates. Default is null. |
perimeter | Optional boolean that specifies if the fixed point should be projected onto the perimeter of the terminal. Default is true. |
mxConnectionConstraint.prototype.point
mxPoint that specifies the fixed location of the connection point.
Constructs a new connection constraint for the given point and boolean arguments.
function mxConnectionConstraint( point, perimeter, name, dx, dy )
mxPoint that specifies the fixed location of the connection point.
mxConnectionConstraint.prototype.point
Boolean that specifies if the point should be projected onto the perimeter of the terminal.
mxConnectionConstraint.prototype.perimeter
Optional string that specifies the name of the constraint.
mxConnectionConstraint.prototype.name
Optional float that specifies the horizontal offset of the constraint.
mxConnectionConstraint.prototype.dx
Optional float that specifies the vertical offset of the constraint.
mxConnectionConstraint.prototype.dy