A struct that can be used to describe a dummy edge that connects to nodes inside a collapsed group or other dummy nodes in a IFoldedGraph.Namespace: yWorks.yFiles.UI.Model
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 220.127.116.11
public struct DummyEdgeId
Public Structure DummyEdgeId
Instances of this type are passed to the various methods in FoldingManager to identify different possible states of an edge inside IFoldedGraph views. A dummy edge is identified through the master edge, which is an edge in the MasterGraph and a source and target node from the MasterHierarchy. Also whether those source and target nodes are currently dummy nodes needs to be taken into account. The source and target nodes need to be either the true owners of the adjacent edge's SourcePort and TargetPort respectively, or ancestor group nodes in the MasterHierarchy. In the latter case these dummy edges are used to describe the state of the dummy edges that are present in the views of the corresponding group nodes are in collapsed state, so that the true source and target nodes are not currently visible in the view. As such the CurrentMasterSource and CurrentMasterTarget nodes represent the masters of the nearest ancestors in the MasterHierarchy that are visible in the folded graph view.