Skip to content
ChartForgeX
Class

TopologyView

ChartForgeX.Topology

Namespace
ChartForgeX.Topology
Assembly
ChartForgeX
Modifiers
sealed

Defines an optional focused view over a topology chart.

Inheritance

  • object
  • TopologyView

Usage

Explore 94 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 46

Accepted by parameters 48

Constructors

public TopologyView() #

Methods

public static TopologyView AroundNode(string nodeId, int depth = 1) #

Creates a focused neighbor view around a node.

Parameters

nodeId string required
The focus node id.
depth int = 1 optional
The number of edge hops to include.

Returns

TopologyView A topology view focused around the node.

Properties

public string? Id { get; set; } #

Gets or sets a stable view identifier.

public string? Title { get; set; } #

Gets or sets an optional title override for the view.

public string? Subtitle { get; set; } #

Gets or sets an optional subtitle override for the view.

public List<string> GroupIds { get; } #

Gets the group ids to include. When empty, groups are inferred from visible nodes.

public List<string> NodeIds { get; } #

Gets the node ids to include. When empty, nodes are inferred from selected groups or the full chart.

public List<string> EdgeIds { get; } #

Gets the edge ids to include. When empty, connected edges are inferred from visible nodes.

public List<string> FocusNodeIds { get; } #

Gets node ids that should seed a neighbor/ego view.

public List<TopologyNodeKind> NodeKinds { get; } #

Gets node kinds to include. When empty, all node kinds are eligible.

public List<TopologyEdgeKind> EdgeKinds { get; } #

Gets edge kinds to include. When empty, all edge kinds are eligible.

public List<TopologyHealthStatus> HealthStatuses { get; } #
Child("HealthStatus")

Gets health statuses to include across nodes, groups, and edges. When empty, all statuses are eligible.

public int NeighborDepth { get; set; } #

Gets or sets the number of edge hops to include around focus nodes.

public bool IncludeConnectedEdges { get; set; } #

Gets or sets whether connected edges should be included when no explicit edge ids are supplied.

public bool IncludeNodeGroups { get; set; } #

Gets or sets whether groups referenced by visible nodes should be included.

public bool IncludeIncomingEdges { get; set; } #

Gets or sets whether incoming edges should be traversed when building a neighbor view.

public bool IncludeOutgoingEdges { get; set; } #

Gets or sets whether outgoing edges should be traversed when building a neighbor view.

Extension Methods

public static TopologyView EdgeId(TopologyView topologyView, string item) #

Adds an item to TopologyView.EdgeIds: Gets the edge ids to include. When empty, connected edges are inferred from visible nodes.

Parameters

topologyView ChartForgeX.Topology.TopologyView required
The instance.
item string required
The item.

Returns

TopologyView The same instance.
public static TopologyView EdgeIds(TopologyView topologyView, IEnumerable<string> items) #

Adds items to TopologyView.EdgeIds: Gets the edge ids to include. When empty, connected edges are inferred from visible nodes.

Parameters

topologyView ChartForgeX.Topology.TopologyView required
The instance.
items System.Collections.Generic.IEnumerable<string> required
The items, in order.

Returns

TopologyView The same instance.
public static TopologyView EdgeKind(TopologyView topologyView, TopologyEdgeKind item) #

Adds an item to TopologyView.EdgeKinds: Gets edge kinds to include. When empty, all edge kinds are eligible.

Parameters

topologyView ChartForgeX.Topology.TopologyView required
The instance.
item ChartForgeX.Topology.TopologyEdgeKind required
The item.

Returns

TopologyView The same instance.
public static TopologyView EdgeKinds(TopologyView topologyView, IEnumerable<TopologyEdgeKind> items) #

Adds items to TopologyView.EdgeKinds: Gets edge kinds to include. When empty, all edge kinds are eligible.

Parameters

topologyView ChartForgeX.Topology.TopologyView required
The instance.
items System.Collections.Generic.IEnumerable<ChartForgeX.Topology.TopologyEdgeKind> required
The items, in order.

Returns

TopologyView The same instance.
public static TopologyView FocusNodeId(TopologyView topologyView, string item) #

Adds an item to TopologyView.FocusNodeIds: Gets node ids that should seed a neighbor/ego view.

Parameters

topologyView ChartForgeX.Topology.TopologyView required
The instance.
item string required
The item.

Returns

TopologyView The same instance.
public static TopologyView FocusNodeIds(TopologyView topologyView, IEnumerable<string> items) #

Adds items to TopologyView.FocusNodeIds: Gets node ids that should seed a neighbor/ego view.

Parameters

topologyView ChartForgeX.Topology.TopologyView required
The instance.
items System.Collections.Generic.IEnumerable<string> required
The items, in order.

Returns

TopologyView The same instance.
public static TopologyView GroupId(TopologyView topologyView, string item) #

Adds an item to TopologyView.GroupIds: Gets the group ids to include. When empty, groups are inferred from visible nodes.

Parameters

topologyView ChartForgeX.Topology.TopologyView required
The instance.
item string required
The item.

Returns

TopologyView The same instance.
public static TopologyView GroupIds(TopologyView topologyView, IEnumerable<string> items) #

Adds items to TopologyView.GroupIds: Gets the group ids to include. When empty, groups are inferred from visible nodes.

Parameters

topologyView ChartForgeX.Topology.TopologyView required
The instance.
items System.Collections.Generic.IEnumerable<string> required
The items, in order.

Returns

TopologyView The same instance.
public static TopologyView HealthStatus(TopologyView topologyView, TopologyHealthStatus item) #

Adds an item to TopologyView.HealthStatuses: Gets health statuses to include across nodes, groups, and edges. When empty, all statuses are eligible.

