Skip to content
ChartForgeX
Class

GraphClusterOptions

ChartForgeX.Interactivity

Namespace
ChartForgeX.Interactivity
Assembly
ChartForgeX.Interactivity
Modifiers
sealed
Attributes
Fluent

Describes reusable clustering behavior for graph adapters that can collapse, summarize, or derive large-scene communities.

Inheritance

  • object
  • GraphClusterOptions

Usage

Explore 31 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 16

Constructors

public GraphClusterOptions() #

Properties

public GraphClusterMode Mode { get; set; } #

Gets or sets how adapters should interpret clusters when the scene is rendered.

public bool Adaptive { get; set; } #

Gets or sets whether adapters may create runtime clusters from graph structure when explicit clusters are not enough.

public bool CollapseOnLoad { get; set; } #

Gets or sets whether cluster summaries should start collapsed when supported by the adapter.

public int MinimumClusterSize { get; set; } #

Gets or sets the minimum member count before an adapter should present a cluster as collapsible.

public int TargetClusterSize { get; set; } #

Gets or sets the preferred maximum number of visible members before adaptive clustering should summarize a community.

public List<GraphClusterRule> Rules { get; } #

Gets hub, outlier, connection and host-predicate rules. They run in order after declared clusters and before group and adaptive clusters, in every GraphClusterOptions.Mode, and produce the same cluster ids for the same graph.

Extension Methods

public static GraphClusterOptions Adaptive(GraphClusterOptions graphClusterOptions, bool value = true) #

Sets GraphClusterOptions.Adaptive: Gets or sets whether adapters may create runtime clusters from graph structure when explicit clusters are not enough.

Parameters

graphClusterOptions ChartForgeX.Interactivity.GraphClusterOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

GraphClusterOptions The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::ChartForgeX.Interactivity.GraphClusterOptions { Adaptive = value };    graphClusterOptions.Adaptive(value);
public static GraphClusterOptions CollapseOnLoad(GraphClusterOptions graphClusterOptions, bool value = true) #

Sets GraphClusterOptions.CollapseOnLoad: Gets or sets whether cluster summaries should start collapsed when supported by the adapter.

Parameters

graphClusterOptions ChartForgeX.Interactivity.GraphClusterOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

GraphClusterOptions The same instance.

Examples

// C# initializer or property                                                            // C# fluent
new global::ChartForgeX.Interactivity.GraphClusterOptions { CollapseOnLoad = value };    graphClusterOptions.CollapseOnLoad(value);
public static GraphClusterOptions MinimumClusterSize(GraphClusterOptions graphClusterOptions, int value) #

Sets GraphClusterOptions.MinimumClusterSize: Gets or sets the minimum member count before an adapter should present a cluster as collapsible.

Parameters

graphClusterOptions ChartForgeX.Interactivity.GraphClusterOptions required
The instance.
value int required
The value.

Returns

GraphClusterOptions The same instance.

Examples

// C# initializer or property                                                                // C# fluent
new global::ChartForgeX.Interactivity.GraphClusterOptions { MinimumClusterSize = value };    graphClusterOptions.MinimumClusterSize(value);
public static GraphClusterOptions Mode(GraphClusterOptions graphClusterOptions, GraphClusterMode value) #

Sets GraphClusterOptions.Mode: Gets or sets how adapters should interpret clusters when the scene is rendered.

Parameters

graphClusterOptions ChartForgeX.Interactivity.GraphClusterOptions required
The instance.
value ChartForgeX.Interactivity.GraphClusterMode required
The value.

Returns

GraphClusterOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::ChartForgeX.Interactivity.GraphClusterOptions { Mode = value };    graphClusterOptions.Mode(value);
public static GraphClusterOptions Rule(GraphClusterOptions graphClusterOptions, GraphClusterRule item) #

Adds an item to GraphClusterOptions.Rules: Gets hub, outlier, connection and host-predicate rules. They run in order after declared clusters and before group and adaptive clusters, in every GraphClusterOptions.Mode, and produce the same cluster ids for the same graph.

Parameters

graphClusterOptions ChartForgeX.Interactivity.GraphClusterOptions required
The instance.
item ChartForgeX.Interactivity.GraphClusterRule required
The item.

Returns

GraphClusterOptions The same instance.
public static GraphClusterOptions Rules(GraphClusterOptions graphClusterOptions, IEnumerable<GraphClusterRule> items) #

Adds items to GraphClusterOptions.Rules: Gets hub, outlier, connection and host-predicate rules. They run in order after declared clusters and before group and adaptive clusters, in every GraphClusterOptions.Mode, and produce the same cluster ids for the same graph.

Parameters

graphClusterOptions ChartForgeX.Interactivity.GraphClusterOptions required
The instance.
items System.Collections.Generic.IEnumerable<ChartForgeX.Interactivity.GraphClusterRule> required
The items, in order.

Returns

GraphClusterOptions The same instance.
public static GraphClusterOptions TargetClusterSize(GraphClusterOptions graphClusterOptions, int value) #

Sets GraphClusterOptions.TargetClusterSize: Gets or sets the preferred maximum number of visible members before adaptive clustering should summarize a community.

Parameters

graphClusterOptions ChartForgeX.Interactivity.GraphClusterOptions required
The instance.
value int required
The value.

Returns

GraphClusterOptions The same instance.

Examples

// C# initializer or property                                                               // C# fluent
new global::ChartForgeX.Interactivity.GraphClusterOptions { TargetClusterSize = value };    graphClusterOptions.TargetClusterSize(value);