# TopologyEdgeRouting

Describes edge path routing. Review signatures, members, parameters, type relationships, and available reference details in ChartForgeX API reference.

 Enum  

`ChartForgeX.Topology`

**Namespace**

`ChartForgeX.Topology`

**Assembly**

`ChartForgeX`

**Source**

[TopologyEnums.cs:459](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyEnums.cs#L459)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Describes edge path routing.

## Inheritance

- Enum
- TopologyEdgeRouting

## Usage

 Explore 13 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 9

- Property [MarkupTopologyEdge.Routing](/api/chartforgex-markup-markuptopologyedge/#property-routing)
- Property [TopologyEdge.Routing](/api/chartforgex-topology-topologyedge/#property-routing)
- Field [TopologyEdgeRouting.Curved](/api/chartforgex-topology-topologyedgerouting/#field-curved)
- Field [TopologyEdgeRouting.ObstacleAvoidingOrthogonal](/api/chartforgex-topology-topologyedgerouting/#field-obstacleavoidingorthogonal)
- Field [TopologyEdgeRouting.Orthogonal](/api/chartforgex-topology-topologyedgerouting/#field-orthogonal)
- Field [TopologyEdgeRouting.Straight](/api/chartforgex-topology-topologyedgerouting/#field-straight)
- Property [TopologyHierarchyOptions.EdgeRouting](/api/chartforgex-topology-topologyhierarchyoptions/#property-edgerouting)
- Property [TopologyMindMapOptions.EdgeRouting](/api/chartforgex-topology-topologymindmapoptions/#property-edgerouting)
- Property [VisualArtifactInterchangeTopologyEdge.Routing](/api/chartforgex-visualartifacts-visualartifactinterchangetopologyedge/#property-routing)

### Accepted by parameters 4

- Extension method [TopologyChart.AddEdge](/api/chartforgex-topology-topologychart/#extension-addedge-chartforgex-topology-topologychart-string-string-string-string-chartforgex-topology-topologyedgekind-chartforgex-topology-topologyhealthstatus-chartforgex-primitives-visuallinkdirection-chartforgex-topology-topologyedgerouting-string-string-string-string-string-nullable-chartforgex-primitives-chartcolor) parameter `routing`
- Method [TopologyChartExtensions.AddEdge](/api/chartforgex-topology-topologychartextensions/#method-addedge-chartforgex-topology-topologychart-string-string-string-string-chartforgex-topology-topologyedgekind-chartforgex-topology-topologyhealthstatus-chartforgex-primitives-visuallinkdirection-chartforgex-topology-topologyedgerouting-string-string-string-string-string-nullable-chartforgex-primitives-chartcolor) parameter `routing`
- Extension method [TopologyEdge.Routing](/api/chartforgex-topology-topologyedge/#extension-routing-chartforgex-topology-topologyedge-chartforgex-topology-topologyedgerouting) parameter `value`
- Method [TopologyEdgeFluent.Routing](/api/chartforgex-topology-topologyedgefluent/#method-routing-chartforgex-topology-topologyedge-chartforgex-topology-topologyedgerouting) 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 TopologyEdgeRouting Straight` [#](#field-straight) 

[TopologyEnums.cs:461](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyEnums.cs#L461)

Route edges as straight lines.

Value: `0`

 `public const TopologyEdgeRouting Curved` [#](#field-curved) 

[TopologyEnums.cs:463](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyEnums.cs#L463)

Route edges as cubic curves.

Value: `1`

 `public const TopologyEdgeRouting Orthogonal` [#](#field-orthogonal) 

[TopologyEnums.cs:465](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyEnums.cs#L465)

Route edges as orthogonal paths.

Value: `2`

 `public const TopologyEdgeRouting ObstacleAvoidingOrthogonal` [#](#field-obstacleavoidingorthogonal) 

[TopologyEnums.cs:467](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyEnums.cs#L467)

Route edges as deterministic orthogonal paths that prefer lanes avoiding nearby topology obstacles.

Value: `3`

<!-- PowerForge markdown artifact sha256:74A9721C9875C00CACC4E2B6C1F6AEE7FF50E9C3C260C6B4BAC70978D7F51B98 -->
