# MermaidSankeyLink

Describes one Mermaid Sankey CSV link row.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

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

**Base**

`MermaidAstNode`

**Modifiers**

sealed

Describes one Mermaid Sankey CSV link row.

## Inheritance

- [MermaidAstNode](/api/chartforgex-mermaid-mermaidastnode/)
- MermaidSankeyLink

## 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 [MermaidSankeyDocument.Links](/api/chartforgex-mermaid-mermaidsankeydocument/#property-links)

 Filter members   

    Show inherited   

 

## Constructors

 `public MermaidSankeyLink(string source, string target, double value, MermaidSourceSpan span)` [#](#constructor-ctor-string-string-double-chartforgex-mermaid-mermaidsourcespan) 

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

Initializes a Mermaid Sankey link.

Parameters

**source string required**

**target string required**

**value double required**

**span ChartForgeX.Mermaid.MermaidSourceSpan required**

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

[MermaidSankeyDocument.cs:32](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidSankeyDocument.cs#L32)

Gets or sets the source node label.

 `public string Target { get; set; }` [#](#property-target) 

[MermaidSankeyDocument.cs:35](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidSankeyDocument.cs#L35)

Gets or sets the target node label.

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

[MermaidSankeyDocument.cs:38](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidSankeyDocument.cs#L38)

Gets or sets the positive link value.

## Inherited Properties

 `public MermaidSourceSpan Span { get; }` [#](#property-span) 

[MermaidAstNode.cs:13](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidAstNode.cs#L13)

Inherited from [MermaidAstNode](/api/chartforgex-mermaid-mermaidastnode/)

<!-- PowerForge markdown artifact sha256:7426EC8AA4C5A54E462C0A8E86F45BA7D4DB818653382CABC312F1676D1C9332 -->
