# GraphSceneEdge

Describes a graph edge independently from renderer-specific line geometry.

 Class  

`ChartForgeX.Interactivity`

**Namespace**

`ChartForgeX.Interactivity`

**Assembly**

`ChartForgeX.Interactivity`

**Source**

[GraphSceneEdge.cs:9](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphSceneEdge.cs#L9)

**Modifiers**

sealed

Describes a graph edge independently from renderer-specific line geometry.

## Inheritance

- object
- GraphSceneEdge

## Usage

 Explore 4 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 2

- Property [GraphScene.Edges](/api/chartforgex-interactivity-graphscene/#property-edges)
- Property [GraphScenePatch.UpsertEdges](/api/chartforgex-interactivity-graphscenepatch/#property-upsertedges)

### Accepted by parameters 2

- Extension method [GraphScene.AddEdge](/api/chartforgex-interactivity-graphscene/#extension-addedge-chartforgex-interactivity-graphscene-string-string-string-string-action-chartforgex-interactivity-graphsceneedge) parameter `configure`
- Method [GraphSceneExtensions.AddEdge](/api/chartforgex-interactivity-graphsceneextensions/#method-addedge-chartforgex-interactivity-graphscene-string-string-string-string-action-chartforgex-interactivity-graphsceneedge) parameter `configure`

 Filter members   

    Show inherited   

 

## Constructors

 `public GraphSceneEdge()` [#](#constructor-ctor) 

[GraphSceneEdge.cs:9](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphSceneEdge.cs#L9)

## 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 Id { get; set; }` [#](#property-id) 

[GraphSceneEdge.cs:16](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphSceneEdge.cs#L16)

Gets or sets the stable edge identifier.

 `public string SourceNodeId { get; set; }` [#](#property-sourcenodeid) 

[GraphSceneEdge.cs:19](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphSceneEdge.cs#L19)

Gets or sets the source node id.

 `public string TargetNodeId { get; set; }` [#](#property-targetnodeid) 

[GraphSceneEdge.cs:22](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphSceneEdge.cs#L22)

Gets or sets the target node id.

 `public string? Label { get; set; }` [#](#property-label) 

[GraphSceneEdge.cs:25](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphSceneEdge.cs#L25)

Gets or sets an optional relationship label.

 `public string? Kind { get; set; }` [#](#property-kind) 

[GraphSceneEdge.cs:28](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphSceneEdge.cs#L28)

Gets or sets an optional product-neutral edge kind such as dependency, ownership, authentication, or dataflow.

 `public string? Status { get; set; }` [#](#property-status) 

[GraphSceneEdge.cs:31](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphSceneEdge.cs#L31)

Gets or sets an optional semantic status such as healthy, warning, critical, unknown, or muted.

 `public double Weight { get; set; }` [#](#property-weight) 

[GraphSceneEdge.cs:34](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphSceneEdge.cs#L34)

Gets or sets the relationship weight used by physics and clustering adapters.

 `public double Length { get; set; }` [#](#property-length) 

[GraphSceneEdge.cs:37](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphSceneEdge.cs#L37)

Gets or sets the preferred spring length for physics adapters. A value of zero lets the active profile decide.

 `public bool Directed { get; set; }` [#](#property-directed) 

[GraphSceneEdge.cs:40](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphSceneEdge.cs#L40)

Gets or sets whether adapters should render a directional arrow toward the target node.

 `public bool LayoutDirected { get; set; }` [#](#property-layoutdirected) 

[GraphSceneEdge.cs:43](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphSceneEdge.cs#L43)

Gets or sets whether hierarchical layout inference should follow source-to-target order without requiring a rendered arrow.

 `public bool SourceArrow { get; set; }` [#](#property-sourcearrow) 

[GraphSceneEdge.cs:46](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphSceneEdge.cs#L46)

Gets or sets whether adapters should render a directional arrow at the source node.

 `public bool TargetArrow { get; set; }` [#](#property-targetarrow) 

[GraphSceneEdge.cs:49](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphSceneEdge.cs#L49)

Gets or sets whether adapters should render a directional arrow at the target node. When unset, [GraphSceneEdge.Directed](/api/chartforgex-interactivity-graphsceneedge/) keeps its target-arrow compatibility behavior.

 `public bool MiddleArrow { get; set; }` [#](#property-middlearrow) 

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

Gets or sets whether adapters should render a directional arrow halfway along the edge, pointing toward the target.

 `public string? Tooltip { get; set; }` [#](#property-tooltip) 

[GraphSceneEdge.cs:55](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphSceneEdge.cs#L55)

Gets or sets optional plain text shown when the pointer rests on the edge. Line breaks start new lines.

 `public GraphEdgeShape Shape { get; set; }` [#](#property-shape) 

[GraphSceneEdge.cs:58](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphSceneEdge.cs#L58)

Gets or sets the preferred edge geometry used by adapters that support richer graph lines.

 `public double Curvature { get; set; }` [#](#property-curvature) 

[GraphSceneEdge.cs:61](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphSceneEdge.cs#L61)

Gets or sets the curve offset in scene units for curved edge rendering.

 `public bool Dashed { get; set; }` [#](#property-dashed) 

[GraphSceneEdge.cs:64](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphSceneEdge.cs#L64)

Gets or sets whether adapters should draw the edge with a dashed stroke.

 `public bool ShowLabel { get; set; }` [#](#property-showlabel) 

[GraphSceneEdge.cs:67](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphSceneEdge.cs#L67)

Gets or sets whether adapters should draw the relationship label when labels are enabled.

 `public GraphEdgeStyle Style { get; }` [#](#property-style) 

[GraphSceneEdge.cs:70](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphSceneEdge.cs#L70)

Gets reusable edge styling hints for adapters that support richer graph lines.

 `public List<GraphScenePoint> RoutePoints { get; }` [#](#property-routepoints) 

[GraphSceneEdge.cs:73](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphSceneEdge.cs#L73)

Gets optional prepared route points for adapters that can render deterministic polylines.

 `public Dictionary<string, string> Metadata { get; }` [#](#property-metadata) 

[GraphSceneEdge.cs:76](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphSceneEdge.cs#L76)

Gets arbitrary edge metadata for search, tooltips, inspectors, and host event payloads.

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