# VisNetworkEdge

Describes a vis-network-style edge before conversion to GraphSceneEdge.

 Class  

`ChartForgeX.Interactivity`

**Namespace**

`ChartForgeX.Interactivity`

**Assembly**

`ChartForgeX.Interactivity`

**Source**

[VisNetworkCompat.cs:294](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkCompat.cs#L294)

**Modifiers**

sealed

Describes a vis-network-style edge before conversion to [GraphSceneEdge](/api/chartforgex-interactivity-graphsceneedge/).

## Inheritance

- object
- VisNetworkEdge

## Usage

 Explore 2 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 [VisNetworkGraph.Edges](/api/chartforgex-interactivity-visnetworkgraph/#property-edges)

### Accepted by parameters 1

- Method [VisNetworkGraph.AddEdge](/api/chartforgex-interactivity-visnetworkgraph/#method-addedge-string-string-string-string-action-chartforgex-interactivity-visnetworkedge) parameter `configure`

 Filter members   

    Show inherited   

 

## Constructors

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

[VisNetworkCompat.cs:294](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkCompat.cs#L294)

## 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) 

[VisNetworkCompat.cs:294](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkCompat.cs#L294)

Gets or sets the edge id.

 `public string From { get; set; }` [#](#property-from) 

[VisNetworkCompat.cs:297](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkCompat.cs#L297)

Gets or sets the source node id, matching vis-network's from field.

 `public string To { get; set; }` [#](#property-to) 

[VisNetworkCompat.cs:300](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkCompat.cs#L300)

Gets or sets the target node id, matching vis-network's to field.

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

[VisNetworkCompat.cs:303](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkCompat.cs#L303)

Gets or sets the optional edge label.

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

[VisNetworkCompat.cs:306](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkCompat.cs#L306)

Gets or sets the optional edge kind.

 `public bool ArrowsTo { get; set; }` [#](#property-arrowsto) 

[VisNetworkCompat.cs:309](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkCompat.cs#L309)

Gets or sets whether the edge should show an arrow at the target side.

 `public bool ArrowsFrom { get; set; }` [#](#property-arrowsfrom) 

[VisNetworkCompat.cs:312](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkCompat.cs#L312)

Gets or sets whether the edge should show an arrow at the source side.

 `public bool ArrowsMiddle { get; set; }` [#](#property-arrowsmiddle) 

[VisNetworkCompat.cs:315](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkCompat.cs#L315)

Gets or sets whether the edge should show a middle arrow pointing toward the target.

 `public bool Dashes { get; set; }` [#](#property-dashes) 

[VisNetworkCompat.cs:318](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkCompat.cs#L318)

Gets or sets whether the edge is dashed.

 `public VisNetworkSmoothType Smooth { get; set; }` [#](#property-smooth) 

[VisNetworkCompat.cs:321](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkCompat.cs#L321)

Gets or sets optional smooth edge behavior.

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

[VisNetworkCompat.cs:324](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkCompat.cs#L324)

Gets or sets optional spring length.

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

[VisNetworkCompat.cs:327](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkCompat.cs#L327)

Gets edge style hints.

<!-- PowerForge markdown artifact sha256:31F053767FD00D657964313DEF026224C707F2B9F023F36B4507D35EDB7A67C3 -->
