# TopologyHierarchyOptions

Controls how hierarchy items are projected into a topology chart.

 Class  

`ChartForgeX.Topology`

**Namespace**

`ChartForgeX.Topology`

**Assembly**

`ChartForgeX`

**Source**

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

**Modifiers**

sealed

Controls how hierarchy items are projected into a topology chart.

## Inheritance

- object
- TopologyHierarchyOptions

## Usage

 Explore 2 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.

### Accepted by parameters 2

- Extension method [TopologyChart.AddHierarchy](/api/chartforgex-topology-topologychart/#extension-addhierarchy-chartforgex-topology-topologychart-collections-generic-ienumerable-chartforgex-topology-topologyhierarchyitem-chartforgex-topology-topologyhierarchyoptions) parameter `options`
- Method [TopologyHierarchyExtensions.AddHierarchy](/api/chartforgex-topology-topologyhierarchyextensions/#method-addhierarchy-chartforgex-topology-topologychart-collections-generic-ienumerable-chartforgex-topology-topologyhierarchyitem-chartforgex-topology-topologyhierarchyoptions) parameter `options`

 Filter members   

    Show inherited   

 

## Constructors

 `public TopologyHierarchyOptions()` [#](#constructor-ctor) 

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

## 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 int? MinLevel { get; set; }` [#](#property-minlevel) 

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

Gets or sets the lowest primary visible level. Null starts at the root level.

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

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

Gets or sets the highest visible level. Null includes the full hierarchy.

 `public bool IncludeAncestorContext { get; set; }` [#](#property-includeancestorcontext) 

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

Gets or sets whether ancestors below [TopologyHierarchyOptions.MinLevel](/api/chartforgex-topology-topologyhierarchyoptions/) are kept as context breadcrumbs.

 `public int RootLevel { get; set; }` [#](#property-rootlevel) 

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

Gets or sets the level used for root items when levels are inferred.

 `public bool ApplyLayeredLayout { get; set; }` [#](#property-applylayeredlayout) 

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

Gets or sets whether the chart should switch to layered layout.

 `public TopologyLayoutDirection LayoutDirection { get; set; }` [#](#property-layoutdirection) 

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

Gets or sets the layered flow direction.

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

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

Gets or sets the default hierarchy layout policy inherited by items without an explicit policy.

 `public TopologyNodeDisplayMode? NodeDisplayMode { get; set; }` [#](#property-nodedisplaymode) 

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

Gets or sets the default generated node display mode.

 `public double NodeWidth { get; set; }` [#](#property-nodewidth) 

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

Gets or sets the default node width.

 `public double NodeHeight { get; set; }` [#](#property-nodeheight) 

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

Gets or sets the default node height.

 `public TopologyEdgeKind EdgeKind { get; set; }` [#](#property-edgekind) 

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

Gets or sets the generated hierarchy edge kind.

 `public TopologyHealthStatus EdgeStatus { get; set; }` [#](#property-edgestatus) 

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

Gets or sets the generated hierarchy edge health state.

 `public VisualLinkDirection EdgeDirection { get; set; }` [#](#property-edgedirection) 

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

Gets or sets the generated hierarchy edge direction.

 `public TopologyEdgeRouting EdgeRouting { get; set; }` [#](#property-edgerouting) 

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

Gets or sets the generated hierarchy edge routing.

 `public string EdgeIdPrefix { get; set; }` [#](#property-edgeidprefix) 

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

Gets or sets the generated hierarchy edge id prefix.

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