API Reference
TopologyHierarchyItem
Describes one reusable hierarchy item that can be promoted into topology nodes and parent-child edges.
Inheritance
- Object
- TopologyHierarchyItem
Usage
Explore 5 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
Accepted by parameters 4
- Extension method TopologyChart.AddHierarchy
- Extension method TopologyChart.AddMindMap
- Method TopologyHierarchyExtensions.AddHierarchy
- Method TopologyMindMapExtensions.AddMindMap
Constructors
public TopologyHierarchyItem(String id, String label, String? parentId = null) #Creates a hierarchy item.
Parameters
- id System.String
- label System.String
- parentId System.String? = null
Methods
public TopologyHierarchyItem WithMetadata(String key, String value) #TopologyHierarchyItemAdds metadata and returns the same item.
Parameters
- key System.String
- value System.String
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public String Id { get; } #Gets the stable item id.
public String Label { get; } #Gets the item label.
public String? ParentId { get; set; } #Gets or sets the parent item id.
public Int32? Level { get; set; } #Gets or sets an explicit hierarchy level. When null, the builder infers it from the parent chain.
public TopologyNodeKind Kind { get; set; } #Gets or sets the node kind used for the item.
public TopologyHealthStatus Status { get; set; } #Gets or sets the item health state.
public String? Subtitle { get; set; } #Gets or sets the optional subtitle.
public String? Symbol { get; set; } #Gets or sets the optional visual symbol.
public String? IconId { get; set; } #Gets or sets an optional icon id from a topology icon catalog.
public String? GroupId { get; set; } #Gets or sets an optional group id.
public String? Color { get; set; } #Gets or sets an optional accent color.
public String? BackgroundColor { get; set; } #Gets or sets an optional node background color.
public Double? Width { get; set; } #Gets or sets the preferred node width.
public Double? Height { get; set; } #Gets or sets the preferred node height.
public TopologyHierarchyLayoutPolicy? LayoutPolicy { get; set; } #Gets or sets the layout policy applied to this item and its descendant subtree. Null inherits the parent policy.
public Dictionary<String, String> Metadata { get; } #Gets arbitrary item metadata copied to the generated node. Builder-owned hierarchy and layer keys remain authoritative.