GraphSceneNeighborhoodOptions
ChartForgeX.Interactivity
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.
Returned or exposed by 9
- Extension method GraphSceneNeighborhoodOptions.Hops
- Extension method GraphSceneNeighborhoodOptions.MaximumEdges
- Extension method GraphSceneNeighborhoodOptions.MaximumNodes
- Extension method GraphSceneNeighborhoodOptions.NeighborOffset
- Method GraphSceneNeighborhoodOptionsFluent.Hops
- Method GraphSceneNeighborhoodOptionsFluent.MaximumEdges
- Method GraphSceneNeighborhoodOptionsFluent.MaximumNodes
- Method GraphSceneNeighborhoodOptionsFluent.NeighborOffset
- Property GraphSceneOptions.Neighborhood
Accepted by parameters 12
- Extension method GraphScene.CreateNeighborhood
- Extension method GraphSceneNeighborhoodOptions.Hops
- Extension method GraphSceneNeighborhoodOptions.MaximumEdges
- Extension method GraphSceneNeighborhoodOptions.MaximumNodes
- Extension method GraphSceneNeighborhoodOptions.NeighborOffset
- Method GraphSceneNeighborhoodOptionsFluent.Hops
- Method GraphSceneNeighborhoodOptionsFluent.MaximumEdges
- Method GraphSceneNeighborhoodOptionsFluent.MaximumNodes
- Method GraphSceneNeighborhoodOptionsFluent.NeighborOffset
- Method GraphSceneNeighborhoodPlanner.CreateNeighborhood
- Extension method GraphSceneOptions.Neighborhood
- Method GraphSceneOptionsFluent.Neighborhood
Constructors
public GraphSceneNeighborhoodOptions() #Inherited Methods
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
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
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.GraphSceneNeighborhoodOptions { NeighborOffset = value }; graphSceneNeighborhoodOptions.NeighborOffset(value);