Table of Contents

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

int

Prefix

Gets or sets the string to prepend to the identifier of the node.

public string? Prefix { get; set; }

Property Value

string

Suffix

Gets or sets the string to append to the identifier of the node.

public string? Suffix { get; set; }

Property Value

string

Methods

GetNodeAttributes(INode, long)

Obtains the adornments that should be added to the node.

public IDictionary<string, string>? GetNodeAttributes(INode node, long id)

Parameters

node INode

The node to adorn.

id long

The identifier assigned to the node.

Returns

IDictionary<string, string>

The adornments.