Class IncrementingNodeIdentifier
- Namespace
- Echo.Graphing.Serialization.Dot
- Assembly
- Echo.dll
Provides an implementation of the INodeIdentifier interface, that maintains a counter that is increased every time a new node is assigned an identifier.
public class IncrementingNodeIdentifier : INodeIdentifier
- Inheritance
-
IncrementingNodeIdentifier
- Implements
- Inherited Members
Methods
GetIdentifier(INode)
Gets the identifier assigned to the node.
public long GetIdentifier(INode node)
Parameters
nodeINodeThe node.
Returns
- long
The identifier.