# MermaidBlockEdge

Describes one Mermaid block edge. Review signatures, members, parameters, type relationships, and available reference details in ChartForgeX API reference.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidBlockDocument.cs:116](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockDocument.cs#L116)

**Modifiers**

sealed

Describes one Mermaid block edge.

## Inheritance

- object
- MermaidBlockEdge

## 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 [MermaidBlockDocument.Edges](/api/chartforgex-mermaid-mermaidblockdocument/#property-edges)

 Filter members   

    Show inherited   

 

## Constructors

 `public MermaidBlockEdge(string sourceId, string targetId, string label, bool directed, MermaidSourceSpan span)` [#](#constructor-ctor-string-string-string-boolean-chartforgex-mermaid-mermaidsourcespan) 

[MermaidBlockDocument.cs:116](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockDocument.cs#L116)

Initializes a block edge.

Parameters

**sourceId string required**

**targetId string required**

**label string required**

**directed bool 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 SourceId { get; set; }` [#](#property-sourceid) 

[MermaidBlockDocument.cs:104](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockDocument.cs#L104)

Gets or sets the source item id.

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

[MermaidBlockDocument.cs:107](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockDocument.cs#L107)

Gets or sets the target item id.

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

[MermaidBlockDocument.cs:110](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockDocument.cs#L110)

Gets or sets the optional edge label.

 `public bool Directed { get; }` [#](#property-directed) 

[MermaidBlockDocument.cs:113](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockDocument.cs#L113)

Gets whether the edge is directed.

 `public bool Visible { get; set; }` [#](#property-visible) 

[MermaidBlockDocument.cs:116](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockDocument.cs#L116)

Gets or sets whether the source connector is painted.

 `public ChartStrokeStyle? Stroke { get; set; }` [#](#property-stroke) 

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

Gets or sets captured native connector paint; null retains the default.

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

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

Gets the source span for the edge statement.

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