Skip to content
ChartForgeX

API Reference

Class

MermaidDiagramNote

Namespace ChartForgeX.Mermaid
Assembly ChartForgeX.Mermaid
Modifiers sealed

A visible diagram note, separate from the graph's semantic nodes.

Inheritance

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

Constructors

public MermaidDiagramNote(String text, String? nodeId, Boolean leftOfNode, MermaidSourceSpan span) #

Creates a note with its authored text, optional attachment, and source location.

Parameters

text System.String requiredposition: 0
nodeId System.String? requiredposition: 1
leftOfNode System.Boolean requiredposition: 2
span ChartForgeX.Mermaid.MermaidSourceSpan requiredposition: 3

Properties

public String Text { get; } #

Gets the visible note text, including authored line breaks.

public String? NodeId { get; } #

Gets the attached class or state id, or null for a floating note.

public Boolean LeftOfNode { get; } #

Gets whether an attached note is placed to the left of its node.