Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 47
Forks 2
NuGet downloads 75,067
Release ChartForgeX-v2.0.0
Language: HTML Updated: 2026-10-12

API Reference

Class

MermaidSequenceDocument

Namespace ChartForgeX.Mermaid
Assembly ChartForgeX.Mermaid
Modifiers sealed

Describes a Mermaid sequence diagram document.

Inheritance

Usage

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

Accepted by parameters 8

Constructors

public MermaidSequenceDocument() #

Properties

public List<MermaidRawStatement> Statements { get; } #

Gets raw sequence statements retained with source spans.

public List<MermaidSequenceParticipant> Participants { get; } #

Gets declared and inferred participants in source order.

public List<MermaidSequenceMessage> Messages { get; } #

Gets parsed sequence messages.

public List<MermaidSequenceNote> Notes { get; } #

Gets parsed sequence notes.

public List<MermaidSequenceActivation> Activations { get; } #

Gets parsed activation and deactivation statements.

public List<MermaidSequenceBlock> Blocks { get; } #

Gets parsed block control statements such as loop, alt, par, critical, rect, and end.

public MermaidSequenceAutonumber? Autonumber { get; set; } #

Gets parsed autonumber configuration, when present.

Extension Methods

public static Byte[] ToPng(MermaidSequenceDocument document, MermaidSequenceRenderOptions? options = null) #
Returns: Byte[]

Renders a Mermaid sequence document to static PNG through ChartForgeX sequence rendering.

Parameters

document ChartForgeX.Mermaid.MermaidSequenceDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidSequenceRenderOptions? = null optionalposition: 1
public static SequenceArtifact ToSequenceArtifact(MermaidSequenceDocument document, MermaidSequenceRenderOptions? options = null) #
Returns: SequenceArtifact

Converts a Mermaid sequence document into a product-neutral sequence artifact.

Parameters

document ChartForgeX.Mermaid.MermaidSequenceDocument requiredposition: 0
The parsed Mermaid sequence document.
options ChartForgeX.Mermaid.MermaidSequenceRenderOptions? = null optionalposition: 1
Optional conversion and rendering defaults.

Returns

A sequence artifact that can render static SVG and PNG previews.

public static String ToSvg(MermaidSequenceDocument document, MermaidSequenceRenderOptions? options = null) #
Returns: String

Renders a Mermaid sequence document to static SVG through ChartForgeX sequence rendering.

Parameters

document ChartForgeX.Mermaid.MermaidSequenceDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidSequenceRenderOptions? = null optionalposition: 1
public static VisualArtifact ToVisualArtifact(MermaidSequenceDocument document, MermaidSequenceRenderOptions? options = null) #
Returns: VisualArtifact

Wraps a Mermaid sequence document in a product-neutral visual artifact envelope backed by a sequence artifact.

Parameters

document ChartForgeX.Mermaid.MermaidSequenceDocument requiredposition: 0
The parsed Mermaid sequence document.
options ChartForgeX.Mermaid.MermaidSequenceRenderOptions? = null optionalposition: 1
Optional conversion and rendering defaults.

Returns

A visual artifact envelope.