GraphClusterOptions
ChartForgeX.Interactivity
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.
Returned or exposed by 15
- Extension method GraphClusterOptions.Adaptive
- Extension method GraphClusterOptions.CollapseOnLoad
- Extension method GraphClusterOptions.MinimumClusterSize
- Extension method GraphClusterOptions.Mode
- Extension method GraphClusterOptions.Rule
- Extension method GraphClusterOptions.Rules
- Extension method GraphClusterOptions.TargetClusterSize
- Method GraphClusterOptionsFluent.Adaptive
- Method GraphClusterOptionsFluent.CollapseOnLoad
- Method GraphClusterOptionsFluent.MinimumClusterSize
- Method GraphClusterOptionsFluent.Mode
- Method GraphClusterOptionsFluent.Rule
- Method GraphClusterOptionsFluent.Rules
- Method GraphClusterOptionsFluent.TargetClusterSize
- Property GraphSceneOptions.Cluster
Accepted by parameters 16
- Extension method GraphClusterOptions.Adaptive
- Extension method GraphClusterOptions.CollapseOnLoad
- Extension method GraphClusterOptions.MinimumClusterSize
- Extension method GraphClusterOptions.Mode
- Extension method GraphClusterOptions.Rule
- Extension method GraphClusterOptions.Rules
- Extension method GraphClusterOptions.TargetClusterSize
- Method GraphClusterOptionsFluent.Adaptive
- Method GraphClusterOptionsFluent.CollapseOnLoad
- Method GraphClusterOptionsFluent.MinimumClusterSize
- Method GraphClusterOptionsFluent.Mode
- Method GraphClusterOptionsFluent.Rule
- Method GraphClusterOptionsFluent.Rules
- Method GraphClusterOptionsFluent.TargetClusterSize
- Extension method GraphSceneOptions.Cluster
- Method GraphSceneOptionsFluent.Cluster
Constructors
public GraphClusterOptions() #Inherited Methods
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
- The instance.
- value bool = true
- The value; true when omitted.
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
- The instance.
- value bool = true
- The value; true when omitted.
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
- The instance.
- value int
- The value.
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
- The instance.
- value ChartForgeX.Interactivity.GraphClusterMode
- The value.
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
- The instance.
- item ChartForgeX.Interactivity.GraphClusterRule
- The item.
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
- The instance.
- items System.Collections.Generic.IEnumerable<ChartForgeX.Interactivity.GraphClusterRule>
- The items, in order.
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
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.GraphClusterOptions { TargetClusterSize = value }; graphClusterOptions.TargetClusterSize(value);