Skip to content
ChartForgeX
Class

MermaidFlowchartSubgraph

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
sealed

Describes a Mermaid flowchart subgraph.

Inheritance

Usage

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

Constructors

public MermaidFlowchartSubgraph(string id, string title, MermaidSourceSpan span) #

Initializes a parsed flowchart subgraph.

Parameters

id string required
title string required
span ChartForgeX.Mermaid.MermaidSourceSpan required

Properties

public Dictionary<string, string> Properties { get; } #

Gets inert source properties associated with this canonical subgraph identity.

public string Id { get; set; } #

Gets or sets the Mermaid subgraph identifier.

public string Title { get; set; } #

Gets or sets the Mermaid subgraph title.

public string? ParentSubgraphId { get; set; } #

Gets or sets the containing subgraph id, or null for a root subgraph.

public MermaidFlowchartDirection Direction { get; set; } #

Gets or sets the locally declared direction; None inherits its parent.

public List<string> NodeIds { get; } #

Gets authored node references merged from this ID's declarations in close order; each node owns its resolved semantic membership.

public List<string> Classes { get; } #

Gets source classes assigned to this canonical subgraph identity.

public Dictionary<string, string> Styles { get; } #

Gets resolved source style declarations for this canonical subgraph identity.