Skip to content
ChartForgeX
Class

GraphSceneStageOptions

ChartForgeX.Interactivity

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

Controls deterministic hierarchy stages used by static and interactive graph adapters.

Inheritance

  • object
  • GraphSceneStageOptions

Usage

Explore 25 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 14

Constructors

public GraphSceneStageOptions() #

Properties

public int StageCount { get; set; } #

Gets or sets the requested number of automatically selected stages. The planner may return fewer stages when the hierarchy has fewer distinct depths.

public List<int> Depths { get; } #

Gets explicit descendant depths to render. When empty, depths are selected evenly from overview through the deepest level.

public string? RootNodeId { get; set; } #

Gets or sets an optional hierarchy root. Null plans all top-level trees in the scene.

public bool IncludeFullScene { get; set; } #

Gets or sets whether the deepest complete view is always included.

Extension Methods

public static GraphSceneStageOptions Depth(GraphSceneStageOptions graphSceneStageOptions, int item) #

Adds an item to GraphSceneStageOptions.Depths: Gets explicit descendant depths to render. When empty, depths are selected evenly from overview through the deepest level.

Parameters

graphSceneStageOptions ChartForgeX.Interactivity.GraphSceneStageOptions required
The instance.
item int required
The item.

Returns

GraphSceneStageOptions The same instance.
public static GraphSceneStageOptions Depths(GraphSceneStageOptions graphSceneStageOptions, IEnumerable<int> items) #

Adds items to GraphSceneStageOptions.Depths: Gets explicit descendant depths to render. When empty, depths are selected evenly from overview through the deepest level.

Parameters

graphSceneStageOptions ChartForgeX.Interactivity.GraphSceneStageOptions required
The instance.
items System.Collections.Generic.IEnumerable<int> required
The items, in order.

Returns

GraphSceneStageOptions The same instance.
public static GraphSceneStageOptions IncludeFullScene(GraphSceneStageOptions graphSceneStageOptions, bool value = true) #

Sets GraphSceneStageOptions.IncludeFullScene: Gets or sets whether the deepest complete view is always included.

Parameters

graphSceneStageOptions ChartForgeX.Interactivity.GraphSceneStageOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

GraphSceneStageOptions The same instance.

Examples

// C# initializer or property                                                                 // C# fluent
new global::ChartForgeX.Interactivity.GraphSceneStageOptions { IncludeFullScene = value };    graphSceneStageOptions.IncludeFullScene(value);
public static GraphSceneStageOptions RootNodeId(GraphSceneStageOptions graphSceneStageOptions, string? value) #

Sets GraphSceneStageOptions.RootNodeId: Gets or sets an optional hierarchy root. Null plans all top-level trees in the scene.

Parameters

graphSceneStageOptions ChartForgeX.Interactivity.GraphSceneStageOptions required
The instance.
value string? required
The value.

Returns

GraphSceneStageOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::ChartForgeX.Interactivity.GraphSceneStageOptions { RootNodeId = value };    graphSceneStageOptions.RootNodeId(value);
public static GraphSceneStageOptions StageCount(GraphSceneStageOptions graphSceneStageOptions, int value) #

Sets GraphSceneStageOptions.StageCount: Gets or sets the requested number of automatically selected stages. The planner may return fewer stages when the hierarchy has fewer distinct depths.

Parameters

graphSceneStageOptions ChartForgeX.Interactivity.GraphSceneStageOptions required
The instance.
value int required
The value.

Returns

GraphSceneStageOptions The same instance.

Examples

// C# initializer or property                                                           // C# fluent
new global::ChartForgeX.Interactivity.GraphSceneStageOptions { StageCount = value };    graphSceneStageOptions.StageCount(value);