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

VisualMarkupBlock

Namespace ChartForgeX.Markup
Assembly ChartForgeX.Markup
Modifiers sealed

Describes a supported visual fenced block extracted from Markdown.

Inheritance

  • Object
  • VisualMarkupBlock

Usage

Explore 15 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.

Accepted by parameters 13

Constructors

public VisualMarkupBlock(VisualMarkupKind kind, String fenceName, String fenceInfo, Int32 schemaVersion, String payload, Int32 fenceLine, Int32 startLine, Int32 endLine, IReadOnlyDictionary<String, String> attributes) #

Initializes a visual markup block.

Parameters

kind ChartForgeX.Markup.VisualMarkupKind requiredposition: 0
fenceName System.String requiredposition: 1
fenceInfo System.String requiredposition: 2
schemaVersion System.Int32 requiredposition: 3
payload System.String requiredposition: 4
fenceLine System.Int32 requiredposition: 5
startLine System.Int32 requiredposition: 6
endLine System.Int32 requiredposition: 7
attributes System.Collections.Generic.IReadOnlyDictionary<System.String, System.String> requiredposition: 8

Properties

public VisualMarkupKind Kind { get; } #

Gets the visual kind.

public String FenceName { get; } #

Gets the normalized fence name, such as chartforgex topology or mermaid.

public String FenceInfo { get; } #

Gets the full fence info string after the opening fence marker.

public Int32 SchemaVersion { get; } #

Gets the ChartForgeX markup schema version, or zero for external languages such as Mermaid.

public String Payload { get; } #

Gets the extracted fence payload.

public Int32 FenceLine { get; } #

Gets the one-based source line that contains the opening fence.

public Int32 StartLine { get; } #

Gets the one-based source line where the payload starts.

public Int32 EndLine { get; } #

Gets the one-based source line where the payload ends.

public IReadOnlyDictionary<String, String> Attributes { get; } #

Gets attributes parsed from trailing fence metadata when present.