API Reference
MermaidJourneyDocument
Describes a parsed Mermaid user journey diagram.
Inheritance
- MermaidDocument
- MermaidJourneyDocument
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.ParseJourney
Accepted by parameters 8
- Extension method MermaidJourneyDocument.ToChart
- Extension method MermaidJourneyDocument.ToPng
- Extension method MermaidJourneyDocument.ToSvg
- Extension method MermaidJourneyDocument.ToVisualArtifact
- Method MermaidJourneyRendering.ToChart
- Method MermaidJourneyRendering.ToPng
- Method MermaidJourneyRendering.ToSvg
- Method MermaidJourneyRendering.ToVisualArtifact
Constructors
public MermaidJourneyDocument() #Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public List<MermaidRawStatement> Statements { get; } #Gets raw journey statements retained with source spans.
public String? Title { get; set; } #Gets or sets the optional Mermaid journey title.
public List<MermaidJourneySection> Sections { get; } #Gets journey sections in source order.
public List<MermaidJourneyTask> Tasks { get; } #Gets journey tasks in source order.
Inherited Properties
public MermaidDiagramKind Kind { get; set; } #public Boolean IsDiagnosticOnly { get; } #public String SourceText { get; set; } #public MermaidSourceSpan HeaderSpan { get; set; } #public String Header { get; set; } #public String? FrontMatter { get; set; } #public VisualAccessibility Accessibility { get; } #public String? Theme { get; set; } #public List<MermaidDirective> Directives { get; } #public List<MermaidRawStatement> RawStatements { get; } #Extension Methods
public static Chart ToChart(MermaidJourneyDocument document, MermaidJourneyRenderOptions? options = null) #ChartConverts a Mermaid journey document into a renderer-independent ChartForgeX score chart.
Parameters
- document ChartForgeX.Mermaid.MermaidJourneyDocument
- options ChartForgeX.Mermaid.MermaidJourneyRenderOptions? = null
public static Byte[] ToPng(MermaidJourneyDocument document, MermaidJourneyRenderOptions? options = null) #Byte[]Renders a Mermaid journey document to static PNG through ChartForgeX chart rendering.
Parameters
- document ChartForgeX.Mermaid.MermaidJourneyDocument
- options ChartForgeX.Mermaid.MermaidJourneyRenderOptions? = null
public static String ToSvg(MermaidJourneyDocument document, MermaidJourneyRenderOptions? options = null) #StringRenders a Mermaid journey document to static SVG through ChartForgeX chart rendering.
Parameters
- document ChartForgeX.Mermaid.MermaidJourneyDocument
- options ChartForgeX.Mermaid.MermaidJourneyRenderOptions? = null
public static VisualArtifact ToVisualArtifact(MermaidJourneyDocument document, MermaidJourneyRenderOptions? options = null) #VisualArtifactWraps a Mermaid journey document in a visual artifact envelope backed by a ChartForgeX chart.
Parameters
- document ChartForgeX.Mermaid.MermaidJourneyDocument
- options ChartForgeX.Mermaid.MermaidJourneyRenderOptions? = null