# WardleyMapLink

Describes a dependency link between Wardley map nodes.

 Class  

`ChartForgeX.VisualBlocks`

**Namespace**

`ChartForgeX.VisualBlocks`

**Assembly**

`ChartForgeX`

**Source**

[WardleyMapBlock.cs:207](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/WardleyMapBlock.cs#L207)

**Modifiers**

sealed

Describes a dependency link between Wardley map nodes.

## Inheritance

- object
- WardleyMapLink

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

- Method [WardleyMapBlock.AddLink](/api/chartforgex-visualblocks-wardleymapblock/#method-addlink-string-string-string-boolean-chartforgex-primitives-visuallinkdirection)
- Property [WardleyMapBlock.Links](/api/chartforgex-visualblocks-wardleymapblock/#property-links)

 Filter members   

    Show inherited   

 

## Constructors

 `public WardleyMapLink(string fromId, string toId, string label, bool dashed, VisualLinkDirection flow)` [#](#constructor-ctor-string-string-string-boolean-chartforgex-primitives-visuallinkdirection) 

[WardleyMapBlock.cs:207](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/WardleyMapBlock.cs#L207)

Initializes a Wardley map dependency link.

Parameters

**fromId string required**

**toId string required**

**label string required**

**dashed bool required**

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

[WardleyMapBlock.cs:216](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/WardleyMapBlock.cs#L216)

Gets the source node id.

 `public string ToId { get; }` [#](#property-toid) 

[WardleyMapBlock.cs:219](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/WardleyMapBlock.cs#L219)

Gets the target node id.

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

[WardleyMapBlock.cs:222](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/WardleyMapBlock.cs#L222)

Gets the optional link label.

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

[WardleyMapBlock.cs:225](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/WardleyMapBlock.cs#L225)

Gets whether the link should render as a dashed dependency.

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

[WardleyMapBlock.cs:228](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/WardleyMapBlock.cs#L228)

Gets the optional flow hint.

<!-- PowerForge markdown artifact sha256:49D85B033F33E1B6EA64C92681CBE8BA08BB2C4E47C78245EA53804E5FC858A0 -->
