Skip to content
ChartForgeX
Class

MermaidWardleyDocument

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
sealed

Describes a parsed Mermaid Wardley map.

Inheritance

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

Accepted by parameters 8

Constructors

public MermaidWardleyDocument() #

Properties

public List<MermaidRawStatement> Statements { get; } #

Gets Wardley statements retained in source order.

public string? Title { get; set; } #

Gets or sets the optional Mermaid title.

public int? CanvasWidth { get; set; } #

Gets or sets the optional Mermaid canvas width.

public int? CanvasHeight { get; set; } #

Gets or sets the optional Mermaid canvas height.

public List<string> Stages { get; } #

Gets evolution stage labels.

public List<double> StageBoundaries { get; } #

Gets explicit normalized stage boundaries retained in source order; partial lists use equal distribution.

public List<MermaidWardleyNode> Nodes { get; } #

Gets parsed map nodes.

public List<MermaidWardleyEvolution> Evolutions { get; } #

Gets parsed evolution trends.

public List<MermaidWardleyNote> Notes { get; } #

Gets parsed notes.

public MermaidWardleyAnnotationBox? AnnotationsBox { get; set; } #

Gets or sets the optional normalized origin of the annotation legend.

public List<MermaidWardleyAnnotation> Annotations { get; } #

Gets parsed numbered annotations.

public List<MermaidWardleyMarker> Markers { get; } #

Gets parsed accelerators and deaccelerators.

public List<MermaidWardleyPipeline> Pipelines { get; } #

Gets parsed pipelines.

Extension Methods

public static byte[] ToPng(MermaidWardleyDocument document, MermaidWardleyRenderOptions? options = null) #

Renders a Mermaid Wardley document to static PNG.

Parameters

document ChartForgeX.Mermaid.MermaidWardleyDocument required
options ChartForgeX.Mermaid.MermaidWardleyRenderOptions? = null optional

Returns

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

Renders a Mermaid Wardley document to static SVG.

Parameters

document ChartForgeX.Mermaid.MermaidWardleyDocument required
options ChartForgeX.Mermaid.MermaidWardleyRenderOptions? = null optional

Returns

string
public static VisualArtifact ToVisualArtifact(MermaidWardleyDocument document, MermaidWardleyRenderOptions? options = null) #

Wraps a Mermaid Wardley document in a visual artifact envelope.

Parameters

document ChartForgeX.Mermaid.MermaidWardleyDocument required
options ChartForgeX.Mermaid.MermaidWardleyRenderOptions? = null optional
public static WardleyMapBlock ToWardleyMapBlock(MermaidWardleyDocument document, MermaidWardleyRenderOptions? options = null) #

Converts a Mermaid Wardley document into a reusable Wardley map block.

Parameters

document ChartForgeX.Mermaid.MermaidWardleyDocument required
options ChartForgeX.Mermaid.MermaidWardleyRenderOptions? = null optional