Default implementation/inheritance of the GraphBase<TNode, TLink> class in function of analysis and layout.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Type Parameters:
TNodeData
TLinkData
Syntax:
public class Graph<TNodeData, TLinkData> : GraphBase<Node<TNodeData, TLinkData>, Edge<TNodeData, TLinkData>> where TNodeData : new() where TLinkData : new()
Inheritance: objectGraphBase<Node<TNodeData, TLinkData>, Edge<TNodeData, TLinkData>>Graph<TNodeData, TLinkData>
Derived Classes:
Inherited Members
Constructors
Initializes a new instance of the Graph<TNodeData, TLinkData> class.
Initializes a new instance of the Graph class.
public Graph(IGraph diagramControl, bool full = true, GraphAnalysisSettings settings = null)
The diagram Control.
fullboolTransfers the full incidence structure to the Graph<TNodeData, TLinkData>.
settingsGraphAnalysisSettingsThe setting used during translation from control to graph. If set to null the default settings will be used.
Properties
Gets DiagramControl.
public IGraph DiagramControl { get; }
Gets or sets ignored connections.
public IEnumerable<IConnection> IgnoredConnections { get; set; }
These are the connections which have been ignored due to multi-edges or multiple connections between containers.