Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 47
Forks 2
NuGet downloads 75,067
Release ChartForgeX-v2.0.0
Language: HTML Updated: 2026-10-12

API Reference

Class

MermaidVennDocument

Namespace ChartForgeX.Mermaid
Assembly ChartForgeX.Mermaid
Modifiers sealed

Describes a parsed Mermaid Venn diagram.

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 MermaidVennDocument() #

Properties

public List<MermaidRawStatement> Statements { get; } #

Gets Venn statements retained in source order.

public List<MermaidVennSet> Sets { get; } #

Gets parsed Venn sets.

public List<MermaidVennIntersection> Intersections { get; } #

Gets parsed Venn intersections.

public List<MermaidVennTextNode> TextNodes { get; } #

Gets parsed Venn text nodes.

public List<MermaidRawStatement> StyleStatements { get; } #

Gets style statements retained in source order.

public String? Title { get; set; } #

Gets or sets the optional title statement.

Extension Methods

public static Byte[] ToPng(MermaidVennDocument document, MermaidVennRenderOptions? options = null) #
Returns: Byte[]

Renders a Mermaid Venn document to static PNG.

Parameters

document ChartForgeX.Mermaid.MermaidVennDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidVennRenderOptions? = null optionalposition: 1
public static String ToSvg(MermaidVennDocument document, MermaidVennRenderOptions? options = null) #
Returns: String

Renders a Mermaid Venn document to static SVG.

Parameters

document ChartForgeX.Mermaid.MermaidVennDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidVennRenderOptions? = null optionalposition: 1
public static VennDiagramBlock ToVennDiagramBlock(MermaidVennDocument document, MermaidVennRenderOptions? options = null) #
Returns: VennDiagramBlock

Converts a Mermaid Venn document into a reusable Venn visual block.

Parameters

document ChartForgeX.Mermaid.MermaidVennDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidVennRenderOptions? = null optionalposition: 1
public static VisualArtifact ToVisualArtifact(MermaidVennDocument document, MermaidVennRenderOptions? options = null) #
Returns: VisualArtifact

Wraps a Mermaid Venn document in a visual artifact envelope.

Parameters

document ChartForgeX.Mermaid.MermaidVennDocument requiredposition: 0
options ChartForgeX.Mermaid.MermaidVennRenderOptions? = null optionalposition: 1