Skip to content
ChartForgeX
Class

TopologyGroup

ChartForgeX.Topology

Namespace
ChartForgeX.Topology
Assembly
ChartForgeX
Modifiers
sealed
Attributes
Fluent

Represents a logical topology region or cluster.

Inheritance

  • object
  • TopologyGroup

Usage

Explore 137 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 65

Accepted by parameters 72

Constructors

public TopologyGroup() #

Properties

public string? ParentGroupId { get; set; } #

Gets or sets the containing group id, or null for a root region.

public TopologyLayoutDirection? LayoutDirection { get; set; } #

Gets or sets a local automatic layered or swimlane composition direction, or null to inherit the containing region.

public ChartColor? BackgroundColor { get; set; } #

Gets or sets an explicit container surface paint. Null keeps the render option's native surface.

public ChartColor? BorderColor { get; set; } #

Gets or sets an explicit container outline paint. Null keeps the group's accent-derived outline.

public ChartColor? LabelColor { get; set; } #

Gets or sets an explicit group title and subtitle paint. Null keeps the theme's text paints.

public bool ShowLabel { get; set; } #

Gets or sets whether the group title and subtitle are painted. Semantic labels and icons are retained.

public TopologyGroupPresentation Presentation { get; set; } #

Gets or sets whether this group is an independent container or a compartment of its parent.

public double? StrokeWidth { get; set; } #

Gets or sets the container boundary width in model units; null inherits native theme and selection width.

public double? Opacity { get; set; } #

Gets or sets opacity of this container's completed own ink, excluding descendant nodes, groups and relationships.

public double? SurfaceOpacity { get; set; } #

Gets or sets per-boundary-element fill and stroke opacity, excluding caption, glyph and descendant ink.

public List<double> DashPattern { get; } #

Gets alternating boundary dash and gap lengths in model units; an empty list retains the ordinary solid outline.

public string Id { get; set; } #

Gets or sets the stable group identifier.

public string Label { get; set; } #

Gets or sets the group label; assigning it resets inline formatting.

public string? Subtitle { get; set; } #

Gets or sets the optional group subtitle.

public TopologyHealthStatus Status { get; set; } #

Gets or sets the group status.

public double X { get; set; } #

Gets or sets the group x-coordinate.

public double Y { get; set; } #

Gets or sets the group y-coordinate.

public double? Longitude { get; set; } #

Gets or sets the optional group longitude in degrees.

public double? Latitude { get; set; } #

Gets or sets the optional group latitude in degrees.

public double Width { get; set; } #

Gets or sets the group width.

public double Height { get; set; } #

Gets or sets the group height.

public string? Href { get; set; } #

Gets or sets an optional drill-down link.

public string? Tooltip { get; set; } #

Gets or sets an optional SVG tooltip.

public string? CssClass { get; set; } #

Gets or sets optional caller-provided CSS class tokens for SVG/HTML hosts.

public string? Symbol { get; set; } #

Gets or sets an optional short group symbol used by renderers.

public string? IconId { get; set; } #

Gets or sets an optional reusable icon id such as microsoft-ad:site.

public ChartColor? Color { get; set; } #

Gets or sets an optional group accent color. When set, this colors the group shell independently from health status.

public TopologyGroupLayoutPolicy LayoutPolicy { get; set; } #

Gets or sets the preferred node arrangement policy for dense grouped layouts.

public TopologyGroupLayoutPolicy AppliedLayoutPolicy { get; set; } #

Gets or sets the resolved node arrangement policy applied by layout preparation.

public Dictionary<string, string> Metadata { get; } #

Gets arbitrary metadata for host adapters.

public string? StatusText { get; set; } #

Gets or sets optional wording for a status chip in the region header. Null omits the chip.

public TextContent LabelContent { get; set; } #

Gets or sets immutable safe header content. Label projects its plain text; assigning Label resets inline formatting.

public TextStyleOverride? TextStyle { get; set; } #

Gets or sets base typography for this region's measured native header and routing reservation.

Extension Methods

public static TopologyGroup AppliedLayoutPolicy(TopologyGroup topologyGroup, TopologyGroupLayoutPolicy value) #

Sets TopologyGroup.AppliedLayoutPolicy: Gets or sets the resolved node arrangement policy applied by layout preparation.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value ChartForgeX.Topology.TopologyGroupLayoutPolicy required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { AppliedLayoutPolicy = value };    topologyGroup.AppliedLayoutPolicy(value);
public static TopologyGroup BackgroundColor(TopologyGroup topologyGroup, ChartColor? value) #

Sets TopologyGroup.BackgroundColor: Gets or sets an explicit container surface paint. Null keeps the render option's native surface.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value ChartForgeX.Primitives.ChartColor? required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { BackgroundColor = value };    topologyGroup.BackgroundColor(value);
public static TopologyGroup BorderColor(TopologyGroup topologyGroup, ChartColor? value) #

