# TopologyEdgePort

Describes a preferred edge attachment side on a topology node.

 Enum  

`ChartForgeX.Topology`

**Namespace**

`ChartForgeX.Topology`

**Assembly**

`ChartForgeX`

**Source**

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

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Describes a preferred edge attachment side on a topology node.

## Inheritance

- Enum
- TopologyEdgePort

## Usage

 Explore 20 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 12

- Property [TopologyEdge.SourcePort](/api/chartforgex-topology-topologyedge/#property-sourceport)
- Property [TopologyEdge.TargetPort](/api/chartforgex-topology-topologyedge/#property-targetport)
- Field [TopologyEdgePort.Auto](/api/chartforgex-topology-topologyedgeport/#field-auto)
- Field [TopologyEdgePort.Bottom](/api/chartforgex-topology-topologyedgeport/#field-bottom)
- Field [TopologyEdgePort.Left](/api/chartforgex-topology-topologyedgeport/#field-left)
- Field [TopologyEdgePort.Right](/api/chartforgex-topology-topologyedgeport/#field-right)
- Field [TopologyEdgePort.Top](/api/chartforgex-topology-topologyedgeport/#field-top)
- Property [TopologyLayoutPortDiagnostic.Side](/api/chartforgex-topology-topologylayoutportdiagnostic/#property-side)
- Property [TopologyNodePort.Side](/api/chartforgex-topology-topologynodeport/#property-side)
- Property [VisualArtifactInterchangePort.Side](/api/chartforgex-visualartifacts-visualartifactinterchangeport/#property-side)
- Property [VisualArtifactInterchangeTopologyEdge.SourcePort](/api/chartforgex-visualartifacts-visualartifactinterchangetopologyedge/#property-sourceport)
- Property [VisualArtifactInterchangeTopologyEdge.TargetPort](/api/chartforgex-visualartifacts-visualartifactinterchangetopologyedge/#property-targetport)

### Accepted by parameters 8

- Extension method [TopologyChart.AddNodePort](/api/chartforgex-topology-topologychart/#extension-addnodeport-chartforgex-topology-topologychart-string-string-chartforgex-topology-topologyedgeport-double-string) parameter `side`
- Method [TopologyChartExtensions.AddNodePort](/api/chartforgex-topology-topologychartextensions/#method-addnodeport-chartforgex-topology-topologychart-string-string-chartforgex-topology-topologyedgeport-double-string) parameter `side`
- Extension method [TopologyEdge.SourcePort](/api/chartforgex-topology-topologyedge/#extension-sourceport-chartforgex-topology-topologyedge-chartforgex-topology-topologyedgeport) parameter `value`
- Extension method [TopologyEdge.TargetPort](/api/chartforgex-topology-topologyedge/#extension-targetport-chartforgex-topology-topologyedge-chartforgex-topology-topologyedgeport) parameter `value`
- Method [TopologyEdgeFluent.SourcePort](/api/chartforgex-topology-topologyedgefluent/#method-sourceport-chartforgex-topology-topologyedge-chartforgex-topology-topologyedgeport) parameter `value`
- Method [TopologyEdgeFluent.TargetPort](/api/chartforgex-topology-topologyedgefluent/#method-targetport-chartforgex-topology-topologyedge-chartforgex-topology-topologyedgeport) parameter `value`
- Extension method [TopologyNodePort.Side](/api/chartforgex-topology-topologynodeport/#extension-side-chartforgex-topology-topologynodeport-chartforgex-topology-topologyedgeport) parameter `value`
- Method [TopologyNodePortFluent.Side](/api/chartforgex-topology-topologynodeportfluent/#method-side-chartforgex-topology-topologynodeport-chartforgex-topology-topologyedgeport) 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 TopologyEdgePort Auto` [#](#field-auto) 

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

Choose the attachment side from node positions.

Value: `0`

 `public const TopologyEdgePort Top` [#](#field-top) 

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

Attach to the top side of the node.

Value: `1`

 `public const TopologyEdgePort Right` [#](#field-right) 

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

Attach to the right side of the node.

Value: `2`

 `public const TopologyEdgePort Bottom` [#](#field-bottom) 

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

Attach to the bottom side of the node.

Value: `3`

 `public const TopologyEdgePort Left` [#](#field-left) 

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

Attach to the left side of the node.

Value: `4`

<!-- PowerForge markdown artifact sha256:8FEE0F9E79614F6776D0596874FD9F1F7FA1D506F35108235DFD72C1E404226E -->
