Click or drag to resize
DiagramToHyperTreeAdapterTNodeData, TLinkData Class
Adapter between the diagram control and the graph representation. It converts shape and connections to nodes and edges taking into the containers and their collapse state, the visibility of items and more. If the LayoutContainerChildren is true a hypertree is constructed which holds the hierarchy of containers and many conditions are analyzed to investigate how the effective graph structure looks like and how the layout has to be performed.
Inheritance Hierarchy
SystemObject
  Telerik.Windows.Diagrams.CoreDiagramToHyperTreeAdapterTNodeData, TLinkData

Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core (in Telerik.Windows.Diagrams.Core.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public sealed class DiagramToHyperTreeAdapter<TNodeData, TLinkData>
where TNodeData : new()
where TLinkData : new()

Type Parameters

TNodeData
The type of the node data.
TLinkData
The type of the link data.

The DiagramToHyperTreeAdapterTNodeData, TLinkData type exposes the following members.

Constructors
  NameDescription
Public methodDiagramToHyperTreeAdapterTNodeData, TLinkData
Initializes a new instance of the DiagramToHyperTreeAdapterTNodeData, TLinkData class.
Public methodDiagramToHyperTreeAdapterTNodeData, TLinkData(IGraph, GraphAnalysisSettings)
Initializes a new instance of the DiagramToHyperTreeAdapterTNodeData, TLinkData class.
Top
Methods
Properties
  NameDescription
Public propertyHyperTree
Gets the hypertree when LayoutContainerChildren is true. This represents the hierarchy of containers and their content graph. If LayoutContainerChildren is false this property will return null.
Public propertyIgnoredConnections
Gets the connections which are being ignored because of graph analytical reasons.
Public propertyIgnoredShapes
Gets the shapes which are being ignored because of graph analytical reasons. Ignored shapes are not mapped to a NodeTNodeData, TLinkData. An ignored shape can however have a mapped shape (container) when it sits in a collapsed container. In this case the ShapeMap maps the shape to the container.
Public propertyLinks
Public propertyNodes
Public propertyShapeMap
Gets the mapping of a shape to a container in case the shape sits in a collapsed container.
Top
See Also