BlockDiagramComposite Class

A composite block of a block diagram: a frame around items placed on its own grid of columns (Mermaid block ... end).

public sealed class BlockDiagramComposite : BlockDiagramBlock
Inheritance
BlockDiagramBlock BlockDiagramComposite

Constructors

NameDescription
BlockDiagramComposite(string, DiagramText?)Initializes a new instance of the BlockDiagramComposite class.

BlockDiagramComposite(string, DiagramText?)

BlockDiagramComposite.cs

Initializes a new instance of the BlockDiagramComposite class.

public BlockDiagramComposite(string id, DiagramText? label = null)

Parameters

id string
The identifier, unique in the diagram.
label DiagramText?
The title, or null for none.

Properties

NameDescription
ColumnsGets or sets the number of columns, or null to place every item on one row.
ItemsGets the items, placed in order, left to right and top to bottom.

Gets or sets the number of columns, or null to place every item on one row.

public int? Columns { get; set; }

Property value

int?

Gets the items, placed in order, left to right and top to bottom.

public IList<BlockDiagramItem> Items { get; }