Parameters

topologyView ChartForgeX.Topology.TopologyView required
The instance.
item ChartForgeX.Topology.TopologyHealthStatus required
The item.

Returns

TopologyView The same instance.
public static TopologyView HealthStatuses(TopologyView topologyView, IEnumerable<TopologyHealthStatus> items) #

Adds items to TopologyView.HealthStatuses: Gets health statuses to include across nodes, groups, and edges. When empty, all statuses are eligible.

Parameters

topologyView ChartForgeX.Topology.TopologyView required
The instance.
items System.Collections.Generic.IEnumerable<ChartForgeX.Topology.TopologyHealthStatus> required
The items, in order.

Returns

TopologyView The same instance.
public static TopologyView Id(TopologyView topologyView, string? value) #

Sets TopologyView.Id: Gets or sets a stable view identifier.

Parameters

topologyView ChartForgeX.Topology.TopologyView required
The instance.
value string? required
The value.

Returns

TopologyView The same instance.

Examples

// C# initializer or property                                    // C# fluent
new global::ChartForgeX.Topology.TopologyView { Id = value };    topologyView.Id(value);
public static TopologyView IncludeConnectedEdges(TopologyView topologyView, bool value = true) #

Sets TopologyView.IncludeConnectedEdges: Gets or sets whether connected edges should be included when no explicit edge ids are supplied.

Parameters

topologyView ChartForgeX.Topology.TopologyView required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TopologyView The same instance.

Examples

// C# initializer or property                                                       // C# fluent
new global::ChartForgeX.Topology.TopologyView { IncludeConnectedEdges = value };    topologyView.IncludeConnectedEdges(value);
public static TopologyView IncludeIncomingEdges(TopologyView topologyView, bool value = true) #

Sets TopologyView.IncludeIncomingEdges: Gets or sets whether incoming edges should be traversed when building a neighbor view.

Parameters

topologyView ChartForgeX.Topology.TopologyView required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TopologyView The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ChartForgeX.Topology.TopologyView { IncludeIncomingEdges = value };    topologyView.IncludeIncomingEdges(value);
public static TopologyView IncludeNodeGroups(TopologyView topologyView, bool value = true) #

Sets TopologyView.IncludeNodeGroups: Gets or sets whether groups referenced by visible nodes should be included.

Parameters

topologyView ChartForgeX.Topology.TopologyView required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TopologyView The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::ChartForgeX.Topology.TopologyView { IncludeNodeGroups = value };    topologyView.IncludeNodeGroups(value);
public static TopologyView IncludeOutgoingEdges(TopologyView topologyView, bool value = true) #

Sets TopologyView.IncludeOutgoingEdges: Gets or sets whether outgoing edges should be traversed when building a neighbor view.

Parameters

topologyView ChartForgeX.Topology.TopologyView required
The instance.
value bool = true optional
The value; true when omitted.

Returns

TopologyView The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ChartForgeX.Topology.TopologyView { IncludeOutgoingEdges = value };    topologyView.IncludeOutgoingEdges(value);
public static TopologyView NeighborDepth(TopologyView topologyView, int value) #

Sets TopologyView.NeighborDepth: Gets or sets the number of edge hops to include around focus nodes.

Parameters

topologyView ChartForgeX.Topology.TopologyView required
The instance.
value int required
The value.

Returns

TopologyView The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::ChartForgeX.Topology.TopologyView { NeighborDepth = value };    topologyView.NeighborDepth(value);
public static TopologyView NodeId(TopologyView topologyView, string item) #

Adds an item to TopologyView.NodeIds: Gets the node ids to include. When empty, nodes are inferred from selected groups or the full chart.

Parameters

topologyView ChartForgeX.Topology.TopologyView required
The instance.
item string required
The item.

Returns

TopologyView The same instance.
public static TopologyView NodeIds(TopologyView topologyView, IEnumerable<string> items) #

Adds items to TopologyView.NodeIds: Gets the node ids to include. When empty, nodes are inferred from selected groups or the full chart.

Parameters

topologyView ChartForgeX.Topology.TopologyView required
The instance.
items System.Collections.Generic.IEnumerable<string> required
The items, in order.

Returns

TopologyView The same instance.
public static TopologyView NodeKind(TopologyView topologyView, TopologyNodeKind item) #

Adds an item to TopologyView.NodeKinds: Gets node kinds to include. When empty, all node kinds are eligible.

Parameters

topologyView ChartForgeX.Topology.TopologyView required
The instance.
item ChartForgeX.Topology.TopologyNodeKind required
The item.

Returns

TopologyView The same instance.
public static TopologyView NodeKinds(TopologyView topologyView, IEnumerable<TopologyNodeKind> items) #

Adds items to TopologyView.NodeKinds: Gets node kinds to include. When empty, all node kinds are eligible.

Parameters

topologyView ChartForgeX.Topology.TopologyView required
The instance.
items System.Collections.Generic.IEnumerable<ChartForgeX.Topology.TopologyNodeKind> required
The items, in order.

Returns

TopologyView The same instance.
public static TopologyView Subtitle(TopologyView topologyView, string? value) #

Sets TopologyView.Subtitle: Gets or sets an optional subtitle override for the view.

Parameters

topologyView ChartForgeX.Topology.TopologyView required
The instance.
value string? required
The value.

Returns

TopologyView The same instance.

Examples

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

Sets TopologyView.Title: Gets or sets an optional title override for the view.

Parameters

topologyView ChartForgeX.Topology.TopologyView required
The instance.
value string? required
The value.

Returns

TopologyView The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::ChartForgeX.Topology.TopologyView { Title = value };    topologyView.Title(value);