ClassGraphMorphism<TNode, TLink>
Class
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:
cs-api-definition
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
GraphMorphism()
Initializes a new instance of the GraphMorphism<TNode, TLink> class. Initializes a new instance of the GraphMorphism<TNode, TLink> class.
Declaration
cs-api-definition
public GraphMorphism()
Properties
EdgeMorphism
Gets or sets the edge morphism between the links.
Declaration
cs-api-definition
public Dictionary<TLink, TLink> EdgeMorphism { get; }
Property Value
Dictionary<TLink, TLink>
The edge morphism.
Graph
Gets or sets the target of the morphism.
Declaration
cs-api-definition
public GraphBase<TNode, TLink> Graph { get; }
Property Value
GraphBase<TNode, TLink>
The graph.
NodeMorphism
Gets or sets the node morphism between the nodes.
Declaration
cs-api-definition
public Dictionary<TNode, TNode> NodeMorphism { get; }
Property Value
Dictionary<TNode, TNode>
The node morphism.