MermaidSequenceDocument
ChartForgeX.Mermaid
Describes a Mermaid sequence diagram document.
Inheritance
- MermaidDocument
- MermaidSequenceDocument
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.ParseSequence
Accepted by parameters 8
- Extension method MermaidSequenceDocument.ToPng
- Extension method MermaidSequenceDocument.ToSequenceArtifact
- Extension method MermaidSequenceDocument.ToSvg
- Extension method MermaidSequenceDocument.ToVisualArtifact
- Method MermaidSequenceRendering.ToPng
- Method MermaidSequenceRendering.ToSequenceArtifact
- Method MermaidSequenceRendering.ToSvg
- Method MermaidSequenceRendering.ToVisualArtifact
Constructors
public MermaidSequenceDocument() #Inherited Methods
Properties
public string? Title { get; set; } #Gets or sets the sequence's explicit title statement.
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 List<MermaidSequenceLink> Links { get; } #Gets parsed actor menu links.
public List<MermaidSequenceProperties> PropertyStatements { get; } #Gets raw, located participant property declarations in authored order.
public List<MermaidSequenceAutonumber> AutonumberStatements { get; } #Gets authored numbering controls in source order, including off and resume occurrences.
public MermaidSequenceAutonumber? Autonumber { get; } #Gets the last authored numbering control, when present; edit MermaidSequenceDocument.AutonumberStatements to author controls.
public List<MermaidSequenceLifetime> Lifetimes { get; } #Gets participant creation and destruction directives with their associated message indices.
public List<MermaidSequenceParticipantBox> ParticipantBoxes { get; } #Gets vertical boxes around contiguous participant declarations.
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(MermaidSequenceDocument document, MermaidSequenceRenderOptions? options = null) #Renders a Mermaid sequence document to static PNG through ChartForgeX sequence rendering.
Parameters
- document ChartForgeX.Mermaid.MermaidSequenceDocument
- options ChartForgeX.Mermaid.MermaidSequenceRenderOptions? = null
Returns
byte[]public static SequenceArtifact ToSequenceArtifact(MermaidSequenceDocument document, MermaidSequenceRenderOptions? options = null) #Converts a Mermaid sequence document into a product-neutral sequence artifact.
Parameters
- document ChartForgeX.Mermaid.MermaidSequenceDocument
- The parsed Mermaid sequence document.
- options ChartForgeX.Mermaid.MermaidSequenceRenderOptions? = null
- Optional conversion and rendering defaults.
public static string ToSvg(MermaidSequenceDocument document, MermaidSequenceRenderOptions? options = null) #Renders a Mermaid sequence document to static SVG through ChartForgeX sequence rendering.
Parameters
- document ChartForgeX.Mermaid.MermaidSequenceDocument
- options ChartForgeX.Mermaid.MermaidSequenceRenderOptions? = null
Returns
stringpublic static VisualArtifact ToVisualArtifact(MermaidSequenceDocument document, MermaidSequenceRenderOptions? options = null) #Wraps a Mermaid sequence document in a product-neutral visual artifact envelope backed by a sequence artifact.
Parameters
- document ChartForgeX.Mermaid.MermaidSequenceDocument
- The parsed Mermaid sequence document.
- options ChartForgeX.Mermaid.MermaidSequenceRenderOptions? = null
- Optional conversion and rendering defaults.