# TopologyHierarchyExtensions

Fluent helpers for reusable hierarchy and team topology diagrams.

 Class  

`ChartForgeX.Topology`

**Namespace**

`ChartForgeX.Topology`

**Assembly**

`ChartForgeX`

**Source**

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

**Modifiers**

static

Fluent helpers for reusable hierarchy and team topology diagrams.

## Inheritance

- object
- TopologyHierarchyExtensions

 Filter members   

    Show inherited   

 

## Methods

 `public static TopologyChart AddHierarchy(TopologyChart chart, IEnumerable<TopologyHierarchyItem> items, TopologyHierarchyOptions? options = null)` [#](#method-addhierarchy-chartforgex-topology-topologychart-collections-generic-ienumerable-chartforgex-topology-topologyhierarchyitem-chartforgex-topology-topologyhierarchyoptions) 

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

Adds parent-child hierarchy items to a topology chart.

Parameters

**chart ChartForgeX.Topology.TopologyChart required**

**items System.Collections.Generic.IEnumerable<ChartForgeX.Topology.TopologyHierarchyItem> required**

**options ChartForgeX.Topology.TopologyHierarchyOptions? = null optional**

Returns

 `TopologyChart` 

 `public static TopologyChart AddTeam(TopologyChart chart, string teamId, string teamLabel, IEnumerable<TopologyTeamMember> members, TopologyTeamOptions? options = null)` [#](#method-addteam-chartforgex-topology-topologychart-string-string-collections-generic-ienumerable-chartforgex-topology-topologyteammember-chartforgex-topology-topologyteamoptions) 

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

Adds a reusable team or org diagram to a topology chart.

Parameters

**chart ChartForgeX.Topology.TopologyChart required**

**teamId string required**

**teamLabel string required**

**members System.Collections.Generic.IEnumerable<ChartForgeX.Topology.TopologyTeamMember> required**

**options ChartForgeX.Topology.TopologyTeamOptions? = null optional**

Returns

 `TopologyChart` 

## 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?` 

<!-- PowerForge markdown artifact sha256:A28D23A79DBDAA6BCDFA7E315CD7E2A0C06EDAB671753F2DA12EB3F3C4A566C3 -->
