# TopologyLayoutEdgeLabelDiagnostic

Describes one placed edge label and how far it sits from the route it names.

 Class  

`ChartForgeX.Topology`

**Namespace**

`ChartForgeX.Topology`

**Assembly**

`ChartForgeX`

**Source**

[TopologyLayoutRouteDiagnostics.cs:52](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyLayoutRouteDiagnostics.cs#L52)

**Modifiers**

sealed

Describes one placed edge label and how far it sits from the route it names.

## Inheritance

- object
- TopologyLayoutEdgeLabelDiagnostic

## Usage

 Explore 1 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 1

- Property [TopologyLayoutDiagnosticReport.EdgeLabels](/api/chartforgex-topology-topologylayoutdiagnosticreport/#property-edgelabels)

 Filter members   

    Show inherited   

 

## Inherited Methods

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

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

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

Inherited from object

Returns

 `int` 

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

Inherited from object

Returns

 `Type` 

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

Inherited from object

Returns

 `string?` 

## Properties

 `public string EdgeId { get; }` [#](#property-edgeid) 

[TopologyLayoutRouteDiagnostics.cs:52](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyLayoutRouteDiagnostics.cs#L52)

Gets the edge id.

 `public ChartRect Bounds { get; }` [#](#property-bounds) 

[TopologyLayoutRouteDiagnostics.cs:54](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyLayoutRouteDiagnostics.cs#L54)

Gets the label bounds.

 `public double RouteDistance { get; }` [#](#property-routedistance) 

[TopologyLayoutRouteDiagnostics.cs:56](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyLayoutRouteDiagnostics.cs#L56)

Gets the shortest distance, in pixels, from the label to its route; zero when the label sits on it.

<!-- PowerForge markdown artifact sha256:C591D7F309AE37072A0A840479B62F616693857DF9AEEBDEE1A11DCC614D1E67 -->
