Skip to content
ChartForgeX
Class

MermaidEventModelingDocument

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
sealed

Describes a parsed Mermaid Event Modeling diagram.

Inheritance

Usage

Explore 11 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 10

Constructors

public MermaidEventModelingDocument() #

Properties

public string? Title { get; set; } #

Gets or sets the authored diagram title.

public List<MermaidRawStatement> Statements { get; } #

Gets retained non-empty Event Modeling statements.

public List<MermaidEventModelingFrame> Frames { get; } #

Gets parsed timeframe and reset-frame entries in source order.

public List<MermaidEventModelingDataBlock> DataBlocks { get; } #

Gets parsed data blocks keyed by their Mermaid identifier.

public List<MermaidEventModelingRelation> Relations { get; } #

Gets inferred and explicit timeframe relations in render order.

Extension Methods

public static TableArtifact ToDataTable(MermaidEventModelingDocument document, string frameNumber) #

Converts a frame's inline and/or referenced data to one detached typed-fact table.

Parameters

document ChartForgeX.Mermaid.MermaidEventModelingDocument required
The source timeline and data declarations.
frameNumber string required
The exact authored frame identity, including leading zeroes.

Returns

TableArtifact Existing table facts; an empty table when the frame has no data.
public static byte[] ToPng(MermaidEventModelingDocument document, MermaidTopologyRenderOptions? options = null) #

Renders an Event Modeling document to static PNG.

Parameters

document ChartForgeX.Mermaid.MermaidEventModelingDocument required
options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optional

Returns

byte[]
public static string ToSvg(MermaidEventModelingDocument document, MermaidTopologyRenderOptions? options = null) #

Renders an Event Modeling document to static SVG.

Parameters

document ChartForgeX.Mermaid.MermaidEventModelingDocument required
options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optional

Returns

string
public static TopologyChart ToTopologyChart(MermaidEventModelingDocument document, MermaidTopologyRenderOptions? options = null) #

Converts a timeline to shared swimlane ranks without changing source identities or inferring domain calculations.

Parameters

document ChartForgeX.Mermaid.MermaidEventModelingDocument required
options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optional
public static VisualArtifact ToVisualArtifact(MermaidEventModelingDocument document, MermaidTopologyRenderOptions? options = null) #

Creates a portable native topology artifact and preserves captured source export limits.

Parameters

document ChartForgeX.Mermaid.MermaidEventModelingDocument required
options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null optional