Skip to content
ChartForgeX
Class

GraphLevelOfDetailOptions

ChartForgeX.Interactivity

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

Describes clustering and detail-reduction thresholds for graph explorer adapters.

Inheritance

  • object
  • GraphLevelOfDetailOptions

Usage

Explore 35 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 18

Constructors

public GraphLevelOfDetailOptions() #

Properties

public int ClusterNodeThreshold { get; set; } #

Gets or sets the node count at which adapters should prefer collapsed or summarized views.

public int HideEdgeLabelsThreshold { get; set; } #

Gets or sets the edge count at which adapters should hide edge labels until focus or selection.

public int CompactNodeThreshold { get; set; } #

Gets or sets the node count at which adapters should prefer compact dot rendering over full labels.

public int CanvasPreferredNodeThreshold { get; set; } #

Gets or sets the node count at which Canvas or WebGL adapters should be preferred over SVG.

public int WebGlPreferredNodeThreshold { get; set; } #

Gets or sets the node count at which WebGL adapters should be preferred over Canvas when available.

public double OverviewScaleThreshold { get; set; } #

Gets or sets the viewport scale at or below which adapters should show an overview representation.

public double DetailScaleThreshold { get; set; } #

Gets or sets the viewport scale at or above which adapters should show full labels, badges, and imagery.

public bool CollapseClustersOnLoad { get; set; } #

Gets or sets whether clusters should be collapsed when the scene first renders.

Extension Methods

public static GraphLevelOfDetailOptions CanvasPreferredNodeThreshold(GraphLevelOfDetailOptions graphLevelOfDetailOptions, int value) #

Sets GraphLevelOfDetailOptions.CanvasPreferredNodeThreshold: Gets or sets the node count at which Canvas or WebGL adapters should be preferred over SVG.

Parameters

graphLevelOfDetailOptions ChartForgeX.Interactivity.GraphLevelOfDetailOptions required
The instance.
value int required
The value.

Returns

GraphLevelOfDetailOptions The same instance.

Examples

// C# initializer or property                                                                                // C# fluent
new global::ChartForgeX.Interactivity.GraphLevelOfDetailOptions { CanvasPreferredNodeThreshold = value };    graphLevelOfDetailOptions.CanvasPreferredNodeThreshold(value);
public static GraphLevelOfDetailOptions ClusterNodeThreshold(GraphLevelOfDetailOptions graphLevelOfDetailOptions, int value) #

Sets GraphLevelOfDetailOptions.ClusterNodeThreshold: Gets or sets the node count at which adapters should prefer collapsed or summarized views.

Parameters

graphLevelOfDetailOptions ChartForgeX.Interactivity.GraphLevelOfDetailOptions required
The instance.
value int required
The value.

Returns

GraphLevelOfDetailOptions The same instance.

Examples

// C# initializer or property                                                                        // C# fluent
new global::ChartForgeX.Interactivity.GraphLevelOfDetailOptions { ClusterNodeThreshold = value };    graphLevelOfDetailOptions.ClusterNodeThreshold(value);
public static GraphLevelOfDetailOptions CollapseClustersOnLoad(GraphLevelOfDetailOptions graphLevelOfDetailOptions, bool value = true) #

Sets GraphLevelOfDetailOptions.CollapseClustersOnLoad: Gets or sets whether clusters should be collapsed when the scene first renders.

Parameters

graphLevelOfDetailOptions ChartForgeX.Interactivity.GraphLevelOfDetailOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

GraphLevelOfDetailOptions The same instance.

Examples

// C# initializer or property                                                                          // C# fluent
new global::ChartForgeX.Interactivity.GraphLevelOfDetailOptions { CollapseClustersOnLoad = value };    graphLevelOfDetailOptions.CollapseClustersOnLoad(value);
public static GraphLevelOfDetailOptions CompactNodeThreshold(GraphLevelOfDetailOptions graphLevelOfDetailOptions, int value) #

Sets GraphLevelOfDetailOptions.CompactNodeThreshold: Gets or sets the node count at which adapters should prefer compact dot rendering over full labels.

Parameters

graphLevelOfDetailOptions ChartForgeX.Interactivity.GraphLevelOfDetailOptions required
The instance.
value int required
The value.

Returns

GraphLevelOfDetailOptions The same instance.

Examples

// C# initializer or property                                                                        // C# fluent
new global::ChartForgeX.Interactivity.GraphLevelOfDetailOptions { CompactNodeThreshold = value };    graphLevelOfDetailOptions.CompactNodeThreshold(value);
public static GraphLevelOfDetailOptions DetailScaleThreshold(GraphLevelOfDetailOptions graphLevelOfDetailOptions, double value) #

Sets GraphLevelOfDetailOptions.DetailScaleThreshold: Gets or sets the viewport scale at or above which adapters should show full labels, badges, and imagery.

Parameters

graphLevelOfDetailOptions ChartForgeX.Interactivity.GraphLevelOfDetailOptions required
The instance.
value double required
The value.

Returns

GraphLevelOfDetailOptions The same instance.

Examples

// C# initializer or property                                                                        // C# fluent
new global::ChartForgeX.Interactivity.GraphLevelOfDetailOptions { DetailScaleThreshold = value };    graphLevelOfDetailOptions.DetailScaleThreshold(value);
public static GraphLevelOfDetailOptions HideEdgeLabelsThreshold(GraphLevelOfDetailOptions graphLevelOfDetailOptions, int value) #

Sets GraphLevelOfDetailOptions.HideEdgeLabelsThreshold: Gets or sets the edge count at which adapters should hide edge labels until focus or selection.

Parameters

graphLevelOfDetailOptions ChartForgeX.Interactivity.GraphLevelOfDetailOptions required
The instance.
value int required
The value.

Returns

GraphLevelOfDetailOptions The same instance.

Examples

// C# initializer or property                                                                           // C# fluent
new global::ChartForgeX.Interactivity.GraphLevelOfDetailOptions { HideEdgeLabelsThreshold = value };    graphLevelOfDetailOptions.HideEdgeLabelsThreshold(value);
public static GraphLevelOfDetailOptions OverviewScaleThreshold(GraphLevelOfDetailOptions graphLevelOfDetailOptions, double value) #

Sets GraphLevelOfDetailOptions.OverviewScaleThreshold: Gets or sets the viewport scale at or below which adapters should show an overview representation.

Parameters

graphLevelOfDetailOptions ChartForgeX.Interactivity.GraphLevelOfDetailOptions required
The instance.
value double required
The value.

Returns

GraphLevelOfDetailOptions The same instance.

Examples

// C# initializer or property                                                                          // C# fluent
new global::ChartForgeX.Interactivity.GraphLevelOfDetailOptions { OverviewScaleThreshold = value };    graphLevelOfDetailOptions.OverviewScaleThreshold(value);
public static GraphLevelOfDetailOptions WebGlPreferredNodeThreshold(GraphLevelOfDetailOptions graphLevelOfDetailOptions, int value) #

Sets GraphLevelOfDetailOptions.WebGlPreferredNodeThreshold: Gets or sets the node count at which WebGL adapters should be preferred over Canvas when available.

Parameters

graphLevelOfDetailOptions ChartForgeX.Interactivity.GraphLevelOfDetailOptions required
The instance.
value int required
The value.

Returns

GraphLevelOfDetailOptions The same instance.

Examples

// C# initializer or property                                                                               // C# fluent
new global::ChartForgeX.Interactivity.GraphLevelOfDetailOptions { WebGlPreferredNodeThreshold = value };    graphLevelOfDetailOptions.WebGlPreferredNodeThreshold(value);