Class ChartGraphNode
A node in a graph, flow, or diagram.
public sealed record ChartGraphNode : IEquatable<ChartGraphNode>
- Inheritance
-
ChartGraphNode
- Implements
- Inherited Members
Constructors
ChartGraphNode(string, string, int)
A node in a graph, flow, or diagram.
public ChartGraphNode(string Id, string Label, int Stage = 0)
Parameters
IdstringA unique identifier referenced by links.
LabelstringThe visible node label.
StageintThe optional horizontal stage used by a Sankey diagram.
Properties
Id
A unique identifier referenced by links.
public string Id { get; init; }
Property Value
Label
The visible node label.
public string Label { get; init; }
Property Value
Stage
The optional horizontal stage used by a Sankey diagram.
public int Stage { get; init; }
Property Value
Methods
Deconstruct(out string, out string, out int)
public void Deconstruct(out string Id, out string Label, out int Stage)
Parameters
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ChartGraphNode?)
public bool Equals(ChartGraphNode? other)
Parameters
otherChartGraphNode
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ChartGraphNode?, ChartGraphNode?)
public static bool operator ==(ChartGraphNode? left, ChartGraphNode? right)
Parameters
leftChartGraphNoderightChartGraphNode
Returns
operator !=(ChartGraphNode?, ChartGraphNode?)
public static bool operator !=(ChartGraphNode? left, ChartGraphNode? right)
Parameters
leftChartGraphNoderightChartGraphNode