Provides functionality to hide and unhide partitions of nodes and their adjacent edges of a graph temporarily for algorithmic operations.
Namespace: yWorks.yFiles.Algorithms.UtilAssembly: yWorks.yFilesWPF.Algorithms (in yWorks.yFilesWPF.Algorithms.dll) Version: 2.2.0.2 (2.2.0.2)
Syntax
| C# |
|---|
public class GraphPartitionManager |
| Visual Basic |
|---|
Public Class GraphPartitionManager |
Remarks
Provides functionality to hide and unhide partitions of nodes and their adjacent edges of a graph temporarily for algorithmic operations.
This class can be used to temporarily hide away certain elements of a graph and to unhide that parts at a later time again. Instances of this class keep track of graph elements that were hidden from a graph in order to make them visible again at a later time.
Note that this class should not be used to hide elements from a Graph2D for pure hiding purposes. Since this class will by default prevent the graph instance from firing events, other code might cease to work correctly. Use this class for short term removal of nodes and edges, only.
Inheritance Hierarchy
System..::..Object
yWorks.yFiles.Algorithms.Util..::..GraphPartitionManager
yWorks.yFiles.Algorithms.Util..::..GraphPartitionManager