# TopologyLabels

Holds the words ChartForgeX writes into rendered topology diagrams on its own, so hosts can localize them, as ChartLabels does for charts. Defaults are English.

 Class  

`ChartForgeX.Topology`

**Namespace**

`ChartForgeX.Topology`

**Assembly**

`ChartForgeX`

**Source**

[TopologyLabels.cs:14](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyLabels.cs#L14)

**Modifiers**

sealed

**Attributes**

 `Fluent(Copy = "Clone")` 

Holds the words ChartForgeX writes into rendered topology diagrams on its own, so hosts can localize them, as [ChartLabels](/api/chartforgex-core-chartlabels/) does for charts. Defaults are English.

## Inheritance

- object
- TopologyLabels

## Usage

 Explore 21 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 9

- Property [TopologyChart.Labels](/api/chartforgex-topology-topologychart/#property-labels)
- Extension method [TopologyLabels.AccessibleTextBy](/api/chartforgex-topology-topologylabels/#extension-accessibletextby-chartforgex-topology-topologylabels-func-chartforgex-core-chartdescriptionfacts-system-string)
- Extension method [TopologyLabels.HiddenDescendants](/api/chartforgex-topology-topologylabels/#extension-hiddendescendants-chartforgex-topology-topologylabels-string)
- Extension method [TopologyLabels.UntitledReport](/api/chartforgex-topology-topologylabels/#extension-untitledreport-chartforgex-topology-topologylabels-string)
- Extension method [TopologyLabels.UntitledTopology](/api/chartforgex-topology-topologylabels/#extension-untitledtopology-chartforgex-topology-topologylabels-string)
- Method [TopologyLabelsFluent.AccessibleTextBy](/api/chartforgex-topology-topologylabelsfluent/#method-accessibletextby-chartforgex-topology-topologylabels-func-chartforgex-core-chartdescriptionfacts-system-string)
- Method [TopologyLabelsFluent.HiddenDescendants](/api/chartforgex-topology-topologylabelsfluent/#method-hiddendescendants-chartforgex-topology-topologylabels-string)
- Method [TopologyLabelsFluent.UntitledReport](/api/chartforgex-topology-topologylabelsfluent/#method-untitledreport-chartforgex-topology-topologylabels-string)
- Method [TopologyLabelsFluent.UntitledTopology](/api/chartforgex-topology-topologylabelsfluent/#method-untitledtopology-chartforgex-topology-topologylabels-string)

### Accepted by parameters 12

- Extension method [TopologyChart.Labels](/api/chartforgex-topology-topologychart/#extension-labels-chartforgex-topology-topologychart-action-chartforgex-topology-topologylabels) parameter `configure`
- Extension method [TopologyChart.Labels](/api/chartforgex-topology-topologychart/#extension-labels-chartforgex-topology-topologychart-chartforgex-topology-topologylabels) parameter `value`
- Method [TopologyChartFluent.Labels](/api/chartforgex-topology-topologychartfluent/#method-labels-chartforgex-topology-topologychart-action-chartforgex-topology-topologylabels) parameter `configure`
- Method [TopologyChartFluent.Labels](/api/chartforgex-topology-topologychartfluent/#method-labels-chartforgex-topology-topologychart-chartforgex-topology-topologylabels) parameter `value`
- Extension method [TopologyLabels.AccessibleTextBy](/api/chartforgex-topology-topologylabels/#extension-accessibletextby-chartforgex-topology-topologylabels-func-chartforgex-core-chartdescriptionfacts-system-string) parameter `topologyLabels`
- Extension method [TopologyLabels.HiddenDescendants](/api/chartforgex-topology-topologylabels/#extension-hiddendescendants-chartforgex-topology-topologylabels-string) parameter `topologyLabels`
- Extension method [TopologyLabels.UntitledReport](/api/chartforgex-topology-topologylabels/#extension-untitledreport-chartforgex-topology-topologylabels-string) parameter `topologyLabels`
- Extension method [TopologyLabels.UntitledTopology](/api/chartforgex-topology-topologylabels/#extension-untitledtopology-chartforgex-topology-topologylabels-string) parameter `topologyLabels`
- Method [TopologyLabelsFluent.AccessibleTextBy](/api/chartforgex-topology-topologylabelsfluent/#method-accessibletextby-chartforgex-topology-topologylabels-func-chartforgex-core-chartdescriptionfacts-system-string) parameter `topologyLabels`
- Method [TopologyLabelsFluent.HiddenDescendants](/api/chartforgex-topology-topologylabelsfluent/#method-hiddendescendants-chartforgex-topology-topologylabels-string) parameter `topologyLabels`
- Method [TopologyLabelsFluent.UntitledReport](/api/chartforgex-topology-topologylabelsfluent/#method-untitledreport-chartforgex-topology-topologylabels-string) parameter `topologyLabels`
- Method [TopologyLabelsFluent.UntitledTopology](/api/chartforgex-topology-topologylabelsfluent/#method-untitledtopology-chartforgex-topology-topologylabels-string) parameter `topologyLabels`

 Filter members   

    Show inherited   

 

## Constructors

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

[TopologyLabels.cs:14](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyLabels.cs#L14)

## 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 UntitledTopology { get; set; }` [#](#property-untitledtopology) 

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

Gets or sets the accessible name of a diagram without a title (the SVG title element and the HTML page title). Default ChartForgeX topology.

 `public Func<ChartDescriptionFacts, string?>? AccessibleTextFormatter { get; set; }` [#](#property-accessibletextformatter) 

[TopologyLabels.cs:37](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyLabels.cs#L37)

 `Fluent("AccessibleTextBy")` 

Gets or sets a function that writes the automatic description (the SVG desc element) from its [ChartDescriptionFacts](/api/chartforgex-core-chartdescriptionfacts/), whose [ChartDescriptionFacts.Kind](/api/chartforgex-core-chartdescriptionfacts/) is [ChartDescriptionKind.Topology](/api/chartforgex-core-chartdescriptionkind/) with the node, group, and edge counts. It takes the same facts as [ChartLabels.AccessibleTextFormatter](/api/chartforgex-core-chartlabels/), so a host can use one formatter for charts and diagrams. Null (the default), or a function returning null or white space, writes [ChartDescriptionFacts.EnglishText](/api/chartforgex-core-chartdescriptionfacts/). A description set through Accessibility still wins and the function is not called for it. Exceptions thrown by the function are not caught; they surface from the render call.

 `public string UntitledReport { get; set; }` [#](#property-untitledreport) 

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

Gets or sets the title of a topology report (TopologyReport) whose source diagram has no title; its pages add their number. Default Topology report.

 `public string HiddenDescendants { get; set; }` [#](#property-hiddendescendants) 

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

Gets or sets the caption for a derived collapsed-descendant count in a hierarchy card.

## Extension Methods

 `public static TopologyLabels AccessibleTextBy(TopologyLabels topologyLabels, Func<ChartDescriptionFacts, string?>? value)` [#](#extension-accessibletextby-chartforgex-topology-topologylabels-func-chartforgex-core-chartdescriptionfacts-system-string) 

Sets [TopologyLabels.AccessibleTextFormatter](/api/chartforgex-topology-topologylabels/): Gets or sets a function that writes the automatic description (the SVG desc element) from its [ChartDescriptionFacts](/api/chartforgex-core-chartdescriptionfacts/), whose [ChartDescriptionFacts.Kind](/api/chartforgex-core-chartdescriptionfacts/) is [ChartDescriptionKind.Topology](/api/chartforgex-core-chartdescriptionkind/) with the node, group, and edge counts. It takes the same facts as [ChartLabels.AccessibleTextFormatter](/api/chartforgex-core-chartlabels/), so a host can use one formatter for charts and diagrams. Null (the default), or a function returning null or white space, writes [ChartDescriptionFacts.EnglishText](/api/chartforgex-core-chartdescriptionfacts/). A description set through Accessibility still wins and the function is not called for it. Exceptions thrown by the function are not caught; they surface from the render call.

Parameters

**topologyLabels ChartForgeX.Topology.TopologyLabels required**

The instance.

**value System.Func<ChartForgeX.Core.ChartDescriptionFacts, string?>? required**

The callback.

Returns

 `TopologyLabels` The same instance. 

Examples

```csharp
// C# initializer or property                                                           // C# fluent
new global::ChartForgeX.Topology.TopologyLabels { AccessibleTextFormatter = value };    topologyLabels.AccessibleTextBy(value);
```

 `public static TopologyLabels HiddenDescendants(TopologyLabels topologyLabels, string value)` [#](#extension-hiddendescendants-chartforgex-topology-topologylabels-string) 

Sets [TopologyLabels.HiddenDescendants](/api/chartforgex-topology-topologylabels/): Gets or sets the caption for a derived collapsed-descendant count in a hierarchy card.

Parameters

**topologyLabels ChartForgeX.Topology.TopologyLabels required**

The instance.

**value string required**

The value.

Returns

 `TopologyLabels` The same instance. 

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::ChartForgeX.Topology.TopologyLabels { HiddenDescendants = value };    topologyLabels.HiddenDescendants(value);
```

 `public static TopologyLabels UntitledReport(TopologyLabels topologyLabels, string value)` [#](#extension-untitledreport-chartforgex-topology-topologylabels-string) 

Sets [TopologyLabels.UntitledReport](/api/chartforgex-topology-topologylabels/): Gets or sets the title of a topology report (TopologyReport) whose source diagram has no title; its pages add their number. Default Topology report.

Parameters

**topologyLabels ChartForgeX.Topology.TopologyLabels required**

The instance.

**value string required**

The value.

Returns

 `TopologyLabels` The same instance. 

Examples

```csharp
// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Topology.TopologyLabels { UntitledReport = value };    topologyLabels.UntitledReport(value);
```

 `public static TopologyLabels UntitledTopology(TopologyLabels topologyLabels, string value)` [#](#extension-untitledtopology-chartforgex-topology-topologylabels-string) 

Sets [TopologyLabels.UntitledTopology](/api/chartforgex-topology-topologylabels/): Gets or sets the accessible name of a diagram without a title (the SVG title element and the HTML page title). Default ChartForgeX topology.

Parameters

**topologyLabels ChartForgeX.Topology.TopologyLabels required**

The instance.

**value string required**

The value.

Returns

 `TopologyLabels` The same instance. 

Examples

```csharp
// C# initializer or property                                                    // C# fluent
new global::ChartForgeX.Topology.TopologyLabels { UntitledTopology = value };    topologyLabels.UntitledTopology(value);
```

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