Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 47
Forks 2
NuGet downloads 75,067
Release ChartForgeX-v2.0.0
Language: HTML Updated: 2026-10-12

API Reference

Class

TopologyHierarchyItem

Namespace ChartForgeX.Topology
Assembly ChartForgeX
Modifiers sealed

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

Constructors

public TopologyHierarchyItem(String id, String label, String? parentId = null) #

Creates a hierarchy item.

Parameters

id System.String requiredposition: 0
label System.String requiredposition: 1
parentId System.String? = null optionalposition: 2

Methods

public TopologyHierarchyItem WithMetadata(String key, String value) #
Returns: TopologyHierarchyItem

Adds metadata and returns the same item.

Parameters

key System.String requiredposition: 0
value System.String requiredposition: 1

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.