Class ContainerGraph<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.
Inheritance
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public class ContainerGraph<TNodeData, TLinkData> : Object where TNodeData : new()
where TLinkData : new()
Type Parameters
TNodeData
The type of the node data. |
TLinkData
The type of the link data. |
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
IGraph
diagram
The diagram. |
Properties
Container
Gets or sets the container that this graph is linked to.
Declaration
public IContainerShape Container { get; set; }
Property Value
IContainerShape
|
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>
|
Graph
Gets or sets the graph that the Container holds and which is a subset of the total graph.
Declaration
public Graph<TNodeData, TLinkData> Graph { get; set; }
Property Value
Graph<TNodeData, TLinkData>
|