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