Click or drag to resize

mxEdgeStyleFunction Delegate

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Defines the requirements for an edge style function. At the time the function is called, the result array contains a placeholder (null) for the first absolute point, that is, the point where the edge and source terminal are connected. The implementation of the style then adds all intermediate waypoints except for the last point, that is, the connection point between the edge and the target terminal. The first ant the last point in the result array are then replaced with mxPoints that take into account the terminal's perimeter and next point on the edge.

Namespace:  imbSCI.Graph.MXGraph.view
Assembly:  imbSCI.Graph (in imbSCI.Graph.dll) Version: 0.3.70.
Syntax
C#
public delegate void mxEdgeStyleFunction(
	mxCellState state,
	mxCellState source,
	mxCellState target,
	List<mxPoint> points,
	List<mxPoint> result
)

Parameters

state
Type: imbSCI.Graph.MXGraph.viewmxCellState
Cell state that represents the edge to be updated.
source
Type: imbSCI.Graph.MXGraph.viewmxCellState
Cell state that represents the source terminal.
target
Type: imbSCI.Graph.MXGraph.viewmxCellState
Cell state that represents the target terminal.
points
Type: System.Collections.GenericListmxPoint
List of relative control points.
result
Type: System.Collections.GenericListmxPoint
Array of points that represent the actual points of the edge.
See Also