Sets TopologyGroup.BorderColor: Gets or sets an explicit container outline paint. Null keeps the group's accent-derived outline.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value ChartForgeX.Primitives.ChartColor? required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { BorderColor = value };    topologyGroup.BorderColor(value);
public static TopologyGroup Color(TopologyGroup topologyGroup, ChartColor? value) #

Sets TopologyGroup.Color: Gets or sets an optional group accent color. When set, this colors the group shell independently from health status.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value ChartForgeX.Primitives.ChartColor? required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { Color = value };    topologyGroup.Color(value);
public static TopologyGroup CssClass(TopologyGroup topologyGroup, string? value) #

Sets TopologyGroup.CssClass: Gets or sets optional caller-provided CSS class tokens for SVG/HTML hosts.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value string? required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { CssClass = value };    topologyGroup.CssClass(value);
DashPattern 2 overloads
public static TopologyGroup DashPattern(TopologyGroup topologyGroup, double item) #

Adds an item to TopologyGroup.DashPattern: Gets alternating boundary dash and gap lengths in model units; an empty list retains the ordinary solid outline.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
item double required
The item.

Returns

TopologyGroup The same instance.
public static TopologyGroup DashPattern(TopologyGroup topologyGroup, IEnumerable<double> items) #

Adds items to TopologyGroup.DashPattern: Gets alternating boundary dash and gap lengths in model units; an empty list retains the ordinary solid outline.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
items System.Collections.Generic.IEnumerable<double> required
The items, in order.

Returns

TopologyGroup The same instance.
public static TopologyGroup Height(TopologyGroup topologyGroup, double value) #

Sets TopologyGroup.Height: Gets or sets the group height.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value double required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { Height = value };    topologyGroup.Height(value);
public static TopologyGroup Href(TopologyGroup topologyGroup, string? value) #

Sets TopologyGroup.Href: Gets or sets an optional drill-down link.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value string? required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { Href = value };    topologyGroup.Href(value);
public static TopologyGroup IconId(TopologyGroup topologyGroup, string? value) #

Sets TopologyGroup.IconId: Gets or sets an optional reusable icon id such as microsoft-ad:site.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value string? required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { IconId = value };    topologyGroup.IconId(value);
public static TopologyGroup Id(TopologyGroup topologyGroup, string value) #

Sets TopologyGroup.Id: Gets or sets the stable group identifier.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value string required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                     // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { Id = value };    topologyGroup.Id(value);
public static TopologyGroup Label(TopologyGroup topologyGroup, string value) #

Sets TopologyGroup.Label: Gets or sets the group label; assigning it resets inline formatting.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value string required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { Label = value };    topologyGroup.Label(value);
public static TopologyGroup LabelColor(TopologyGroup topologyGroup, ChartColor? value) #

Sets TopologyGroup.LabelColor: Gets or sets an explicit group title and subtitle paint. Null keeps the theme's text paints.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value ChartForgeX.Primitives.ChartColor? required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { LabelColor = value };    topologyGroup.LabelColor(value);
public static TopologyGroup LabelContent(TopologyGroup topologyGroup, TextContent value) #

Sets TopologyGroup.LabelContent: Gets or sets immutable safe header content. Label projects its plain text; assigning Label resets inline formatting.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value ChartForgeX.Typography.TextContent required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { LabelContent = value };    topologyGroup.LabelContent(value);
public static TopologyGroup Latitude(TopologyGroup topologyGroup, double? value) #

Sets TopologyGroup.Latitude: Gets or sets the optional group latitude in degrees.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value double? required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { Latitude = value };    topologyGroup.Latitude(value);
public static TopologyGroup LayoutDirection(TopologyGroup topologyGroup, TopologyLayoutDirection? value) #

Sets TopologyGroup.LayoutDirection: Gets or sets a local automatic layered or swimlane composition direction, or null to inherit the containing region.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value ChartForgeX.Topology.TopologyLayoutDirection? required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { LayoutDirection = value };    topologyGroup.LayoutDirection(value);
public static TopologyGroup LayoutPolicy(TopologyGroup topologyGroup, TopologyGroupLayoutPolicy value) #

Sets TopologyGroup.LayoutPolicy: Gets or sets the preferred node arrangement policy for dense grouped layouts.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value ChartForgeX.Topology.TopologyGroupLayoutPolicy required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { LayoutPolicy = value };    topologyGroup.LayoutPolicy(value);
public static TopologyGroup Longitude(TopologyGroup topologyGroup, double? value) #

Sets TopologyGroup.Longitude: Gets or sets the optional group longitude in degrees.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value double? required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { Longitude = value };    topologyGroup.Longitude(value);
public static TopologyGroup Opacity(TopologyGroup topologyGroup, double? value) #

