MermaidWardleyDocument
ChartForgeX.Mermaid
Describes a parsed Mermaid Wardley map.
Inheritance
- MermaidDocument
- MermaidWardleyDocument
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.ParseWardley
Accepted by parameters 8
- Extension method MermaidWardleyDocument.ToPng
- Extension method MermaidWardleyDocument.ToSvg
- Extension method MermaidWardleyDocument.ToVisualArtifact
- Extension method MermaidWardleyDocument.ToWardleyMapBlock
- Method MermaidWardleyRendering.ToPng
- Method MermaidWardleyRendering.ToSvg
- Method MermaidWardleyRendering.ToVisualArtifact
- Method MermaidWardleyRendering.ToWardleyMapBlock
Constructors
public MermaidWardleyDocument() #Inherited Methods
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<double> StageBoundaries { get; } #Gets explicit normalized stage boundaries retained in source order; partial lists use equal distribution.
public List<MermaidWardleyLink> Links { get; } #Gets parsed dependency links.
public List<MermaidWardleyEvolution> Evolutions { get; } #Gets parsed evolution trends.
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.
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(MermaidWardleyDocument document, MermaidWardleyRenderOptions? options = null) #Renders a Mermaid Wardley document to static PNG.
Parameters
- document ChartForgeX.Mermaid.MermaidWardleyDocument
- options ChartForgeX.Mermaid.MermaidWardleyRenderOptions? = null
Returns
byte[]public static string ToSvg(MermaidWardleyDocument document, MermaidWardleyRenderOptions? options = null) #Renders a Mermaid Wardley document to static SVG.
Parameters
- document ChartForgeX.Mermaid.MermaidWardleyDocument
- options ChartForgeX.Mermaid.MermaidWardleyRenderOptions? = null
Returns
stringpublic static VisualArtifact ToVisualArtifact(MermaidWardleyDocument document, MermaidWardleyRenderOptions? options = null) #Wraps a Mermaid Wardley document in a visual artifact envelope.
Parameters
- document ChartForgeX.Mermaid.MermaidWardleyDocument
- options ChartForgeX.Mermaid.MermaidWardleyRenderOptions? = null
Returns
VisualArtifactpublic static WardleyMapBlock ToWardleyMapBlock(MermaidWardleyDocument document, MermaidWardleyRenderOptions? options = null) #Converts a Mermaid Wardley document into a reusable Wardley map block.
Parameters
- document ChartForgeX.Mermaid.MermaidWardleyDocument
- options ChartForgeX.Mermaid.MermaidWardleyRenderOptions? = null
Returns
WardleyMapBlock