Skip to content
ChartForgeX
Class

GraphSceneNeighborhoodOptions

ChartForgeX.Interactivity

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

Controls a bounded, deterministic neighborhood of a graph node.

Inheritance

  • object
  • GraphSceneNeighborhoodOptions

Usage

Explore 21 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 12

Constructors

public GraphSceneNeighborhoodOptions() #

Properties

public int Hops { get; set; } #

Gets or sets the maximum undirected relationship distance from the root. Defaults to one hop.

public int MaximumNodes { get; set; } #

Gets or sets the maximum number of visible nodes, including the root. Defaults to 13.

public int MaximumEdges { get; set; } #

Gets or sets the maximum number of visible relationships. Defaults to 24; zero produces a node-only view.

public int NeighborOffset { get; set; } #

Gets or sets how many neighbors to skip before filling the view. The root is always retained. Neighbors are ordered by distance, then ordinal id.

Extension Methods

public static GraphSceneNeighborhoodOptions Hops(GraphSceneNeighborhoodOptions graphSceneNeighborhoodOptions, int value) #

Sets GraphSceneNeighborhoodOptions.Hops: Gets or sets the maximum undirected relationship distance from the root. Defaults to one hop.

Parameters

graphSceneNeighborhoodOptions ChartForgeX.Interactivity.GraphSceneNeighborhoodOptions required
The instance.
value int required
The value.

Returns

GraphSceneNeighborhoodOptions The same instance.

Examples

// C# initializer or property                                                            // C# fluent
new global::ChartForgeX.Interactivity.GraphSceneNeighborhoodOptions { Hops = value };    graphSceneNeighborhoodOptions.Hops(value);
public static GraphSceneNeighborhoodOptions MaximumEdges(GraphSceneNeighborhoodOptions graphSceneNeighborhoodOptions, int value) #

Sets GraphSceneNeighborhoodOptions.MaximumEdges: Gets or sets the maximum number of visible relationships. Defaults to 24; zero produces a node-only view.

Parameters

graphSceneNeighborhoodOptions ChartForgeX.Interactivity.GraphSceneNeighborhoodOptions required
The instance.
value int required
The value.

Returns

GraphSceneNeighborhoodOptions The same instance.

Examples

// C# initializer or property                                                                    // C# fluent
new global::ChartForgeX.Interactivity.GraphSceneNeighborhoodOptions { MaximumEdges = value };    graphSceneNeighborhoodOptions.MaximumEdges(value);
public static GraphSceneNeighborhoodOptions MaximumNodes(GraphSceneNeighborhoodOptions graphSceneNeighborhoodOptions, int value) #

Sets GraphSceneNeighborhoodOptions.MaximumNodes: Gets or sets the maximum number of visible nodes, including the root. Defaults to 13.

Parameters

graphSceneNeighborhoodOptions ChartForgeX.Interactivity.GraphSceneNeighborhoodOptions required
The instance.
value int required
The value.

Returns

GraphSceneNeighborhoodOptions The same instance.

Examples

// C# initializer or property                                                                    // C# fluent
new global::ChartForgeX.Interactivity.GraphSceneNeighborhoodOptions { MaximumNodes = value };    graphSceneNeighborhoodOptions.MaximumNodes(value);
public static GraphSceneNeighborhoodOptions NeighborOffset(GraphSceneNeighborhoodOptions graphSceneNeighborhoodOptions, int value) #

Sets GraphSceneNeighborhoodOptions.NeighborOffset: Gets or sets how many neighbors to skip before filling the view. The root is always retained. Neighbors are ordered by distance, then ordinal id.

Parameters

graphSceneNeighborhoodOptions ChartForgeX.Interactivity.GraphSceneNeighborhoodOptions required
The instance.
value int required
The value.

Returns

GraphSceneNeighborhoodOptions The same instance.

Examples

// C# initializer or property                                                                      // C# fluent
new global::ChartForgeX.Interactivity.GraphSceneNeighborhoodOptions { NeighborOffset = value };    graphSceneNeighborhoodOptions.NeighborOffset(value);