# MermaidWardleyLink

Describes a parsed Wardley dependency link.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidWardleyDocument.cs:96](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidWardleyDocument.cs#L96)

**Modifiers**

sealed

Describes a parsed Wardley dependency link.

## Inheritance

- object
- MermaidWardleyLink

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

 Filter members   

    Show inherited   

 

## Constructors

 `public MermaidWardleyLink(string from, string to, string label, bool dashed, VisualLinkDirection flow, MermaidSourceSpan span)` [#](#constructor-ctor-string-string-string-boolean-chartforgex-primitives-visuallinkdirection-chartforgex-mermaid-mermaidsourcespan) 

[MermaidWardleyDocument.cs:96](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidWardleyDocument.cs#L96)

Initializes a parsed Wardley dependency link.

Parameters

**from string required**

**to string required**

**label string required**

**dashed bool required**

**flow ChartForgeX.Primitives.VisualLinkDirection 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 From { get; }` [#](#property-from) 

[MermaidWardleyDocument.cs:106](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidWardleyDocument.cs#L106)

Gets the source node name.

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

[MermaidWardleyDocument.cs:109](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidWardleyDocument.cs#L109)

Gets the target node name.

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

[MermaidWardleyDocument.cs:112](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidWardleyDocument.cs#L112)

Gets the optional Mermaid link or flow label.

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

[MermaidWardleyDocument.cs:115](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidWardleyDocument.cs#L115)

Gets whether the dependency was declared as dashed.

 `public VisualLinkDirection Flow { get; }` [#](#property-flow) 

[MermaidWardleyDocument.cs:118](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidWardleyDocument.cs#L118)

Gets the optional Mermaid flow hint.

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

[MermaidWardleyDocument.cs:121](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidWardleyDocument.cs#L121)

Gets the source span for the link statement.

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