# ChartFlowLink

Represents one weighted directed flow between authored node IDs.

 Struct  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

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

**Base**

`ValueType`

**Modifiers**

sealed

Represents one weighted directed flow between authored node IDs.

## Inheritance

- ValueType
- ChartFlowLink

## Usage

 Explore 6 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 [ChartSeries.FlowLinks](/api/chartforgex-core-chartseries/#property-flowlinks)

### Accepted by parameters 5

- Method [Chart.AddChord](/api/chartforgex-core-chart/#method-addchord-string-collections-generic-ienumerable-chartforgex-core-chartnode-collections-generic-ienumerable-chartforgex-core-chartflowlink-nullable-chartforgex-primitives-chartcolor) parameter `links`
- Method [Chart.AddSankey](/api/chartforgex-core-chart/#method-addsankey-string-collections-generic-ienumerable-chartforgex-core-chartnode-collections-generic-ienumerable-chartforgex-core-chartflowlink-nullable-chartforgex-primitives-chartcolor) parameter `links`
- Method [ChartSeries.CreateChord](/api/chartforgex-core-chartseries/#method-createchord-chartforgex-core-chartseriesid-string-collections-generic-ienumerable-chartforgex-core-chartnode-collections-generic-ienumerable-chartforgex-core-chartflowlink-nullable-chartforgex-primitives-chartcolor) parameter `links`
- Method [ChartSeries.CreateSankey](/api/chartforgex-core-chartseries/#method-createsankey-chartforgex-core-chartseriesid-string-collections-generic-ienumerable-chartforgex-core-chartnode-collections-generic-ienumerable-chartforgex-core-chartflowlink-nullable-chartforgex-primitives-chartcolor) parameter `links`
- Method [ChartSeries.ReplaceFlowData](/api/chartforgex-core-chartseries/#method-replaceflowdata-collections-generic-ienumerable-chartforgex-core-chartnode-collections-generic-ienumerable-chartforgex-core-chartflowlink) parameter `links`

 Filter members   

    Show inherited   

 

## Constructors

 ChartFlowLink 2 overloads 

 `public ChartFlowLink(string id, string sourceId, string targetId, double value)` [#](#constructor-ctor-string-string-string-double) 

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

Initializes a directed flow with an explicit identity and node references.

Parameters

**id string required**

**sourceId string required**

**targetId string required**

**value double required**

 `public ChartFlowLink(string id, string sourceId, string targetId, double value, double? colorValue)` [#](#constructor-ctor-string-string-string-double-nullable-system-double) 

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

Initializes a directed flow with an independent finite color measurement.

Parameters

**id string required**

The stable authored flow ID.

**sourceId string required**

The source node ID.

**targetId string required**

The target node ID.

**value double required**

The non-negative flow weight.

**colorValue double? required**

The independent signed color measurement, or null for missing data.

## Inherited Methods

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

Inherited from ValueType

Parameters

**obj object? required**

Returns

 `bool` 

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

Inherited from ValueType

Returns

 `int` 

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

Inherited from object

Returns

 `Type` 

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

Inherited from ValueType

Returns

 `string?` 

## Properties

 `public string Id { get; }` [#](#property-id) 

[ChartFlowLink.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartFlowLink.cs#L12)

Gets the authored flow ID. Parallel flows have distinct IDs.

 `public string SourceId { get; }` [#](#property-sourceid) 

[ChartFlowLink.cs:17](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartFlowLink.cs#L17)

Gets the source node ID.

 `public string TargetId { get; }` [#](#property-targetid) 

[ChartFlowLink.cs:20](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartFlowLink.cs#L20)

Gets the target node ID.

 `public double Value { get; }` [#](#property-value) 

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

Gets the non-negative raw flow value. Individual chart families may require positive values.

 `public double? ColorValue { get; }` [#](#property-colorvalue) 

[ChartFlowLink.cs:29](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartFlowLink.cs#L29)

Gets an independent signed quantitative color measurement, or null for missing color data.

<!-- PowerForge markdown artifact sha256:478A3E3544E8889B686429A20B08922EA0282DCF672C973C57B28950776C62F2 -->
