Class
MermaidBlockItem
ChartForgeX.Mermaid
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
- Property MermaidBlockDocument.Items
Constructors
public MermaidBlockItem(string id, string label, int columnSpan, BlockLayoutShape shape, bool isSpace, MermaidSourceSpan span) #Initializes a block item.
Parameters
- id string
- label string
- columnSpan int
- shape ChartForgeX.VisualBlocks.BlockLayoutShape
- isSpace bool
- span ChartForgeX.Mermaid.MermaidSourceSpan
Inherited Methods
Properties
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 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.