# TopologyHierarchyItem

Describes one reusable hierarchy item that can be promoted into topology nodes and parent-child edges.

 Class  

`ChartForgeX.Topology`

**Namespace**

`ChartForgeX.Topology`

**Assembly**

`ChartForgeX`

**Source**

[TopologyHierarchy.cs:38](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchy.cs#L38)

**Modifiers**

sealed

**Attributes**

 `Fluent` 

Describes one reusable hierarchy item that can be promoted into topology nodes and parent-child edges.

## Inheritance

- object
- TopologyHierarchyItem

## Usage

 Explore 80 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 38

- Extension method [TopologyHierarchyItem.Artwork](/api/chartforgex-topology-topologyhierarchyitem/#extension-artwork-chartforgex-topology-topologyhierarchyitem-action-chartforgex-topology-topologyiconartwork)
- Extension method [TopologyHierarchyItem.BackgroundColor](/api/chartforgex-topology-topologyhierarchyitem/#extension-backgroundcolor-chartforgex-topology-topologyhierarchyitem-nullable-chartforgex-primitives-chartcolor)
- Extension method [TopologyHierarchyItem.Badge](/api/chartforgex-topology-topologyhierarchyitem/#extension-badge-chartforgex-topology-topologyhierarchyitem-string)
- Extension method [TopologyHierarchyItem.Color](/api/chartforgex-topology-topologyhierarchyitem/#extension-color-chartforgex-topology-topologyhierarchyitem-nullable-chartforgex-primitives-chartcolor)
- Extension method [TopologyHierarchyItem.GroupId](/api/chartforgex-topology-topologyhierarchyitem/#extension-groupid-chartforgex-topology-topologyhierarchyitem-string)
- Extension method [TopologyHierarchyItem.Height](/api/chartforgex-topology-topologyhierarchyitem/#extension-height-chartforgex-topology-topologyhierarchyitem-nullable-system-double)
- Extension method [TopologyHierarchyItem.IconId](/api/chartforgex-topology-topologyhierarchyitem/#extension-iconid-chartforgex-topology-topologyhierarchyitem-string)
- Extension method [TopologyHierarchyItem.Kind](/api/chartforgex-topology-topologyhierarchyitem/#extension-kind-chartforgex-topology-topologyhierarchyitem-chartforgex-topology-topologynodekind)
- Extension method [TopologyHierarchyItem.LayoutPolicy](/api/chartforgex-topology-topologyhierarchyitem/#extension-layoutpolicy-chartforgex-topology-topologyhierarchyitem-nullable-chartforgex-topology-topologyhierarchylayoutpolicy)
- Extension method [TopologyHierarchyItem.Level](/api/chartforgex-topology-topologyhierarchyitem/#extension-level-chartforgex-topology-topologyhierarchyitem-nullable-system-int32)
- Extension method [TopologyHierarchyItem.Metadata](/api/chartforgex-topology-topologyhierarchyitem/#extension-metadata-chartforgex-topology-topologyhierarchyitem-string-string)
- Extension method [TopologyHierarchyItem.ParentEdgeLabel](/api/chartforgex-topology-topologyhierarchyitem/#extension-parentedgelabel-chartforgex-topology-topologyhierarchyitem-string)
- Extension method [TopologyHierarchyItem.ParentEdgeStatus](/api/chartforgex-topology-topologyhierarchyitem/#extension-parentedgestatus-chartforgex-topology-topologyhierarchyitem-nullable-chartforgex-topology-topologyhealthstatus)
- Extension method [TopologyHierarchyItem.ParentId](/api/chartforgex-topology-topologyhierarchyitem/#extension-parentid-chartforgex-topology-topologyhierarchyitem-string)
- Extension method [TopologyHierarchyItem.ShowHealthRing](/api/chartforgex-topology-topologyhierarchyitem/#extension-showhealthring-chartforgex-topology-topologyhierarchyitem-boolean)
- Extension method [TopologyHierarchyItem.Status](/api/chartforgex-topology-topologyhierarchyitem/#extension-status-chartforgex-topology-topologyhierarchyitem-chartforgex-topology-topologyhealthstatus)
- Extension method [TopologyHierarchyItem.Subtitle](/api/chartforgex-topology-topologyhierarchyitem/#extension-subtitle-chartforgex-topology-topologyhierarchyitem-string)
- Extension method [TopologyHierarchyItem.Symbol](/api/chartforgex-topology-topologyhierarchyitem/#extension-symbol-chartforgex-topology-topologyhierarchyitem-string)
- Extension method [TopologyHierarchyItem.Width](/api/chartforgex-topology-topologyhierarchyitem/#extension-width-chartforgex-topology-topologyhierarchyitem-nullable-system-double)
- Method [TopologyHierarchyItemFluent.Artwork](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-artwork-chartforgex-topology-topologyhierarchyitem-chartforgex-topology-topologyiconartwork)
- Method [TopologyHierarchyItemFluent.BackgroundColor](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-backgroundcolor-chartforgex-topology-topologyhierarchyitem-nullable-chartforgex-primitives-chartcolor)
- Method [TopologyHierarchyItemFluent.Badge](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-badge-chartforgex-topology-topologyhierarchyitem-string)
- Method [TopologyHierarchyItemFluent.Color](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-color-chartforgex-topology-topologyhierarchyitem-nullable-chartforgex-primitives-chartcolor)
- Method [TopologyHierarchyItemFluent.GroupId](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-groupid-chartforgex-topology-topologyhierarchyitem-string)
- Method [TopologyHierarchyItemFluent.Height](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-height-chartforgex-topology-topologyhierarchyitem-nullable-system-double)
- Method [TopologyHierarchyItemFluent.IconId](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-iconid-chartforgex-topology-topologyhierarchyitem-string)
- Method [TopologyHierarchyItemFluent.Kind](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-kind-chartforgex-topology-topologyhierarchyitem-chartforgex-topology-topologynodekind)
- Method [TopologyHierarchyItemFluent.LayoutPolicy](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-layoutpolicy-chartforgex-topology-topologyhierarchyitem-nullable-chartforgex-topology-topologyhierarchylayoutpolicy)
- Method [TopologyHierarchyItemFluent.Level](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-level-chartforgex-topology-topologyhierarchyitem-nullable-system-int32)
- Method [TopologyHierarchyItemFluent.Metadata](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-metadata-chartforgex-topology-topologyhierarchyitem-string-string)
- Method [TopologyHierarchyItemFluent.ParentEdgeLabel](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-parentedgelabel-chartforgex-topology-topologyhierarchyitem-string)
- Method [TopologyHierarchyItemFluent.ParentEdgeStatus](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-parentedgestatus-chartforgex-topology-topologyhierarchyitem-nullable-chartforgex-topology-topologyhealthstatus)
- Method [TopologyHierarchyItemFluent.ParentId](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-parentid-chartforgex-topology-topologyhierarchyitem-string)
- Method [TopologyHierarchyItemFluent.ShowHealthRing](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-showhealthring-chartforgex-topology-topologyhierarchyitem-boolean)
- Method [TopologyHierarchyItemFluent.Status](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-status-chartforgex-topology-topologyhierarchyitem-chartforgex-topology-topologyhealthstatus)
- Method [TopologyHierarchyItemFluent.Subtitle](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-subtitle-chartforgex-topology-topologyhierarchyitem-string)
- Method [TopologyHierarchyItemFluent.Symbol](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-symbol-chartforgex-topology-topologyhierarchyitem-string)
- Method [TopologyHierarchyItemFluent.Width](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-width-chartforgex-topology-topologyhierarchyitem-nullable-system-double)

### Accepted by parameters 42

- Extension method [TopologyChart.AddHierarchy](/api/chartforgex-topology-topologychart/#extension-addhierarchy-chartforgex-topology-topologychart-collections-generic-ienumerable-chartforgex-topology-topologyhierarchyitem-chartforgex-topology-topologyhierarchyoptions) parameter `items`
- Extension method [TopologyChart.AddMindMap](/api/chartforgex-topology-topologychart/#extension-addmindmap-chartforgex-topology-topologychart-collections-generic-ienumerable-chartforgex-topology-topologyhierarchyitem-chartforgex-topology-topologymindmapoptions) parameter `items`
- Method [TopologyHierarchyExtensions.AddHierarchy](/api/chartforgex-topology-topologyhierarchyextensions/#method-addhierarchy-chartforgex-topology-topologychart-collections-generic-ienumerable-chartforgex-topology-topologyhierarchyitem-chartforgex-topology-topologyhierarchyoptions) parameter `items`
- Extension method [TopologyHierarchyItem.Artwork](/api/chartforgex-topology-topologyhierarchyitem/#extension-artwork-chartforgex-topology-topologyhierarchyitem-action-chartforgex-topology-topologyiconartwork) parameter `topologyHierarchyItem`
- Extension method [TopologyHierarchyItem.BackgroundColor](/api/chartforgex-topology-topologyhierarchyitem/#extension-backgroundcolor-chartforgex-topology-topologyhierarchyitem-nullable-chartforgex-primitives-chartcolor) parameter `topologyHierarchyItem`
- Extension method [TopologyHierarchyItem.Badge](/api/chartforgex-topology-topologyhierarchyitem/#extension-badge-chartforgex-topology-topologyhierarchyitem-string) parameter `topologyHierarchyItem`
- Extension method [TopologyHierarchyItem.Color](/api/chartforgex-topology-topologyhierarchyitem/#extension-color-chartforgex-topology-topologyhierarchyitem-nullable-chartforgex-primitives-chartcolor) parameter `topologyHierarchyItem`
- Extension method [TopologyHierarchyItem.GroupId](/api/chartforgex-topology-topologyhierarchyitem/#extension-groupid-chartforgex-topology-topologyhierarchyitem-string) parameter `topologyHierarchyItem`
- Extension method [TopologyHierarchyItem.Height](/api/chartforgex-topology-topologyhierarchyitem/#extension-height-chartforgex-topology-topologyhierarchyitem-nullable-system-double) parameter `topologyHierarchyItem`
- Extension method [TopologyHierarchyItem.IconId](/api/chartforgex-topology-topologyhierarchyitem/#extension-iconid-chartforgex-topology-topologyhierarchyitem-string) parameter `topologyHierarchyItem`
- Extension method [TopologyHierarchyItem.Kind](/api/chartforgex-topology-topologyhierarchyitem/#extension-kind-chartforgex-topology-topologyhierarchyitem-chartforgex-topology-topologynodekind) parameter `topologyHierarchyItem`
- Extension method [TopologyHierarchyItem.LayoutPolicy](/api/chartforgex-topology-topologyhierarchyitem/#extension-layoutpolicy-chartforgex-topology-topologyhierarchyitem-nullable-chartforgex-topology-topologyhierarchylayoutpolicy) parameter `topologyHierarchyItem`
- Extension method [TopologyHierarchyItem.Level](/api/chartforgex-topology-topologyhierarchyitem/#extension-level-chartforgex-topology-topologyhierarchyitem-nullable-system-int32) parameter `topologyHierarchyItem`
- Extension method [TopologyHierarchyItem.Metadata](/api/chartforgex-topology-topologyhierarchyitem/#extension-metadata-chartforgex-topology-topologyhierarchyitem-string-string) parameter `topologyHierarchyItem`
- Extension method [TopologyHierarchyItem.ParentEdgeLabel](/api/chartforgex-topology-topologyhierarchyitem/#extension-parentedgelabel-chartforgex-topology-topologyhierarchyitem-string) parameter `topologyHierarchyItem`
- Extension method [TopologyHierarchyItem.ParentEdgeStatus](/api/chartforgex-topology-topologyhierarchyitem/#extension-parentedgestatus-chartforgex-topology-topologyhierarchyitem-nullable-chartforgex-topology-topologyhealthstatus) parameter `topologyHierarchyItem`
- Extension method [TopologyHierarchyItem.ParentId](/api/chartforgex-topology-topologyhierarchyitem/#extension-parentid-chartforgex-topology-topologyhierarchyitem-string) parameter `topologyHierarchyItem`
- Extension method [TopologyHierarchyItem.ShowHealthRing](/api/chartforgex-topology-topologyhierarchyitem/#extension-showhealthring-chartforgex-topology-topologyhierarchyitem-boolean) parameter `topologyHierarchyItem`
- Extension method [TopologyHierarchyItem.Status](/api/chartforgex-topology-topologyhierarchyitem/#extension-status-chartforgex-topology-topologyhierarchyitem-chartforgex-topology-topologyhealthstatus) parameter `topologyHierarchyItem`
- Extension method [TopologyHierarchyItem.Subtitle](/api/chartforgex-topology-topologyhierarchyitem/#extension-subtitle-chartforgex-topology-topologyhierarchyitem-string) parameter `topologyHierarchyItem`
- Extension method [TopologyHierarchyItem.Symbol](/api/chartforgex-topology-topologyhierarchyitem/#extension-symbol-chartforgex-topology-topologyhierarchyitem-string) parameter `topologyHierarchyItem`
- Extension method [TopologyHierarchyItem.Width](/api/chartforgex-topology-topologyhierarchyitem/#extension-width-chartforgex-topology-topologyhierarchyitem-nullable-system-double) parameter `topologyHierarchyItem`
- Method [TopologyHierarchyItemFluent.Artwork](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-artwork-chartforgex-topology-topologyhierarchyitem-action-chartforgex-topology-topologyiconartwork) parameter `topologyHierarchyItem`
- Method [TopologyHierarchyItemFluent.BackgroundColor](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-backgroundcolor-chartforgex-topology-topologyhierarchyitem-nullable-chartforgex-primitives-chartcolor) parameter `topologyHierarchyItem`
- Method [TopologyHierarchyItemFluent.Badge](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-badge-chartforgex-topology-topologyhierarchyitem-string) parameter `topologyHierarchyItem`
- Method [TopologyHierarchyItemFluent.Color](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-color-chartforgex-topology-topologyhierarchyitem-nullable-chartforgex-primitives-chartcolor) parameter `topologyHierarchyItem`
- Method [TopologyHierarchyItemFluent.GroupId](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-groupid-chartforgex-topology-topologyhierarchyitem-string) parameter `topologyHierarchyItem`
- Method [TopologyHierarchyItemFluent.Height](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-height-chartforgex-topology-topologyhierarchyitem-nullable-system-double) parameter `topologyHierarchyItem`
- Method [TopologyHierarchyItemFluent.IconId](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-iconid-chartforgex-topology-topologyhierarchyitem-string) parameter `topologyHierarchyItem`
- Method [TopologyHierarchyItemFluent.Kind](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-kind-chartforgex-topology-topologyhierarchyitem-chartforgex-topology-topologynodekind) parameter `topologyHierarchyItem`
- Method [TopologyHierarchyItemFluent.LayoutPolicy](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-layoutpolicy-chartforgex-topology-topologyhierarchyitem-nullable-chartforgex-topology-topologyhierarchylayoutpolicy) parameter `topologyHierarchyItem`
- Method [TopologyHierarchyItemFluent.Level](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-level-chartforgex-topology-topologyhierarchyitem-nullable-system-int32) parameter `topologyHierarchyItem`
- Method [TopologyHierarchyItemFluent.Metadata](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-metadata-chartforgex-topology-topologyhierarchyitem-string-string) parameter `topologyHierarchyItem`
- Method [TopologyHierarchyItemFluent.ParentEdgeLabel](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-parentedgelabel-chartforgex-topology-topologyhierarchyitem-string) parameter `topologyHierarchyItem`
- Method [TopologyHierarchyItemFluent.ParentEdgeStatus](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-parentedgestatus-chartforgex-topology-topologyhierarchyitem-nullable-chartforgex-topology-topologyhealthstatus) parameter `topologyHierarchyItem`
- Method [TopologyHierarchyItemFluent.ParentId](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-parentid-chartforgex-topology-topologyhierarchyitem-string) parameter `topologyHierarchyItem`
- Method [TopologyHierarchyItemFluent.ShowHealthRing](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-showhealthring-chartforgex-topology-topologyhierarchyitem-boolean) parameter `topologyHierarchyItem`
- Method [TopologyHierarchyItemFluent.Status](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-status-chartforgex-topology-topologyhierarchyitem-chartforgex-topology-topologyhealthstatus) parameter `topologyHierarchyItem`
- Method [TopologyHierarchyItemFluent.Subtitle](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-subtitle-chartforgex-topology-topologyhierarchyitem-string) parameter `topologyHierarchyItem`
- Method [TopologyHierarchyItemFluent.Symbol](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-symbol-chartforgex-topology-topologyhierarchyitem-string) parameter `topologyHierarchyItem`
- Method [TopologyHierarchyItemFluent.Width](/api/chartforgex-topology-topologyhierarchyitemfluent/#method-width-chartforgex-topology-topologyhierarchyitem-nullable-system-double) parameter `topologyHierarchyItem`
- Method [TopologyMindMapExtensions.AddMindMap](/api/chartforgex-topology-topologymindmapextensions/#method-addmindmap-chartforgex-topology-topologychart-collections-generic-ienumerable-chartforgex-topology-topologyhierarchyitem-chartforgex-topology-topologymindmapoptions) parameter `items`

 Filter members   

    Show inherited   

 

## Constructors

 `public TopologyHierarchyItem(string id, string label, string? parentId = null)` [#](#constructor-ctor-string-string-string) 

[TopologyHierarchy.cs:38](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchy.cs#L38)

Creates a hierarchy item.

Parameters

**id string required**

**label string required**

**parentId string? = null optional**

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

## Properties

 `public string Id { get; }` [#](#property-id) 

[TopologyHierarchy.cs:23](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchy.cs#L23)

Gets the stable item id.

 `public string Label { get; }` [#](#property-label) 

[TopologyHierarchy.cs:26](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchy.cs#L26)

Gets the item label.

 `public string? ParentId { get; set; }` [#](#property-parentid) 

[TopologyHierarchy.cs:29](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchy.cs#L29)

Gets or sets the parent item id.

 `public int? Level { get; set; }` [#](#property-level) 

[TopologyHierarchy.cs:32](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchy.cs#L32)

Gets or sets an explicit hierarchy level. When null, the builder infers it from the parent chain.

 `public TopologyNodeKind Kind { get; set; }` [#](#property-kind) 

[TopologyHierarchy.cs:35](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchy.cs#L35)

Gets or sets the node kind used for the item.

 `public TopologyHealthStatus Status { get; set; }` [#](#property-status) 

[TopologyHierarchy.cs:38](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchy.cs#L38)

Gets or sets the item health state.

 `public string? Subtitle { get; set; }` [#](#property-subtitle) 

[TopologyHierarchy.cs:41](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchy.cs#L41)

Gets or sets the optional subtitle.

 `public string? ParentEdgeLabel { get; set; }` [#](#property-parentedgelabel) 

[TopologyHierarchy.cs:44](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchy.cs#L44)

Gets or sets the label on the relationship from this item's parent. Roots have no incoming edge.

 `public TopologyHealthStatus? ParentEdgeStatus { get; set; }` [#](#property-parentedgestatus) 

[TopologyHierarchy.cs:47](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchy.cs#L47)

Gets or sets the incoming relationship's health. Null uses [TopologyHierarchyOptions.EdgeStatus](/api/chartforgex-topology-topologyhierarchyoptions/).

 `public string? Badge { get; set; }` [#](#property-badge) 

[TopologyHierarchy.cs:50](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchy.cs#L50)

Gets or sets short badge text copied to the generated node.

 `public bool ShowHealthRing { get; set; }` [#](#property-showhealthring) 

[TopologyHierarchy.cs:53](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchy.cs#L53)

Gets or sets whether the generated node shows a semantic health ring independently of its accent.

 `public string? Symbol { get; set; }` [#](#property-symbol) 

[TopologyHierarchy.cs:56](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchy.cs#L56)

Gets or sets the optional visual symbol.

 `public string? IconId { get; set; }` [#](#property-iconid) 

[TopologyHierarchy.cs:59](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchy.cs#L59)

Gets or sets an optional icon id from a topology icon catalog.

 `public TopologyIconArtwork? Artwork { get; set; }` [#](#property-artwork) 

[TopologyHierarchy.cs:62](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchy.cs#L62)

Gets or sets node artwork, including an embedded portrait. The generated node captures this media configuration.

 `public string? GroupId { get; set; }` [#](#property-groupid) 

[TopologyHierarchy.cs:65](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchy.cs#L65)

Gets or sets an optional group id.

 `public ChartColor? Color { get; set; }` [#](#property-color) 

[TopologyHierarchy.cs:68](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchy.cs#L68)

Gets or sets an optional accent color.

 `public ChartColor? BackgroundColor { get; set; }` [#](#property-backgroundcolor) 

[TopologyHierarchy.cs:71](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchy.cs#L71)

Gets or sets an optional node background color.

 `public double? Width { get; set; }` [#](#property-width) 

[TopologyHierarchy.cs:74](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchy.cs#L74)

Gets or sets the preferred node width.

 `public double? Height { get; set; }` [#](#property-height) 

[TopologyHierarchy.cs:77](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchy.cs#L77)

Gets or sets the preferred node height.

 `public TopologyHierarchyLayoutPolicy? LayoutPolicy { get; set; }` [#](#property-layoutpolicy) 

[TopologyHierarchy.cs:80](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchy.cs#L80)

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; }` [#](#property-metadata) 

[TopologyHierarchy.cs:83](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchy.cs#L83)

Gets arbitrary item metadata copied to the generated node. Builder-owned hierarchy and layer keys remain authoritative.

## Extension Methods

 Artwork 2 overloads 

 `public static TopologyHierarchyItem Artwork(TopologyHierarchyItem topologyHierarchyItem, TopologyIconArtwork? value)` [#](#extension-artwork-chartforgex-topology-topologyhierarchyitem-chartforgex-topology-topologyiconartwork) 

Sets [TopologyHierarchyItem.Artwork](/api/chartforgex-topology-topologyhierarchyitem/): Gets or sets node artwork, including an embedded portrait. The generated node captures this media configuration.

Parameters

**topologyHierarchyItem ChartForgeX.Topology.TopologyHierarchyItem required**

The instance.

**value ChartForgeX.Topology.TopologyIconArtwork? required**

The value.

Returns

 `TopologyHierarchyItem` The same instance. 

Examples

```csharp
// C# initializer or property             // C# fluent
topologyHierarchyItem.Artwork = value;    topologyHierarchyItem.Artwork(value);
```

 `public static TopologyHierarchyItem Artwork(TopologyHierarchyItem topologyHierarchyItem, Action<TopologyIconArtwork> configure)` [#](#extension-artwork-chartforgex-topology-topologyhierarchyitem-action-chartforgex-topology-topologyiconartwork) 

Configures [TopologyHierarchyItem.Artwork](/api/chartforgex-topology-topologyhierarchyitem/) in place (creating it when not set): Gets or sets node artwork, including an embedded portrait. The generated node captures this media configuration.

Parameters

**topologyHierarchyItem ChartForgeX.Topology.TopologyHierarchyItem required**

The instance.

**configure System.Action<ChartForgeX.Topology.TopologyIconArtwork> required**

Configures the value.

Returns

 `TopologyHierarchyItem` The same instance. 

 `public static TopologyHierarchyItem BackgroundColor(TopologyHierarchyItem topologyHierarchyItem, ChartColor? value)` [#](#extension-backgroundcolor-chartforgex-topology-topologyhierarchyitem-nullable-chartforgex-primitives-chartcolor) 

Sets [TopologyHierarchyItem.BackgroundColor](/api/chartforgex-topology-topologyhierarchyitem/): Gets or sets an optional node background color.

Parameters

**topologyHierarchyItem ChartForgeX.Topology.TopologyHierarchyItem required**

The instance.

**value ChartForgeX.Primitives.ChartColor? required**

The value.

Returns

 `TopologyHierarchyItem` The same instance. 

Examples

```csharp
// C# initializer or property                     // C# fluent
topologyHierarchyItem.BackgroundColor = value;    topologyHierarchyItem.BackgroundColor(value);
```

 `public static TopologyHierarchyItem Badge(TopologyHierarchyItem topologyHierarchyItem, string? value)` [#](#extension-badge-chartforgex-topology-topologyhierarchyitem-string) 

Sets [TopologyHierarchyItem.Badge](/api/chartforgex-topology-topologyhierarchyitem/): Gets or sets short badge text copied to the generated node.

Parameters

**topologyHierarchyItem ChartForgeX.Topology.TopologyHierarchyItem required**

The instance.

**value string? required**

The value.

Returns

 `TopologyHierarchyItem` The same instance. 

Examples

```csharp
// C# initializer or property           // C# fluent
topologyHierarchyItem.Badge = value;    topologyHierarchyItem.Badge(value);
```

 `public static TopologyHierarchyItem Color(TopologyHierarchyItem topologyHierarchyItem, ChartColor? value)` [#](#extension-color-chartforgex-topology-topologyhierarchyitem-nullable-chartforgex-primitives-chartcolor) 

Sets [TopologyHierarchyItem.Color](/api/chartforgex-topology-topologyhierarchyitem/): Gets or sets an optional accent color.

Parameters

**topologyHierarchyItem ChartForgeX.Topology.TopologyHierarchyItem required**

The instance.

**value ChartForgeX.Primitives.ChartColor? required**

The value.

Returns

 `TopologyHierarchyItem` The same instance. 

Examples

```csharp
// C# initializer or property           // C# fluent
topologyHierarchyItem.Color = value;    topologyHierarchyItem.Color(value);
```

 `public static TopologyHierarchyItem GroupId(TopologyHierarchyItem topologyHierarchyItem, string? value)` [#](#extension-groupid-chartforgex-topology-topologyhierarchyitem-string) 

Sets [TopologyHierarchyItem.GroupId](/api/chartforgex-topology-topologyhierarchyitem/): Gets or sets an optional group id.

Parameters

**topologyHierarchyItem ChartForgeX.Topology.TopologyHierarchyItem required**

The instance.

**value string? required**

The value.

Returns

 `TopologyHierarchyItem` The same instance. 

Examples

```csharp
// C# initializer or property             // C# fluent
topologyHierarchyItem.GroupId = value;    topologyHierarchyItem.GroupId(value);
```

 `public static TopologyHierarchyItem Height(TopologyHierarchyItem topologyHierarchyItem, double? value)` [#](#extension-height-chartforgex-topology-topologyhierarchyitem-nullable-system-double) 

Sets [TopologyHierarchyItem.Height](/api/chartforgex-topology-topologyhierarchyitem/): Gets or sets the preferred node height.

Parameters

**topologyHierarchyItem ChartForgeX.Topology.TopologyHierarchyItem required**

The instance.

**value double? required**

The value.

Returns

 `TopologyHierarchyItem` The same instance. 

Examples

```csharp
// C# initializer or property            // C# fluent
topologyHierarchyItem.Height = value;    topologyHierarchyItem.Height(value);
```

 `public static TopologyHierarchyItem IconId(TopologyHierarchyItem topologyHierarchyItem, string? value)` [#](#extension-iconid-chartforgex-topology-topologyhierarchyitem-string) 

Sets [TopologyHierarchyItem.IconId](/api/chartforgex-topology-topologyhierarchyitem/): Gets or sets an optional icon id from a topology icon catalog.

Parameters

**topologyHierarchyItem ChartForgeX.Topology.TopologyHierarchyItem required**

The instance.

**value string? required**

The value.

Returns

 `TopologyHierarchyItem` The same instance. 

Examples

```csharp
// C# initializer or property            // C# fluent
topologyHierarchyItem.IconId = value;    topologyHierarchyItem.IconId(value);
```

 `public static TopologyHierarchyItem Kind(TopologyHierarchyItem topologyHierarchyItem, TopologyNodeKind value)` [#](#extension-kind-chartforgex-topology-topologyhierarchyitem-chartforgex-topology-topologynodekind) 

Sets [TopologyHierarchyItem.Kind](/api/chartforgex-topology-topologyhierarchyitem/): Gets or sets the node kind used for the item.

Parameters

**topologyHierarchyItem ChartForgeX.Topology.TopologyHierarchyItem required**

The instance.

**value ChartForgeX.Topology.TopologyNodeKind required**

The value.

Returns

 `TopologyHierarchyItem` The same instance. 

Examples

```csharp
// C# initializer or property          // C# fluent
topologyHierarchyItem.Kind = value;    topologyHierarchyItem.Kind(value);
```

 `public static TopologyHierarchyItem LayoutPolicy(TopologyHierarchyItem topologyHierarchyItem, TopologyHierarchyLayoutPolicy? value)` [#](#extension-layoutpolicy-chartforgex-topology-topologyhierarchyitem-nullable-chartforgex-topology-topologyhierarchylayoutpolicy) 

Sets [TopologyHierarchyItem.LayoutPolicy](/api/chartforgex-topology-topologyhierarchyitem/): Gets or sets the layout policy applied to this item and its descendant subtree. Null inherits the parent policy.

Parameters

**topologyHierarchyItem ChartForgeX.Topology.TopologyHierarchyItem required**

The instance.

**value ChartForgeX.Topology.TopologyHierarchyLayoutPolicy? required**

The value.

Returns

 `TopologyHierarchyItem` The same instance. 

Examples

```csharp
// C# initializer or property                  // C# fluent
topologyHierarchyItem.LayoutPolicy = value;    topologyHierarchyItem.LayoutPolicy(value);
```

 `public static TopologyHierarchyItem Level(TopologyHierarchyItem topologyHierarchyItem, int? value)` [#](#extension-level-chartforgex-topology-topologyhierarchyitem-nullable-system-int32) 

Sets [TopologyHierarchyItem.Level](/api/chartforgex-topology-topologyhierarchyitem/): Gets or sets an explicit hierarchy level. When null, the builder infers it from the parent chain.

Parameters

**topologyHierarchyItem ChartForgeX.Topology.TopologyHierarchyItem required**

The instance.

**value int? required**

The value.

Returns

 `TopologyHierarchyItem` The same instance. 

Examples

```csharp
// C# initializer or property           // C# fluent
topologyHierarchyItem.Level = value;    topologyHierarchyItem.Level(value);
```

 `public static TopologyHierarchyItem Metadata(TopologyHierarchyItem topologyHierarchyItem, string key, string value)` [#](#extension-metadata-chartforgex-topology-topologyhierarchyitem-string-string) 

[TopologyHierarchyItem.Fluent.cs:13](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyHierarchyItem.Fluent.cs#L13)

Adds metadata and returns the same item.

Parameters

**topologyHierarchyItem ChartForgeX.Topology.TopologyHierarchyItem required**

**key string required**

**value string required**

Returns

 `TopologyHierarchyItem` 

 `public static TopologyHierarchyItem ParentEdgeLabel(TopologyHierarchyItem topologyHierarchyItem, string? value)` [#](#extension-parentedgelabel-chartforgex-topology-topologyhierarchyitem-string) 

Sets [TopologyHierarchyItem.ParentEdgeLabel](/api/chartforgex-topology-topologyhierarchyitem/): Gets or sets the label on the relationship from this item's parent. Roots have no incoming edge.

Parameters

**topologyHierarchyItem ChartForgeX.Topology.TopologyHierarchyItem required**

The instance.

**value string? required**

The value.

Returns

 `TopologyHierarchyItem` The same instance. 

Examples

```csharp
// C# initializer or property                     // C# fluent
topologyHierarchyItem.ParentEdgeLabel = value;    topologyHierarchyItem.ParentEdgeLabel(value);
```

 `public static TopologyHierarchyItem ParentEdgeStatus(TopologyHierarchyItem topologyHierarchyItem, TopologyHealthStatus? value)` [#](#extension-parentedgestatus-chartforgex-topology-topologyhierarchyitem-nullable-chartforgex-topology-topologyhealthstatus) 

Sets [TopologyHierarchyItem.ParentEdgeStatus](/api/chartforgex-topology-topologyhierarchyitem/): Gets or sets the incoming relationship's health. Null uses [TopologyHierarchyOptions.EdgeStatus](/api/chartforgex-topology-topologyhierarchyoptions/).

Parameters

**topologyHierarchyItem ChartForgeX.Topology.TopologyHierarchyItem required**

The instance.

**value ChartForgeX.Topology.TopologyHealthStatus? required**

The value.

Returns

 `TopologyHierarchyItem` The same instance. 

Examples

```csharp
// C# initializer or property                      // C# fluent
topologyHierarchyItem.ParentEdgeStatus = value;    topologyHierarchyItem.ParentEdgeStatus(value);
```

 `public static TopologyHierarchyItem ParentId(TopologyHierarchyItem topologyHierarchyItem, string? value)` [#](#extension-parentid-chartforgex-topology-topologyhierarchyitem-string) 

Sets [TopologyHierarchyItem.ParentId](/api/chartforgex-topology-topologyhierarchyitem/): Gets or sets the parent item id.

Parameters

**topologyHierarchyItem ChartForgeX.Topology.TopologyHierarchyItem required**

The instance.

**value string? required**

The value.

Returns

 `TopologyHierarchyItem` The same instance. 

Examples

```csharp
// C# initializer or property              // C# fluent
topologyHierarchyItem.ParentId = value;    topologyHierarchyItem.ParentId(value);
```

 `public static TopologyHierarchyItem ShowHealthRing(TopologyHierarchyItem topologyHierarchyItem, bool value = true)` [#](#extension-showhealthring-chartforgex-topology-topologyhierarchyitem-boolean) 

Sets [TopologyHierarchyItem.ShowHealthRing](/api/chartforgex-topology-topologyhierarchyitem/): Gets or sets whether the generated node shows a semantic health ring independently of its accent.

Parameters

**topologyHierarchyItem ChartForgeX.Topology.TopologyHierarchyItem required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `TopologyHierarchyItem` The same instance. 

Examples

```csharp
// C# initializer or property                    // C# fluent
topologyHierarchyItem.ShowHealthRing = value;    topologyHierarchyItem.ShowHealthRing(value);
```

 `public static TopologyHierarchyItem Status(TopologyHierarchyItem topologyHierarchyItem, TopologyHealthStatus value)` [#](#extension-status-chartforgex-topology-topologyhierarchyitem-chartforgex-topology-topologyhealthstatus) 

Sets [TopologyHierarchyItem.Status](/api/chartforgex-topology-topologyhierarchyitem/): Gets or sets the item health state.

Parameters

**topologyHierarchyItem ChartForgeX.Topology.TopologyHierarchyItem required**

The instance.

**value ChartForgeX.Topology.TopologyHealthStatus required**

The value.

Returns

 `TopologyHierarchyItem` The same instance. 

Examples

```csharp
// C# initializer or property            // C# fluent
topologyHierarchyItem.Status = value;    topologyHierarchyItem.Status(value);
```

 `public static TopologyHierarchyItem Subtitle(TopologyHierarchyItem topologyHierarchyItem, string? value)` [#](#extension-subtitle-chartforgex-topology-topologyhierarchyitem-string) 

Sets [TopologyHierarchyItem.Subtitle](/api/chartforgex-topology-topologyhierarchyitem/): Gets or sets the optional subtitle.

Parameters

**topologyHierarchyItem ChartForgeX.Topology.TopologyHierarchyItem required**

The instance.

**value string? required**

The value.

Returns

 `TopologyHierarchyItem` The same instance. 

Examples

```csharp
// C# initializer or property              // C# fluent
topologyHierarchyItem.Subtitle = value;    topologyHierarchyItem.Subtitle(value);
```

 `public static TopologyHierarchyItem Symbol(TopologyHierarchyItem topologyHierarchyItem, string? value)` [#](#extension-symbol-chartforgex-topology-topologyhierarchyitem-string) 

Sets [TopologyHierarchyItem.Symbol](/api/chartforgex-topology-topologyhierarchyitem/): Gets or sets the optional visual symbol.

Parameters

**topologyHierarchyItem ChartForgeX.Topology.TopologyHierarchyItem required**

The instance.

**value string? required**

The value.

Returns

 `TopologyHierarchyItem` The same instance. 

Examples

```csharp
// C# initializer or property            // C# fluent
topologyHierarchyItem.Symbol = value;    topologyHierarchyItem.Symbol(value);
```

 `public static TopologyHierarchyItem Width(TopologyHierarchyItem topologyHierarchyItem, double? value)` [#](#extension-width-chartforgex-topology-topologyhierarchyitem-nullable-system-double) 

Sets [TopologyHierarchyItem.Width](/api/chartforgex-topology-topologyhierarchyitem/): Gets or sets the preferred node width.

Parameters

**topologyHierarchyItem ChartForgeX.Topology.TopologyHierarchyItem required**

The instance.

**value double? required**

The value.

Returns

 `TopologyHierarchyItem` The same instance. 

Examples

```csharp
// C# initializer or property           // C# fluent
topologyHierarchyItem.Width = value;    topologyHierarchyItem.Width(value);
```

<!-- PowerForge markdown artifact sha256:04A55AF13D73FA7E274F8A2677C919805A68E769E1878DEA6D0F24667339D971 -->
