GraphClusterOptionsFluent
ChartForgeX.Interactivity
The fluent methods of GraphClusterOptions, 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
- GraphClusterOptionsFluent
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);