Skip to content
ChartForgeX
Class

MermaidBlockItem

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
sealed

Describes one Mermaid block item.

Inheritance

  • object
  • MermaidBlockItem

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 MermaidBlockItem(string id, string label, int columnSpan, BlockLayoutShape shape, bool isSpace, MermaidSourceSpan span) #

Initializes a block item.

Parameters

id string required
label string required
columnSpan int required
shape ChartForgeX.VisualBlocks.BlockLayoutShape required
isSpace bool required
span ChartForgeX.Mermaid.MermaidSourceSpan required

Properties

public string Id { get; set; } #

Gets or sets the item id.

public string Label { get; set; } #

Gets or sets the display label.

public int ColumnSpan { get; } #

Gets how many columns this item spans.

public BlockLayoutShape Shape { get; } #

Gets the preferred item shape.

public bool IsSpace { get; } #

Gets whether this item is an invisible spacer.

public string? ParentId { get; set; } #

Gets or sets the containing composite ID.

public bool IsComposite { get; set; } #

Gets or sets whether this source declaration is a composite.

public int? Columns { get; set; } #

Gets or sets local columns for this composite. Null inherits its enclosing grid.

public bool AutoColumns { get; set; } #

Gets or sets whether this composite explicitly uses automatic columns.

public BlockLayoutArrowDirections ArrowDirections { get; set; } #

Gets or sets native directional arrow heads.

public List<string> Classes { get; } #

Gets class names in authored order.

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

Gets captured style declarations after the default/class/direct cascade.

public MermaidSourceSpan Span { get; } #

Gets the source span for the item statement.