Reverses edges in the given graph whose source node has a larger layer ID than the target node.

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

Syntax

C#
public static EdgeList ReverseUpwardEdges( Graph g, INodeMap layerMap )
Visual Basic
Public Shared Function ReverseUpwardEdges ( _ g As Graph, _ layerMap As INodeMap _ ) As EdgeList

Parameters

g
Type: yWorks.yFiles.Algorithms..::..Graph
target graph
layerMap
Type: yWorks.yFiles.Algorithms..::..INodeMap
node map that contains a layer ID for each node

Return Value

a list of edges that have been reversed

Remarks

Reverses edges in the given graph whose source node has a larger layer ID than the target node.

See Also