Skip to content
ChartForgeX
Class

TopologyChartFluent

ChartForgeX.Topology

Namespace
ChartForgeX.Topology
Assembly
ChartForgeX
Modifiers
static

The fluent methods of TopologyChart, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • TopologyChartFluent

Methods

Accessibility 2 overloads
public static TopologyChart Accessibility(TopologyChart topologyChart, VisualAccessibility value) #

Sets TopologyChart.Accessibility: Gets accessibility metadata shared by capable renderers and hosts.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
value ChartForgeX.Accessibility.VisualAccessibility required
The value.

Returns

TopologyChart The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::ChartForgeX.Topology.TopologyChart { Accessibility = value };    topologyChart.Accessibility(value);
public static TopologyChart Accessibility(TopologyChart topologyChart, Action<VisualAccessibility> configure) #

Configures a copy of TopologyChart.Accessibility (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 accessibility metadata shared by capable renderers and hosts.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
configure System.Action<ChartForgeX.Accessibility.VisualAccessibility> required
Configures the copy.

Returns

TopologyChart The same instance.
public static TopologyChart Alignment(TopologyChart topologyChart, TopologyAlignment item) #

Adds an item to TopologyChart.Alignments: Gets ordered row/column declarations for Layered placement or supplied Manual geometry validation.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
item ChartForgeX.Topology.TopologyAlignment required
The item.

Returns

TopologyChart The same instance.
public static TopologyChart Alignments(TopologyChart topologyChart, IEnumerable<TopologyAlignment> items) #

Adds items to TopologyChart.Alignments: Gets ordered row/column declarations for Layered placement or supplied Manual geometry validation.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
items System.Collections.Generic.IEnumerable<ChartForgeX.Topology.TopologyAlignment> required
The items, in order.

Returns

TopologyChart The same instance.
public static TopologyChart Annotation(TopologyChart topologyChart, TopologyAnnotation item) #

Adds an item to TopologyChart.Annotations: Gets diagram notes, separate from semantic nodes and edges.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
item ChartForgeX.Topology.TopologyAnnotation required
The item.

Returns

TopologyChart The same instance.
public static TopologyChart Annotations(TopologyChart topologyChart, IEnumerable<TopologyAnnotation> items) #

Adds items to TopologyChart.Annotations: Gets diagram notes, separate from semantic nodes and edges.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
items System.Collections.Generic.IEnumerable<ChartForgeX.Topology.TopologyAnnotation> required
The items, in order.

Returns

TopologyChart The same instance.
public static TopologyChart CrossingPaint(TopologyChart topologyChart, TopologyCrossingPaint? value) #

Sets TopologyChart.CrossingPaint: Gets or sets captured orthogonal crossing paint; null preserves ordinary native paths exactly.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
value ChartForgeX.Topology.TopologyCrossingPaint? required
The value.

Returns

TopologyChart The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::ChartForgeX.Topology.TopologyChart { CrossingPaint = value };    topologyChart.CrossingPaint(value);
DefaultRenderOptions 2 overloads
public static TopologyChart DefaultRenderOptions(TopologyChart topologyChart, TopologyRenderOptions? value) #

Sets TopologyChart.DefaultRenderOptions: Gets or sets the render options used when a render, prepare, diagnostics, or export call passes none. A builder that returns a chart can attach the options the chart was designed for, so every host draws the same layout without passing them along separately. Options passed to a call replace these as a whole; the two are not merged.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
value ChartForgeX.Topology.TopologyRenderOptions? required
The value.

Returns

TopologyChart The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ChartForgeX.Topology.TopologyChart { DefaultRenderOptions = value };    topologyChart.DefaultRenderOptions(value);
public static TopologyChart DefaultRenderOptions(TopologyChart topologyChart, Action<TopologyRenderOptions> configure) #

Configures a copy of TopologyChart.DefaultRenderOptions (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 the render options used when a render, prepare, diagnostics, or export call passes none. A builder that returns a chart can attach the options the chart was designed for, so every host draws the same layout without passing them along separately. Options passed to a call replace these as a whole; the two are not merged.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
configure System.Action<ChartForgeX.Topology.TopologyRenderOptions> required
Configures the copy.

Returns

TopologyChart The same instance.
Edge 2 overloads
public static TopologyChart Edge(TopologyChart topologyChart, TopologyEdge item) #

Adds an item to TopologyChart.Edges: Gets the topology edges.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
item ChartForgeX.Topology.TopologyEdge required
The item.

Returns

TopologyChart The same instance.
public static TopologyChart Edge(TopologyChart topologyChart, Action<TopologyEdge> configure) #

Creates an item, configures it and adds it to TopologyChart.Edges: Gets the topology edges.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
configure System.Action<ChartForgeX.Topology.TopologyEdge> required
Configures the new item before it is added.

Returns

TopologyChart The same instance.
public static TopologyChart Edges(TopologyChart topologyChart, IEnumerable<TopologyEdge> items) #

Adds items to TopologyChart.Edges: Gets the topology edges.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
items System.Collections.Generic.IEnumerable<ChartForgeX.Topology.TopologyEdge> required
The items, in order.

Returns

TopologyChart The same instance.
public static TopologyChart GridLayout(TopologyChart topologyChart, TopologyGridLayout? value) #

Sets TopologyChart.GridLayout: Gets or sets explicit automatic row limits for GroupGrid; null retains its incumbent layout and bytes.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
value ChartForgeX.Topology.TopologyGridLayout? required
The value.

Returns

TopologyChart The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::ChartForgeX.Topology.TopologyChart { GridLayout = value };    topologyChart.GridLayout(value);
Group 2 overloads
public static TopologyChart Group(TopologyChart topologyChart, TopologyGroup item) #

Adds an item to TopologyChart.Groups: Gets the topology groups.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
item ChartForgeX.Topology.TopologyGroup required
The item.

Returns

TopologyChart The same instance.
public static TopologyChart Group(TopologyChart topologyChart, Action<TopologyGroup> configure) #

Creates an item, configures it and adds it to TopologyChart.Groups: Gets the topology groups.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
configure System.Action<ChartForgeX.Topology.TopologyGroup> required
Configures the new item before it is added.

Returns

TopologyChart The same instance.
public static TopologyChart Groups(TopologyChart topologyChart, IEnumerable<TopologyGroup> items) #

Adds items to TopologyChart.Groups: Gets the topology groups.

Parameters

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

Returns

TopologyChart The same instance.
public static TopologyChart Id(TopologyChart topologyChart, string? value) #

Sets TopologyChart.Id: Gets or sets a stable chart identifier. Ids are trimmed and must not be empty.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
value string? required
The value.

Returns

TopologyChart The same instance.

Examples

// C# initializer or property                                     // C# fluent
new global::ChartForgeX.Topology.TopologyChart { Id = value };    topologyChart.Id(value);
Labels 2 overloads
public static TopologyChart Labels(TopologyChart topologyChart, TopologyLabels value) #

Sets TopologyChart.Labels: Gets the words the renderers write on their own: the name of an untitled diagram and its automatic description.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
value ChartForgeX.Topology.TopologyLabels required
The value.

Returns

TopologyChart The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::ChartForgeX.Topology.TopologyChart { Labels = value };    topologyChart.Labels(value);
public static TopologyChart Labels(TopologyChart topologyChart, Action<TopologyLabels> configure) #

Configures a copy of TopologyChart.Labels (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 the words the renderers write on their own: the name of an untitled diagram and its automatic description.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
configure System.Action<ChartForgeX.Topology.TopologyLabels> required
Configures the copy.

Returns

TopologyChart The same instance.
public static TopologyChart LayoutDirection(TopologyChart topologyChart, TopologyLayoutDirection value) #

Sets TopologyChart.LayoutDirection: Gets or sets the deterministic layout flow direction.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
value ChartForgeX.Topology.TopologyLayoutDirection required
The value.

Returns

TopologyChart The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Topology.TopologyChart { LayoutDirection = value };    topologyChart.LayoutDirection(value);
public static TopologyChart LayoutMode(TopologyChart topologyChart, TopologyLayoutMode value) #

Sets TopologyChart.LayoutMode: Gets or sets the deterministic layout mode.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
value ChartForgeX.Topology.TopologyLayoutMode required
The value.

Returns

TopologyChart The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::ChartForgeX.Topology.TopologyChart { LayoutMode = value };    topologyChart.LayoutMode(value);
Legend 2 overloads
public static TopologyChart Legend(TopologyChart topologyChart, TopologyLegend? value) #

Sets TopologyChart.Legend: Gets or sets an optional legend.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
value ChartForgeX.Topology.TopologyLegend? required
The value.

Returns

TopologyChart The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::ChartForgeX.Topology.TopologyChart { Legend = value };    topologyChart.Legend(value);
public static TopologyChart Legend(TopologyChart topologyChart, Action<TopologyLegend> configure) #

Configures TopologyChart.Legend in place (creating it when not set): Gets or sets an optional legend.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
configure System.Action<ChartForgeX.Topology.TopologyLegend> required
Configures the value.

Returns

TopologyChart The same instance.
public static TopologyChart MapViewport(TopologyChart topologyChart, ChartMapViewport value) #

Sets TopologyChart.MapViewport: Gets or sets the longitude/latitude window used by geographic topology layouts.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
value ChartForgeX.Core.ChartMapViewport required
The value.

Returns

TopologyChart The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::ChartForgeX.Topology.TopologyChart { MapViewport = value };    topologyChart.MapViewport(value);
Node 2 overloads
public static TopologyChart Node(TopologyChart topologyChart, TopologyNode item) #

Adds an item to TopologyChart.Nodes: Gets the topology nodes.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
item ChartForgeX.Topology.TopologyNode required
The item.

Returns

TopologyChart The same instance.
public static TopologyChart Node(TopologyChart topologyChart, Action<TopologyNode> configure) #

Creates an item, configures it and adds it to TopologyChart.Nodes: Gets the topology nodes.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
configure System.Action<ChartForgeX.Topology.TopologyNode> required
Configures the new item before it is added.

Returns

TopologyChart The same instance.
public static TopologyChart Nodes(TopologyChart topologyChart, IEnumerable<TopologyNode> items) #

Adds items to TopologyChart.Nodes: Gets the topology nodes.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
items System.Collections.Generic.IEnumerable<ChartForgeX.Topology.TopologyNode> required
The items, in order.

Returns

TopologyChart The same instance.
public static TopologyChart PathDecoration(TopologyChart topologyChart, TopologyPathDecoration item) #

Adds an item to TopologyChart.PathDecorations: Gets optional captured paths painted behind graph entities in the authored coordinate domain.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
item ChartForgeX.Topology.TopologyPathDecoration required
The item.

Returns

TopologyChart The same instance.
public static TopologyChart PathDecorations(TopologyChart topologyChart, IEnumerable<TopologyPathDecoration> items) #

Adds items to TopologyChart.PathDecorations: Gets optional captured paths painted behind graph entities in the authored coordinate domain.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
items System.Collections.Generic.IEnumerable<ChartForgeX.Topology.TopologyPathDecoration> required
The items, in order.

Returns

TopologyChart The same instance.
Scenario 2 overloads
public static TopologyChart Scenario(TopologyChart topologyChart, TopologyScenario item) #

Adds an item to TopologyChart.Scenarios: Gets reusable scenario overlays that describe paths through the topology.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
item ChartForgeX.Topology.TopologyScenario required
The item.

Returns

TopologyChart The same instance.
public static TopologyChart Scenario(TopologyChart topologyChart, Action<TopologyScenario> configure) #

Creates an item, configures it and adds it to TopologyChart.Scenarios: Gets reusable scenario overlays that describe paths through the topology.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
configure System.Action<ChartForgeX.Topology.TopologyScenario> required
Configures the new item before it is added.

Returns

TopologyChart The same instance.
public static TopologyChart Scenarios(TopologyChart topologyChart, IEnumerable<TopologyScenario> items) #

Adds items to TopologyChart.Scenarios: Gets reusable scenario overlays that describe paths through the topology.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
items System.Collections.Generic.IEnumerable<ChartForgeX.Topology.TopologyScenario> required
The items, in order.

Returns

TopologyChart The same instance.
SiblingGrouping 2 overloads
public static TopologyChart SiblingGrouping(TopologyChart topologyChart, TopologySiblingGrouping? value) #

Sets TopologyChart.SiblingGrouping: Gets or sets the opt-in sibling grouping policy. Null, the default, keeps every node as authored.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
value ChartForgeX.Topology.TopologySiblingGrouping? required
The value.

Returns

TopologyChart The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Topology.TopologyChart { SiblingGrouping = value };    topologyChart.SiblingGrouping(value);
public static TopologyChart SiblingGrouping(TopologyChart topologyChart, Action<TopologySiblingGrouping> configure) #

Configures a copy of TopologyChart.SiblingGrouping (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 the opt-in sibling grouping policy. Null, the default, keeps every node as authored.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
configure System.Action<ChartForgeX.Topology.TopologySiblingGrouping> required
Configures the copy.

Returns

TopologyChart The same instance.
public static TopologyChart Subtitle(TopologyChart topologyChart, string? value) #

Sets TopologyChart.Subtitle: Gets or sets the chart subtitle.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
value string? required
The value.

Returns

TopologyChart The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::ChartForgeX.Topology.TopologyChart { Subtitle = value };    topologyChart.Subtitle(value);
public static TopologyChart Theme(TopologyChart topologyChart, VisualTheme value) #

Sets TopologyChart.Theme: Gets or sets an optional topology theme.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
value ChartForgeX.Themes.VisualTheme required
The value.

Returns

TopologyChart The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::ChartForgeX.Topology.TopologyChart { Theme = value };    topologyChart.Theme(value);
public static TopologyChart ThemeMode(TopologyChart topologyChart, ThemeMode value) #

Sets TopologyChart.ThemeMode: Gets or sets the explicit shared theme mode.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
value ChartForgeX.ThemeMode required
The value.

Returns

TopologyChart The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::ChartForgeX.Topology.TopologyChart { ThemeMode = value };    topologyChart.ThemeMode(value);
public static TopologyChart Title(TopologyChart topologyChart, string? value) #

Sets TopologyChart.Title: Gets or sets the chart title.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
value string? required
The value.

Returns

TopologyChart The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::ChartForgeX.Topology.TopologyChart { Title = value };    topologyChart.Title(value);
Viewport 2 overloads
public static TopologyChart Viewport(TopologyChart topologyChart, TopologyViewport value) #

Sets TopologyChart.Viewport: Gets the viewport used by renderers.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
value ChartForgeX.Topology.TopologyViewport required
The value.

Returns

TopologyChart The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::ChartForgeX.Topology.TopologyChart { Viewport = value };    topologyChart.Viewport(value);
public static TopologyChart Viewport(TopologyChart topologyChart, Action<TopologyViewport> configure) #

Configures TopologyChart.Viewport in place (creating it when not set): Gets the viewport used by renderers.

Parameters

topologyChart ChartForgeX.Topology.TopologyChart required
The instance.
configure System.Action<ChartForgeX.Topology.TopologyViewport> required
Configures the value.

Returns

TopologyChart The same instance.