Skip to content
ChartForgeX
Class

GraphPerformanceOptions

ChartForgeX.Interactivity

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

Describes graph explorer performance budgets that adapters can enforce before interaction becomes expensive.

Inheritance

  • object
  • GraphPerformanceOptions

Usage

Explore 43 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 22

Constructors

public GraphPerformanceOptions() #

Properties

public int FrameBudgetMilliseconds { get; set; } #

Gets or sets the desired frame budget in milliseconds for interactive graph work.

public int MaxInteractiveSvgNodes { get; set; } #

Gets or sets the maximum SVG node count that should run fully interactive browser physics.

public int MaxInteractiveSvgEdges { get; set; } #

Gets or sets the maximum SVG edge count that should run fully interactive browser physics.

public int MaxInteractiveCanvasNodes { get; set; } #

Gets or sets the maximum Canvas node count that should run fully interactive browser physics.

public int MaxInteractiveCanvasEdges { get; set; } #

Gets or sets the maximum Canvas edge count that should run fully interactive browser physics.

public int MaxInteractiveWebGlNodes { get; set; } #

Gets or sets the maximum WebGL node count that should remain fully interactive.

public int MaxInteractiveWebGlEdges { get; set; } #

Gets or sets the maximum WebGL edge count that should remain fully interactive.

public int TelemetrySampleInterval { get; set; } #

Gets or sets how many simulation ticks should pass between telemetry events.

public int WarmupFrameCount { get; set; } #

Gets or sets how many initial browser frames are reported as warmup without affecting the steady-state frame budget.

public int WorkerProgressInterval { get; set; } #

Gets or sets how many worker solver ticks may run between browser-visible layout updates.

Extension Methods

public static GraphPerformanceOptions FrameBudgetMilliseconds(GraphPerformanceOptions graphPerformanceOptions, int value) #

Sets GraphPerformanceOptions.FrameBudgetMilliseconds: Gets or sets the desired frame budget in milliseconds for interactive graph work.

Parameters

graphPerformanceOptions ChartForgeX.Interactivity.GraphPerformanceOptions required
The instance.
value int required
The value.

Returns

GraphPerformanceOptions The same instance.

Examples

// C# initializer or property                                                                         // C# fluent
new global::ChartForgeX.Interactivity.GraphPerformanceOptions { FrameBudgetMilliseconds = value };    graphPerformanceOptions.FrameBudgetMilliseconds(value);
public static GraphPerformanceOptions MaxInteractiveCanvasEdges(GraphPerformanceOptions graphPerformanceOptions, int value) #

Sets GraphPerformanceOptions.MaxInteractiveCanvasEdges: Gets or sets the maximum Canvas edge count that should run fully interactive browser physics.

Parameters

graphPerformanceOptions ChartForgeX.Interactivity.GraphPerformanceOptions required
The instance.
value int required
The value.

Returns

GraphPerformanceOptions The same instance.

Examples

// C# initializer or property                                                                           // C# fluent
new global::ChartForgeX.Interactivity.GraphPerformanceOptions { MaxInteractiveCanvasEdges = value };    graphPerformanceOptions.MaxInteractiveCanvasEdges(value);
public static GraphPerformanceOptions MaxInteractiveCanvasNodes(GraphPerformanceOptions graphPerformanceOptions, int value) #

Sets GraphPerformanceOptions.MaxInteractiveCanvasNodes: Gets or sets the maximum Canvas node count that should run fully interactive browser physics.

Parameters

graphPerformanceOptions ChartForgeX.Interactivity.GraphPerformanceOptions required
The instance.
value int required
The value.

Returns

GraphPerformanceOptions The same instance.

Examples

// C# initializer or property                                                                           // C# fluent
new global::ChartForgeX.Interactivity.GraphPerformanceOptions { MaxInteractiveCanvasNodes = value };    graphPerformanceOptions.MaxInteractiveCanvasNodes(value);
public static GraphPerformanceOptions MaxInteractiveSvgEdges(GraphPerformanceOptions graphPerformanceOptions, int value) #

Sets GraphPerformanceOptions.MaxInteractiveSvgEdges: Gets or sets the maximum SVG edge count that should run fully interactive browser physics.

Parameters

graphPerformanceOptions ChartForgeX.Interactivity.GraphPerformanceOptions required
The instance.
value int required
The value.

Returns

GraphPerformanceOptions The same instance.

Examples

