MermaidEventModelingDocument
ChartForgeX.Mermaid
Describes a parsed Mermaid Event Modeling diagram.
Inheritance
- MermaidDocument
- MermaidEventModelingDocument
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
- Extension method MermaidEventModelingDocument.ToDataTable
- Extension method MermaidEventModelingDocument.ToPng
- Extension method MermaidEventModelingDocument.ToSvg
- Extension method MermaidEventModelingDocument.ToTopologyChart
- Extension method MermaidEventModelingDocument.ToVisualArtifact
- Method MermaidEventModelingRendering.ToDataTable
- Method MermaidEventModelingRendering.ToPng
- Method MermaidEventModelingRendering.ToSvg
- Method MermaidEventModelingRendering.ToTopologyChart
- Method MermaidEventModelingRendering.ToVisualArtifact
Constructors
public MermaidEventModelingDocument() #Inherited Methods
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.
Inherited Properties
public MermaidSourceSpan HeaderSpan { get; set; } #public VisualAccessibility Accessibility { get; } #public MermaidSourceConfiguration Configuration { get; internal set; } #public List<MermaidDirective> Directives { get; } #public List<MermaidRawStatement> RawStatements { get; } #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
- The source timeline and data declarations.
- frameNumber string
- The exact authored frame identity, including leading zeroes.
public static byte[] ToPng(MermaidEventModelingDocument document, MermaidTopologyRenderOptions? options = null) #Renders an Event Modeling document to static PNG.
Parameters
- document ChartForgeX.Mermaid.MermaidEventModelingDocument
- options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null
Returns
byte[]public static string ToSvg(MermaidEventModelingDocument document, MermaidTopologyRenderOptions? options = null) #Renders an Event Modeling document to static SVG.
Parameters
- document ChartForgeX.Mermaid.MermaidEventModelingDocument
- options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null
Returns
stringpublic 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
- options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null
Returns
TopologyChartpublic 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
- options ChartForgeX.Mermaid.MermaidTopologyRenderOptions? = null
Returns
VisualArtifact