Sets the path of an edge.

Namespace: yWorks.yFiles.Layout
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.4.0.0

Syntax

C#
public virtual void SetPath( Edge edge, YList path )
Visual Basic
Public Overridable Sub SetPath ( _ edge As Edge, _ path As YList _ )

Parameters

edge
Type: yWorks.yFiles.Algorithms..::..Edge
an edge in the graph
path
Type: yWorks.yFiles.Algorithms..::..YList
the path sequence given as a YList

Remarks

Sets the path of an edge. The path of an edge is the position of the source port, followed by the positions of the bends, followed by the position of the target port. Both source and target port are expected to be given in absolute coordinates.

See Also