MermaidZenUmlDocument
ChartForgeX.Mermaid
A ZenUML occurrence tree; expressions are inert display data, never executable instructions.
Inheritance
- MermaidDocument
- MermaidZenUmlDocument
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
- Method MermaidParser.ParseZenUml
Accepted by parameters 8
- Extension method MermaidZenUmlDocument.ToPng
- Extension method MermaidZenUmlDocument.ToSequenceArtifact
- Extension method MermaidZenUmlDocument.ToSvg
- Extension method MermaidZenUmlDocument.ToVisualArtifact
- Method MermaidZenUmlRendering.ToPng
- Method MermaidZenUmlRendering.ToSequenceArtifact
- Method MermaidZenUmlRendering.ToSvg
- Method MermaidZenUmlRendering.ToVisualArtifact
Constructors
public MermaidZenUmlDocument() #Inherited Methods
Properties
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.
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 byte[] ToPng(MermaidZenUmlDocument document, MermaidSequenceRenderOptions? options = null) #Exports that same completed native sequence as PNG.
Parameters
- document ChartForgeX.Mermaid.MermaidZenUmlDocument
- options ChartForgeX.Mermaid.MermaidSequenceRenderOptions? = null
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
- options ChartForgeX.Mermaid.MermaidSequenceRenderOptions? = null
Returns
SequenceArtifactpublic static string ToSvg(MermaidZenUmlDocument document, MermaidSequenceRenderOptions? options = null) #Exports the native sequence as script-free SVG.
Parameters
- document ChartForgeX.Mermaid.MermaidZenUmlDocument
- options ChartForgeX.Mermaid.MermaidSequenceRenderOptions? = null
Returns
stringpublic 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
- options ChartForgeX.Mermaid.MermaidSequenceRenderOptions? = null
Returns
VisualArtifact