# MermaidFlowchartEdge

Describes a Mermaid flowchart 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**

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

**Base**

`MermaidAstNode`

**Modifiers**

sealed

Describes a Mermaid flowchart edge.

## Inheritance

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

## Usage

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

- Property [MermaidCynefinDocument.Transitions](/api/chartforgex-mermaid-mermaidcynefindocument/#property-transitions)
- Property [MermaidFlowchartDocument.Edges](/api/chartforgex-mermaid-mermaidflowchartdocument/#property-edges)
- Property [MermaidSwimlaneDocument.Edges](/api/chartforgex-mermaid-mermaidswimlanedocument/#property-edges)
- Property [MermaidUseCaseDocument.Edges](/api/chartforgex-mermaid-mermaidusecasedocument/#property-edges)

 Filter members   

    Show inherited   

 

## Constructors

 `public MermaidFlowchartEdge(string sourceId, string targetId, string edgeOperator, MermaidSourceSpan span)` [#](#constructor-ctor-string-string-string-chartforgex-mermaid-mermaidsourcespan) 

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

Initializes a parsed flowchart edge.

Parameters

**sourceId string required**

**targetId string required**

**edgeOperator 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 Dictionary<string, string> Properties { get; }` [#](#property-properties) 

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

Gets inert authored metadata values for this existing edge identity.

 `public Dictionary<string, MermaidSourceSpan> PropertySpans { get; }` [#](#property-propertyspans) 

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

Gets original per-property source spans.

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

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

Gets the exact authored scalar tokens, including quote spelling.

 `public string? Id { get; set; }` [#](#property-id) 

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

Gets or sets an optional authored edge identity. Null retains its source-order generated native identity.

 `public List<string> Classes { get; }` [#](#property-classes) 

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

Gets class names assigned to this association.

 `public string SourceId { get; set; }` [#](#property-sourceid) 

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

Gets or sets the source node identifier.

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

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

Gets or sets the target node identifier.

 `public string Operator { get; set; }` [#](#property-operator) 

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

Gets or sets the raw Mermaid edge operator segment.

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

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

Gets or sets the optional edge label.

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

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

Gets style declarations assigned directly or through the family's class/linkStyle syntax.

## 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:199BCC55A5CBFD7EA9277D938BA1D9BA30C66952DC17DF2699F1DA278BF9C9E9 -->
