mxEdgeSegmentHandler.js | |
Functions | |
getPreviewPoints | Updates the given preview state taking into account the state of the constraint handler. |
createBends | Adds custom bends for the center of each segment. |
redrawInnerBends | Updates the position of the custom bends. |
connect | Calls refresh after mxEdgeHandler.connect. |
changeTerminalPoint | Calls refresh after mxEdgeHandler.changeTerminalPoint. |
changePoints | Changes the points of the given edge to reflect the current state of the handler. |
refresh | Refreshes the bends of this handler. |
mxEdgeSegmentHandler.prototype.connect = function( edge, terminal, isSource, isClone, me )
Calls refresh after mxEdgeHandler.connect.
mxEdgeSegmentHandler.prototype.changeTerminalPoint = function( edge, point, isSource )
Calls refresh after mxEdgeHandler.changeTerminalPoint.
Updates the given preview state taking into account the state of the constraint handler.
mxEdgeSegmentHandler.prototype.getPreviewPoints = function( point )
Adds custom bends for the center of each segment.
mxEdgeSegmentHandler.prototype.createBends = function()
Updates the position of the custom bends.
mxEdgeSegmentHandler.prototype.redrawInnerBends = function( p0, pe )
Calls refresh after mxEdgeHandler.connect.
mxEdgeSegmentHandler.prototype.connect = function( edge, terminal, isSource, isClone, me )
Refreshes the bends of this handler.
mxEdgeSegmentHandler.prototype.refresh = function()
Changes the terminal or terminal point of the given edge in the graph model.
mxEdgeHandler.prototype.connect = function( edge, terminal, isSource, isClone, me )
Calls refresh after mxEdgeHandler.changeTerminalPoint.
mxEdgeSegmentHandler.prototype.changeTerminalPoint = function( edge, point, isSource )
Changes the terminal point of the given edge.
mxEdgeHandler.prototype.changeTerminalPoint = function( edge, point, isSource )
Changes the points of the given edge to reflect the current state of the handler.
mxEdgeSegmentHandler.prototype.changePoints = function( edge, points )