GraphLayoutOptionsFluent
ChartForgeX.Interactivity
The fluent methods of GraphLayoutOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- GraphLayoutOptionsFluent
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);