# MermaidFlowchartLinkStyle

Describes a Mermaid flowchart linkStyle declaration.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidFlowchartDocument.cs:320](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartDocument.cs#L320)

**Base**

`MermaidAstNode`

**Modifiers**

sealed

Describes a Mermaid flowchart linkStyle declaration.

## Inheritance

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

## Usage

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

- Property [MermaidFlowchartDocument.LinkStyles](/api/chartforgex-mermaid-mermaidflowchartdocument/#property-linkstyles)
- Property [MermaidSwimlaneDocument.LinkStyles](/api/chartforgex-mermaid-mermaidswimlanedocument/#property-linkstyles)
- Property [MermaidUseCaseDocument.LinkStyles](/api/chartforgex-mermaid-mermaidusecasedocument/#property-linkstyles)

 Filter members   

    Show inherited   

 

## Constructors

 `public MermaidFlowchartLinkStyle(string selector, MermaidSourceSpan span)` [#](#constructor-ctor-string-chartforgex-mermaid-mermaidsourcespan) 

[MermaidFlowchartDocument.cs:320](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartDocument.cs#L320)

Initializes a parsed link style declaration.

Parameters

**selector string 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? Interpolation { get; set; }` [#](#property-interpolation) 

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

Gets or sets the raw optional source interpolation token, independent of paint declarations.

 `public string Selector { get; set; }` [#](#property-selector) 

[MermaidFlowchartDocument.cs:317](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartDocument.cs#L317)

Gets or sets the raw Mermaid linkStyle selector, such as an edge index or default.

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

[MermaidFlowchartDocument.cs:320](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartDocument.cs#L320)

Gets style declarations for selected links.

## 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:1D104BE825C65AB579A1150DB7AE03FABD87939FBC8798D1195B7F16B0DDB018 -->
