Class GraphMorphism<TNode, TLink>
A mapping (functor actually) from one graph to another.
Inheritance
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public sealed class GraphMorphism<TNode, TLink> : Object where TNode : class, INode<TNode, TLink>, new()
where TLink : class, IEdge<TNode, TLink>, new()
Type Parameters
TNode
The type of the node. |
TLink
The type of the link. |
Constructors
GraphMorphism()
Initializes a new instance of the GraphMorphism<TNode, TLink> class. Initializes a new instance of the GraphMorphism<TNode, TLink> class.
Declaration
public GraphMorphism()
Properties
EdgeMorphism
Gets or sets the edge morphism between the links.
Declaration
public Dictionary<TLink, TLink> EdgeMorphism { get; }
Property Value
System.Collections.Generic.Dictionary<TLink, TLink>
The edge morphism. |
Graph
Gets or sets the target of the morphism.
Declaration
public GraphBase<TNode, TLink> Graph { get; }
Property Value
GraphBase<TNode, TLink>
The graph. |
NodeMorphism
Gets or sets the node morphism between the nodes.
Declaration
public Dictionary<TNode, TNode> NodeMorphism { get; }
Property Value
System.Collections.Generic.Dictionary<TNode, TNode>
The node morphism. |