C4Item Class
An item of a C4 diagram that relationships can link: an element or a boundary.
public abstract class C4ItemProperties
| Name | Description |
|---|---|
| Description | Gets or sets the description, or null for none. |
| Id | Gets the identifier of the item, unique in the diagram (Mermaid alias). |
| Label | Gets or sets the name. |
| Link | Gets or sets the address the item links to in the SVG, or null for none. |
| Style | Gets or sets the colors of the item: DiagramStyle.Fill, DiagramStyle.Stroke and DiagramStyle.TextColor (Mermaid UpdateElementStyle). |
| Tags | Gets or sets the tags, written to Mermaid but not drawn, or null for none. |
Description
C4Item.csGets or sets the description, or null for none.
public DiagramText? Description { get; set; }Property value
Label
C4Item.csLink
C4Item.csStyle
C4Item.csGets or sets the colors of the item: DiagramStyle.Fill, DiagramStyle.Stroke and DiagramStyle.TextColor (Mermaid UpdateElementStyle).
public DiagramStyle? Style { get; set; }Property value
Tags
C4Item.csMethods
| Name | Description |
|---|---|
| ToString() | Returns the identifier of the item. |