ClassContainerGraph<TNodeData, TLinkData>
Data class holding the information regarding a sub-diagram contained in a container.
If the Container is null it means the sub-diagram is the top-level graph.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Type Parameters:
TNodeData
The type of the node data.
TLinkData
The type of the link data.
Syntax:
public class ContainerGraph<TNodeData, TLinkData> where TNodeData : new() where TLinkData : new()
Inheritance: objectContainerGraph<TNodeData, TLinkData>
Constructors
ContainerGraph()
Initializes a new instance of the ContainerGraph<TNodeData, TLinkData> class.
Declaration
public ContainerGraph()
ContainerGraph(IGraph)
Initializes a new instance of the ContainerGraph<TNodeData, TLinkData> class.
Declaration
public ContainerGraph(IGraph diagram)
Parameters
diagram
The diagram.
Properties
Container
Gets or sets the container that this graph is linked to.
Declaration
public IContainerShape Container { get; set; }
Property Value
ContainerNode
Gets or sets the Node of the Container and which does not sit in the Graph since
a container organizes its children but not itself. This property is null if the Container is null, which happens when the HyperNode represents
the global layout (the Canvas is not a container obviously).
Declaration
public Node<TNodeData, TLinkData> ContainerNode { get; set; }
Property Value
Node<TNodeData, TLinkData>