# ChartSankeyNodeOrder

Controls deterministic node order within each Sankey layer.

 Enum  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[ChartSankeyOptions.cs:160](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartSankeyOptions.cs#L160)

**Base**

`Enum`

**Implements**

 `IComparable` `ISpanFormattable` `IFormattable` `IConvertible` 

**Modifiers**

sealed

Controls deterministic node order within each Sankey layer.

## Inheritance

- Enum
- ChartSankeyNodeOrder

## Usage

 Explore 7 API references to this type 

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 5

- Field [ChartSankeyNodeOrder.Auto](/api/chartforgex-core-chartsankeynodeorder/#field-auto)
- Field [ChartSankeyNodeOrder.Input](/api/chartforgex-core-chartsankeynodeorder/#field-input)
- Field [ChartSankeyNodeOrder.LabelAscending](/api/chartforgex-core-chartsankeynodeorder/#field-labelascending)
- Field [ChartSankeyNodeOrder.LabelDescending](/api/chartforgex-core-chartsankeynodeorder/#field-labeldescending)
- Property [ChartSankeyOptions.NodeOrder](/api/chartforgex-core-chartsankeyoptions/#property-nodeorder)

### Accepted by parameters 2

- Extension method [ChartSankeyOptions.NodeOrder](/api/chartforgex-core-chartsankeyoptions/#extension-nodeorder-chartforgex-core-chartsankeyoptions-chartforgex-core-chartsankeynodeorder) parameter `value`
- Method [ChartSankeyOptionsFluent.NodeOrder](/api/chartforgex-core-chartsankeyoptionsfluent/#method-nodeorder-chartforgex-core-chartsankeyoptions-chartforgex-core-chartsankeynodeorder) parameter `value`

 Filter members   

    Show inherited   

 

## Inherited Methods

 `public int CompareTo(object? target)` [#](#method-compareto-object) 

Inherited from Enum

Parameters

**target object? required**

Returns

 `int` 

 `public override bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from Enum

Parameters

**obj object? required**

Returns

 `bool` 

 `public override int GetHashCode()` [#](#method-gethashcode) 

Inherited from Enum

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public TypeCode GetTypeCode()` [#](#method-gettypecode) 

Inherited from Enum

Returns

 `TypeCode` 

 `public bool HasFlag(Enum flag)` [#](#method-hasflag-enum) 

Inherited from Enum

Parameters

**flag Enum required**

Returns

 `bool` 

 ToString 4 overloads 

 `public override string ToString()` [#](#method-tostring) 

Inherited from Enum

Returns

 `string` 

 `public string ToString(string? format)` [#](#method-tostring-string) 

Inherited from Enum

Parameters

**format string? required**

Returns

 `string` 

 `public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString() instead.")` 

Parameters

**provider IFormatProvider? required**

Returns

 `string` 

 `public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString(String) instead.")` 

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

 `string` 

## Values

 `public const ChartSankeyNodeOrder Auto` [#](#field-auto) 

[ChartSankeyOptions.cs:162](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartSankeyOptions.cs#L162)

Uses bounded weighted ordering passes to reduce link crossings.

Value: `0`

 `public const ChartSankeyNodeOrder Input` [#](#field-input) 

[ChartSankeyOptions.cs:164](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartSankeyOptions.cs#L164)

Retains authored input order within each layer.

Value: `1`

 `public const ChartSankeyNodeOrder LabelAscending` [#](#field-labelascending) 

[ChartSankeyOptions.cs:166](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartSankeyOptions.cs#L166)

Orders display labels using ordinal ascending comparison, retaining input order for ties.

Value: `2`

 `public const ChartSankeyNodeOrder LabelDescending` [#](#field-labeldescending) 

[ChartSankeyOptions.cs:168](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartSankeyOptions.cs#L168)

Orders display labels using ordinal descending comparison, retaining input order for ties.

Value: `3`

<!-- PowerForge markdown artifact sha256:5BB92740A93B90FCC5C1F669DA8FEEFB899CB8F6BA229AE041F2325BF71E76C4 -->
