mxEdgeSegmentHandler.js

Summary
mxEdgeSegmentHandler.js
Functions
getPreviewPointsUpdates the given preview state taking into account the state of the constraint handler.
createBendsAdds custom bends for the center of each segment.
redrawInnerBendsUpdates the position of the custom bends.
connectCalls refresh after mxEdgeHandler.connect.
changeTerminalPointCalls refresh after mxEdgeHandler.changeTerminalPoint.
changePointsChanges the points of the given edge to reflect the current state of the handler.
refreshRefreshes the bends of this handler.

Functions

getPreviewPoints

mxEdgeSegmentHandler.prototype.getPreviewPoints = function(point)

Updates the given preview state taking into account the state of the constraint handler.

createBends

mxEdgeSegmentHandler.prototype.createBends = function()

Adds custom bends for the center of each segment.

redrawInnerBends

mxEdgeSegmentHandler.prototype.redrawInnerBends = function(p0,
pe)

Updates the position of the custom bends.

connect

mxEdgeSegmentHandler.prototype.connect = function(edge,
terminal,
isSource,
isClone,
me)

Calls refresh after mxEdgeHandler.connect.

changeTerminalPoint

mxEdgeSegmentHandler.prototype.changeTerminalPoint = function(edge,
point,
isSource)

Calls refresh after mxEdgeHandler.changeTerminalPoint.

changePoints

mxEdgeSegmentHandler.prototype.changePoints = function(edge,
points)

Changes the points of the given edge to reflect the current state of the handler.

refresh

mxEdgeSegmentHandler.prototype.refresh = function()

Refreshes the bends of this handler.

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