Skip to content
ChartForgeX
Class

MermaidZenUmlDocument

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
sealed

A ZenUML occurrence tree; expressions are inert display data, never executable instructions.

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 MermaidZenUmlDocument() #

Properties

public string? Title { get; set; } #

Gets or sets the source title.

public string? StarterId { get; set; } #

Gets or sets the initiating participant; null retains an external caller for unqualified root calls.

public List<MermaidZenUmlParticipant> Participants { get; } #

Gets declared and inferred participants in first-reference order.

public List<MermaidZenUmlParticipantGroup> ParticipantGroups { get; } #

Gets non-overlapping groups of contiguous participant declarations.

public List<MermaidZenUmlStatement> Statements { get; } #

Gets source-ordered statements, including nested occurrence and branch bodies.

Extension Methods

public static byte[] ToPng(MermaidZenUmlDocument document, MermaidSequenceRenderOptions? options = null) #

Exports that same completed native sequence as PNG.

Parameters

document ChartForgeX.Mermaid.MermaidZenUmlDocument required
options ChartForgeX.Mermaid.MermaidSequenceRenderOptions? = null optional

Returns

byte[]
public static SequenceArtifact ToSequenceArtifact(MermaidZenUmlDocument document, MermaidSequenceRenderOptions? options = null) #

Creates a sequence retaining caller identities, occurrence activations, return directions, branches and participant creation.

Parameters

document ChartForgeX.Mermaid.MermaidZenUmlDocument required
options ChartForgeX.Mermaid.MermaidSequenceRenderOptions? = null optional
public static string ToSvg(MermaidZenUmlDocument document, MermaidSequenceRenderOptions? options = null) #

Exports the native sequence as script-free SVG.

Parameters

document ChartForgeX.Mermaid.MermaidZenUmlDocument required
options ChartForgeX.Mermaid.MermaidSequenceRenderOptions? = null optional

Returns

string
public static VisualArtifact ToVisualArtifact(MermaidZenUmlDocument document, MermaidSequenceRenderOptions? options = null) #

Creates one native sequence-backed SVG/PNG/HTML/JSON artifact without running ZenUML code.

Parameters

document ChartForgeX.Mermaid.MermaidZenUmlDocument required
options ChartForgeX.Mermaid.MermaidSequenceRenderOptions? = null optional