// C# initializer or property                                                                        // C# fluent
new global::ChartForgeX.Interactivity.GraphPerformanceOptions { MaxInteractiveSvgEdges = value };    graphPerformanceOptions.MaxInteractiveSvgEdges(value);
public static GraphPerformanceOptions MaxInteractiveSvgNodes(GraphPerformanceOptions graphPerformanceOptions, int value) #

Sets GraphPerformanceOptions.MaxInteractiveSvgNodes: Gets or sets the maximum SVG node count that should run fully interactive browser physics.

Parameters

graphPerformanceOptions ChartForgeX.Interactivity.GraphPerformanceOptions required
The instance.
value int required
The value.

Returns

GraphPerformanceOptions The same instance.

Examples

// C# initializer or property                                                                        // C# fluent
new global::ChartForgeX.Interactivity.GraphPerformanceOptions { MaxInteractiveSvgNodes = value };    graphPerformanceOptions.MaxInteractiveSvgNodes(value);
public static GraphPerformanceOptions MaxInteractiveWebGlEdges(GraphPerformanceOptions graphPerformanceOptions, int value) #

Sets GraphPerformanceOptions.MaxInteractiveWebGlEdges: Gets or sets the maximum WebGL edge count that should remain fully interactive.

Parameters

graphPerformanceOptions ChartForgeX.Interactivity.GraphPerformanceOptions required
The instance.
value int required
The value.

Returns

GraphPerformanceOptions The same instance.

Examples

// C# initializer or property                                                                          // C# fluent
new global::ChartForgeX.Interactivity.GraphPerformanceOptions { MaxInteractiveWebGlEdges = value };    graphPerformanceOptions.MaxInteractiveWebGlEdges(value);
public static GraphPerformanceOptions MaxInteractiveWebGlNodes(GraphPerformanceOptions graphPerformanceOptions, int value) #

Sets GraphPerformanceOptions.MaxInteractiveWebGlNodes: Gets or sets the maximum WebGL node count that should remain fully interactive.

Parameters

graphPerformanceOptions ChartForgeX.Interactivity.GraphPerformanceOptions required
The instance.
value int required
The value.

Returns

GraphPerformanceOptions The same instance.

Examples

// C# initializer or property                                                                          // C# fluent
new global::ChartForgeX.Interactivity.GraphPerformanceOptions { MaxInteractiveWebGlNodes = value };    graphPerformanceOptions.MaxInteractiveWebGlNodes(value);
public static GraphPerformanceOptions TelemetrySampleInterval(GraphPerformanceOptions graphPerformanceOptions, int value) #

Sets GraphPerformanceOptions.TelemetrySampleInterval: Gets or sets how many simulation ticks should pass between telemetry events.

Parameters

graphPerformanceOptions ChartForgeX.Interactivity.GraphPerformanceOptions required
The instance.
value int required
The value.

Returns

GraphPerformanceOptions The same instance.

Examples

// C# initializer or property                                                                         // C# fluent
new global::ChartForgeX.Interactivity.GraphPerformanceOptions { TelemetrySampleInterval = value };    graphPerformanceOptions.TelemetrySampleInterval(value);
public static GraphPerformanceOptions WarmupFrameCount(GraphPerformanceOptions graphPerformanceOptions, int value) #

Sets GraphPerformanceOptions.WarmupFrameCount: Gets or sets how many initial browser frames are reported as warmup without affecting the steady-state frame budget.

Parameters

graphPerformanceOptions ChartForgeX.Interactivity.GraphPerformanceOptions required
The instance.
value int required
The value.

Returns

GraphPerformanceOptions The same instance.

Examples

// C# initializer or property                                                                  // C# fluent
new global::ChartForgeX.Interactivity.GraphPerformanceOptions { WarmupFrameCount = value };    graphPerformanceOptions.WarmupFrameCount(value);
public static GraphPerformanceOptions WorkerProgressInterval(GraphPerformanceOptions graphPerformanceOptions, int value) #

Sets GraphPerformanceOptions.WorkerProgressInterval: Gets or sets how many worker solver ticks may run between browser-visible layout updates.

Parameters

graphPerformanceOptions ChartForgeX.Interactivity.GraphPerformanceOptions required
The instance.
value int required
The value.

Returns

GraphPerformanceOptions The same instance.

Examples

// C# initializer or property                                                                        // C# fluent
new global::ChartForgeX.Interactivity.GraphPerformanceOptions { WorkerProgressInterval = value };    graphPerformanceOptions.WorkerProgressInterval(value);