Skip to content
ChartForgeX
Class

MermaidC4Element

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
sealed

Describes a C4 person, system, container, component, or deployment node.

Inheritance

Usage

Explore 1 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

Constructors

public MermaidC4Element(string alias, string label, string kind, MermaidSourceSpan span) #

Initializes a C4 element.

Parameters

alias string required
label string required
kind string required
span ChartForgeX.Mermaid.MermaidSourceSpan required

Properties

public string Alias { get; set; } #

Gets or sets the C4 element alias.

public string Label { get; set; } #

Gets or sets the display label.

public string Kind { get; set; } #

Gets or sets the normalized C4 element kind.

public string? Description { get; set; } #

Gets or sets the optional element description.

public string? Technology { get; set; } #

Gets or sets the optional technology token for containers and components.

public string? Shape { get; set; } #

Gets or sets a supported source shape override, independently of the element kind.

public string? LegendText { get; set; } #

Gets or sets an explicit label for this element's native legend projection.

public string? LegendSprite { get; set; } #

Gets or sets an explicit source legend sprite; external sprite loading is not performed.

public string? Sprite { get; set; } #

Gets or sets optional Mermaid sprite metadata.

public string? Tags { get; set; } #

Gets or sets optional Mermaid tags.

public string? BoundaryId { get; set; } #

Gets or sets the containing boundary id.