Class HexLabelNodeAdorner
- Namespace
- Echo.Graphing.Serialization.Dot
- Assembly
- Echo.dll
Represents a node adorner that adds a label to a node containing the hexadecimal representation of the Id property.
public class HexLabelNodeAdorner : IDotNodeAdorner
- Inheritance
-
HexLabelNodeAdorner
- Implements
- Inherited Members
Properties
PaddingZeroes
Gets or sets the minimal number of digits to use in the label.
public int PaddingZeroes { get; set; }
Property Value
Prefix
Gets or sets the string to prepend to the identifier of the node.
public string? Prefix { get; set; }
Property Value
Suffix
Gets or sets the string to append to the identifier of the node.
public string? Suffix { get; set; }
Property Value
Methods
GetNodeAttributes(INode, long)
Obtains the adornments that should be added to the node.
public IDictionary<string, string>? GetNodeAttributes(INode node, long id)
Parameters
Returns
- IDictionary<string, string>
The adornments.