Sets TopologyGroup.Opacity: Gets or sets opacity of this container's completed own ink, excluding descendant nodes, groups and relationships.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value double? required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { Opacity = value };    topologyGroup.Opacity(value);
public static TopologyGroup ParentGroupId(TopologyGroup topologyGroup, string? value) #

Sets TopologyGroup.ParentGroupId: Gets or sets the containing group id, or null for a root region.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value string? required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { ParentGroupId = value };    topologyGroup.ParentGroupId(value);
public static TopologyGroup Presentation(TopologyGroup topologyGroup, TopologyGroupPresentation value) #

Sets TopologyGroup.Presentation: Gets or sets whether this group is an independent container or a compartment of its parent.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value ChartForgeX.Topology.TopologyGroupPresentation required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { Presentation = value };    topologyGroup.Presentation(value);
public static TopologyGroup ShowLabel(TopologyGroup topologyGroup, bool value = true) #

Sets TopologyGroup.ShowLabel: Gets or sets whether the group title and subtitle are painted. Semantic labels and icons are retained.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { ShowLabel = value };    topologyGroup.ShowLabel(value);
public static TopologyGroup Status(TopologyGroup topologyGroup, TopologyHealthStatus value) #

Sets TopologyGroup.Status: Gets or sets the group status.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value ChartForgeX.Topology.TopologyHealthStatus required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { Status = value };    topologyGroup.Status(value);
public static TopologyGroup StatusText(TopologyGroup topologyGroup, string? value) #

Sets TopologyGroup.StatusText: Gets or sets optional wording for a status chip in the region header. Null omits the chip.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value string? required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { StatusText = value };    topologyGroup.StatusText(value);
public static TopologyGroup StrokeWidth(TopologyGroup topologyGroup, double? value) #

Sets TopologyGroup.StrokeWidth: Gets or sets the container boundary width in model units; null inherits native theme and selection width.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value double? required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { StrokeWidth = value };    topologyGroup.StrokeWidth(value);
public static TopologyGroup Subtitle(TopologyGroup topologyGroup, string? value) #

Sets TopologyGroup.Subtitle: Gets or sets the optional group subtitle.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value string? required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { Subtitle = value };    topologyGroup.Subtitle(value);
public static TopologyGroup SurfaceOpacity(TopologyGroup topologyGroup, double? value) #

Sets TopologyGroup.SurfaceOpacity: Gets or sets per-boundary-element fill and stroke opacity, excluding caption, glyph and descendant ink.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value double? required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { SurfaceOpacity = value };    topologyGroup.SurfaceOpacity(value);
public static TopologyGroup Symbol(TopologyGroup topologyGroup, string? value) #

Sets TopologyGroup.Symbol: Gets or sets an optional short group symbol used by renderers.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value string? required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { Symbol = value };    topologyGroup.Symbol(value);
TextStyle 2 overloads
public static TopologyGroup TextStyle(TopologyGroup topologyGroup, TextStyleOverride? value) #

Sets TopologyGroup.TextStyle: Gets or sets base typography for this region's measured native header and routing reservation.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value ChartForgeX.Typography.TextStyleOverride? required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { TextStyle = value };    topologyGroup.TextStyle(value);
public static TopologyGroup TextStyle(TopologyGroup topologyGroup, Action<TextStyleOverride> configure) #

Configures a copy of TopologyGroup.TextStyle (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets or sets base typography for this region's measured native header and routing reservation.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
configure System.Action<ChartForgeX.Typography.TextStyleOverride> required
Configures the copy.

Returns

TopologyGroup The same instance.
public static TopologyGroup Tooltip(TopologyGroup topologyGroup, string? value) #

Sets TopologyGroup.Tooltip: Gets or sets an optional SVG tooltip.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value string? required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { Tooltip = value };    topologyGroup.Tooltip(value);
public static TopologyGroup Width(TopologyGroup topologyGroup, double value) #

Sets TopologyGroup.Width: Gets or sets the group width.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value double required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { Width = value };    topologyGroup.Width(value);
public static TopologyGroup X(TopologyGroup topologyGroup, double value) #

Sets TopologyGroup.X: Gets or sets the group x-coordinate.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value double required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                    // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { X = value };    topologyGroup.X(value);
public static TopologyGroup Y(TopologyGroup topologyGroup, double value) #

Sets TopologyGroup.Y: Gets or sets the group y-coordinate.

Parameters

topologyGroup ChartForgeX.Topology.TopologyGroup required
The instance.
value double required
The value.

Returns

TopologyGroup The same instance.

Examples

// C# initializer or property                                    // C# fluent
new global::ChartForgeX.Topology.TopologyGroup { Y = value };    topologyGroup.Y(value);