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
BlockDiagramBlockBlockDiagramComposite
Constructors
| Name | Description |
|---|---|
| BlockDiagramComposite(string, DiagramText?) | Initializes a new instance of the BlockDiagramComposite class. |
BlockDiagramComposite(string, DiagramText?)
BlockDiagramComposite.csInitializes a new instance of the BlockDiagramComposite class.
public BlockDiagramComposite(string id, DiagramText? label = null)Parameters
idstring- The identifier, unique in the diagram.
labelDiagramText?- The title, or
nullfor none.
Properties
| Name | Description |
|---|---|
| Columns | Gets or sets the number of columns, or null to place every item on one row. |
| Items | Gets the items, placed in order, left to right and top to bottom. |
Columns
BlockDiagramComposite.csGets the items, placed in order, left to right and top to bottom.
public IList<BlockDiagramItem> Items { get; }