GraphLayoutOptions
ChartForgeX.Interactivity
Describes deterministic graph layout preferences shared by static and interactive graph adapters.
Inheritance
- object
- GraphLayoutOptions
Usage
Explore 27 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 13
- Extension method GraphLayoutOptions.ComponentSpacing
- Extension method GraphLayoutOptions.Direction
- Extension method GraphLayoutOptions.InferLevelsFromEdges
- Extension method GraphLayoutOptions.LevelSeparation
- Extension method GraphLayoutOptions.Mode
- Extension method GraphLayoutOptions.NodeSpacing
- Method GraphLayoutOptionsFluent.ComponentSpacing
- Method GraphLayoutOptionsFluent.Direction
- Method GraphLayoutOptionsFluent.InferLevelsFromEdges
- Method GraphLayoutOptionsFluent.LevelSeparation
- Method GraphLayoutOptionsFluent.Mode
- Method GraphLayoutOptionsFluent.NodeSpacing
- Property GraphSceneOptions.Layout
Accepted by parameters 14
- Extension method GraphLayoutOptions.ComponentSpacing
- Extension method GraphLayoutOptions.Direction
- Extension method GraphLayoutOptions.InferLevelsFromEdges
- Extension method GraphLayoutOptions.LevelSeparation
- Extension method GraphLayoutOptions.Mode
- Extension method GraphLayoutOptions.NodeSpacing
- Method GraphLayoutOptionsFluent.ComponentSpacing
- Method GraphLayoutOptionsFluent.Direction
- Method GraphLayoutOptionsFluent.InferLevelsFromEdges
- Method GraphLayoutOptionsFluent.LevelSeparation
- Method GraphLayoutOptionsFluent.Mode
- Method GraphLayoutOptionsFluent.NodeSpacing
- Extension method GraphSceneOptions.Layout
- Method GraphSceneOptionsFluent.Layout
Constructors
public GraphLayoutOptions() #Inherited Methods
Properties
public GraphLayoutMode Mode { get; set; } #Gets or sets the prepared layout family used before adapter-side runtime physics begins.
public GraphLayoutDirection Direction { get; set; } #Gets or sets the direction used by hierarchical layouts.
public double LevelSeparation { get; set; } #Gets or sets the distance between adjacent hierarchy levels in scene units.
public double NodeSpacing { get; set; } #Gets or sets the distance between nodes in the same hierarchy level in scene units.
public double ComponentSpacing { get; set; } #Gets or sets additional distance between disconnected hierarchical components.
public bool InferLevelsFromEdges { get; set; } #Gets or sets whether missing hierarchy levels may be inferred from directed edges.
Extension Methods
public static GraphLayoutOptions ComponentSpacing(GraphLayoutOptions graphLayoutOptions, double value) #Sets GraphLayoutOptions.ComponentSpacing: Gets or sets additional distance between disconnected hierarchical components.
Parameters
- graphLayoutOptions ChartForgeX.Interactivity.GraphLayoutOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.GraphLayoutOptions { ComponentSpacing = value }; graphLayoutOptions.ComponentSpacing(value);public static GraphLayoutOptions Direction(GraphLayoutOptions graphLayoutOptions, GraphLayoutDirection value) #Sets GraphLayoutOptions.Direction: Gets or sets the direction used by hierarchical layouts.
Parameters
- graphLayoutOptions ChartForgeX.Interactivity.GraphLayoutOptions
- The instance.
- value ChartForgeX.Interactivity.GraphLayoutDirection
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.GraphLayoutOptions { Direction = value }; graphLayoutOptions.Direction(value);public static GraphLayoutOptions InferLevelsFromEdges(GraphLayoutOptions graphLayoutOptions, bool value = true) #Sets GraphLayoutOptions.InferLevelsFromEdges: Gets or sets whether missing hierarchy levels may be inferred from directed edges.
Parameters
- graphLayoutOptions ChartForgeX.Interactivity.GraphLayoutOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.GraphLayoutOptions { InferLevelsFromEdges = value }; graphLayoutOptions.InferLevelsFromEdges(value);public static GraphLayoutOptions LevelSeparation(GraphLayoutOptions graphLayoutOptions, double value) #Sets GraphLayoutOptions.LevelSeparation: Gets or sets the distance between adjacent hierarchy levels in scene units.
Parameters
- graphLayoutOptions ChartForgeX.Interactivity.GraphLayoutOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.GraphLayoutOptions { LevelSeparation = value }; graphLayoutOptions.LevelSeparation(value);public static GraphLayoutOptions Mode(GraphLayoutOptions graphLayoutOptions, GraphLayoutMode value) #Sets GraphLayoutOptions.Mode: Gets or sets the prepared layout family used before adapter-side runtime physics begins.
Parameters
- graphLayoutOptions ChartForgeX.Interactivity.GraphLayoutOptions
- The instance.
- value ChartForgeX.Interactivity.GraphLayoutMode
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.GraphLayoutOptions { Mode = value }; graphLayoutOptions.Mode(value);public static GraphLayoutOptions NodeSpacing(GraphLayoutOptions graphLayoutOptions, double value) #Sets GraphLayoutOptions.NodeSpacing: Gets or sets the distance between nodes in the same hierarchy level in scene units.
Parameters
- graphLayoutOptions ChartForgeX.Interactivity.GraphLayoutOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.GraphLayoutOptions { NodeSpacing = value }; graphLayoutOptions.NodeSpacing(value);