Skip to content
ChartForgeX
Class

MermaidTimelinePeriod

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
sealed

Describes one Mermaid timeline time period and its events.

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 MermaidTimelinePeriod(string text, MermaidTimelineSection? section, MermaidSourceSpan span) #

Initializes a timeline period.

Parameters

text string required
section ChartForgeX.Mermaid.MermaidTimelineSection? required
span ChartForgeX.Mermaid.MermaidSourceSpan required

Properties

public string Text { get; set; } #

Gets or sets the period text.

public MermaidTimelineSection? Section { get; set; } #

Gets or sets the containing section object, preserving repeated labels as distinct phases.

public List<MermaidTimelineEvent> Events { get; } #

Gets events declared for the period.