mxEdgeSegmentHandler.js

Summary
mxEdgeSegmentHandler.js
Functions
getCurrentPointsReturns the current absolute points.
getPreviewPointsUpdates the given preview state taking into account the state of the constraint handler.
updatePreviewStateOverridden to perform optimization of the edge style result.
getTooltipForNodeReturns no tooltips.
createBendsAdds custom bends for the center of each segment.
createBendsAdds custom bends for the center of each segment.
redrawOverridden to invoke <refresh> before the redraw.
redrawInnerBendsUpdates the position of the custom bends.

Functions

getCurrentPoints

mxEdgeSegmentHandler.prototype.getCurrentPoints = function()

Returns the current absolute points.

getPreviewPoints

mxEdgeSegmentHandler.prototype.getPreviewPoints = function(point)

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

updatePreviewState

mxEdgeSegmentHandler.prototype.updatePreviewState = function(edge,
point,
terminalState,
me)

Overridden to perform optimization of the edge style result.

getTooltipForNode

mxEdgeSegmentHandler.prototype.getTooltipForNode = function(node)

Returns no tooltips.

createBends

Adds custom bends for the center of each segment.

createBends

mxEdgeSegmentHandler.prototype.createBends = function()

Adds custom bends for the center of each segment.

redraw

mxEdgeSegmentHandler.prototype.redraw = function()

Overridden to invoke <refresh> before the redraw.

redrawInnerBends

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

Updates the position of the custom bends.

mxEdgeSegmentHandler.prototype.getCurrentPoints = function()
Returns the current absolute points.
mxEdgeSegmentHandler.prototype.getPreviewPoints = function(point)
Updates the given preview state taking into account the state of the constraint handler.
mxEdgeSegmentHandler.prototype.updatePreviewState = function(edge,
point,
terminalState,
me)
Overridden to perform optimization of the edge style result.
mxEdgeSegmentHandler.prototype.getTooltipForNode = function(node)
Returns no tooltips.
mxEdgeSegmentHandler.prototype.createBends = function()
Adds custom bends for the center of each segment.
mxEdgeSegmentHandler.prototype.redraw = function()
Overridden to invoke refresh before the redraw.
mxEdgeSegmentHandler.prototype.redrawInnerBends = function(p0,
pe)
Updates the position of the custom bends.
Close