HtmlForgeX

API Reference

Class

VisNetworkHierarchicalOptions

Namespace HtmlForgeX
Assembly HtmlForgeX

Hierarchical layout configuration.

Inheritance

  • Object
  • VisNetworkHierarchicalOptions

Constructors

public VisNetworkHierarchicalOptions() #

Methods

public VisNetworkHierarchicalOptions WithBlockShifting(Boolean enabled = true) #
Returns: VisNetworkHierarchicalOptions

Sets the BlockShifting value.

Parameters

enabled System.Boolean = true optionalposition: 0
Whether block shifting is enabled.

Returns

The current VisNetworkHierarchicalOptions instance.

public VisNetworkHierarchicalOptions WithDirection(VisNetworkLayoutDirection direction) #
Returns: VisNetworkHierarchicalOptions

Sets the Direction property.

Parameters

direction HtmlForgeX.VisNetworkLayoutDirection requiredposition: 0
Layout direction.

Returns

The current VisNetworkHierarchicalOptions instance.

public VisNetworkHierarchicalOptions WithEdgeMinimization(Boolean enabled = true) #
Returns: VisNetworkHierarchicalOptions

Sets the EdgeMinimization value.

Parameters

enabled System.Boolean = true optionalposition: 0
Whether edge minimization is enabled.

Returns

The current VisNetworkHierarchicalOptions instance.

public VisNetworkHierarchicalOptions WithEnabled(Boolean enabled = true) #
Returns: VisNetworkHierarchicalOptions

Sets Enabled.

Parameters

enabled System.Boolean = true optionalposition: 0
Whether hierarchical layout is enabled.

Returns

The current VisNetworkHierarchicalOptions instance.

public VisNetworkHierarchicalOptions WithLevelSeparation(Double separation) #
Returns: VisNetworkHierarchicalOptions

Sets the LevelSeparation value.

Parameters

separation System.Double requiredposition: 0
Distance between levels.

Returns

The current VisNetworkHierarchicalOptions instance.

public VisNetworkHierarchicalOptions WithNodeSpacing(Double spacing) #
Returns: VisNetworkHierarchicalOptions

Sets the NodeSpacing value.

Parameters

spacing System.Double requiredposition: 0
Spacing between nodes.

Returns

The current VisNetworkHierarchicalOptions instance.

public VisNetworkHierarchicalOptions WithParentCentralization(Boolean enabled = true) #
Returns: VisNetworkHierarchicalOptions

Sets the ParentCentralization value.

Parameters

enabled System.Boolean = true optionalposition: 0
Whether parents should be centered.

Returns

The current VisNetworkHierarchicalOptions instance.

WithShakeTowards 2 overloads
public VisNetworkHierarchicalOptions WithShakeTowards(VisNetworkShakeTowards direction) #
Returns: VisNetworkHierarchicalOptions

Sets the ShakeTowards property using an enum value.

Parameters

direction HtmlForgeX.VisNetworkShakeTowards requiredposition: 0
Direction to shake towards.

Returns

The current VisNetworkHierarchicalOptions instance.

public VisNetworkHierarchicalOptions WithShakeTowards(String direction) #
Returns: VisNetworkHierarchicalOptions

Sets the ShakeTowards property using a string value.

Parameters

direction System.String requiredposition: 0
String representation of the direction.

Returns

The current VisNetworkHierarchicalOptions instance.

public VisNetworkHierarchicalOptions WithSortMethod(VisNetworkLayoutSort sortMethod) #
Returns: VisNetworkHierarchicalOptions

Sets the SortMethod property.

Parameters

sortMethod HtmlForgeX.VisNetworkLayoutSort requiredposition: 0
The sort method to use.

Returns

The current VisNetworkHierarchicalOptions instance.

public VisNetworkHierarchicalOptions WithTreeSpacing(Double spacing) #
Returns: VisNetworkHierarchicalOptions

Sets the TreeSpacing value.

Parameters

spacing System.Double requiredposition: 0
Spacing between branches.

Returns

The current VisNetworkHierarchicalOptions instance.

Properties

public Nullable<Boolean> Enabled { get; set; } #
JsonPropertyName("enabled") JsonIgnore(Condition = 3)

Gets or sets a value indicating whether hierarchical layout is enabled.

public Nullable<Double> LevelSeparation { get; set; } #
JsonPropertyName("levelSeparation") JsonIgnore(Condition = 3)

Gets or sets the separation distance between levels.

public Nullable<Double> NodeSpacing { get; set; } #
JsonPropertyName("nodeSpacing") JsonIgnore(Condition = 3)

Gets or sets the spacing between nodes on the same level.

public Nullable<Double> TreeSpacing { get; set; } #
JsonPropertyName("treeSpacing") JsonIgnore(Condition = 3)

Gets or sets the spacing between different branches.

public Nullable<Boolean> BlockShifting { get; set; } #
JsonPropertyName("blockShifting") JsonIgnore(Condition = 3)

Gets or sets a value indicating whether blocks may shift to reduce edge crossings.

public Nullable<Boolean> EdgeMinimization { get; set; } #
JsonPropertyName("edgeMinimization") JsonIgnore(Condition = 3)

Gets or sets a value indicating whether edge crossings should be minimized.

public Nullable<Boolean> ParentCentralization { get; set; } #
JsonPropertyName("parentCentralization") JsonIgnore(Condition = 3)

Gets or sets a value indicating whether parents are centered above their children.

public Nullable<VisNetworkLayoutDirection> Direction { get; set; } #
JsonPropertyName("direction") JsonIgnore(Condition = 3)

Gets or sets the layout direction.

public Nullable<VisNetworkLayoutSort> SortMethod { get; set; } #
JsonPropertyName("sortMethod") JsonIgnore(Condition = 3)

Gets or sets the sorting method for nodes on the same level.

public Object ShakeTowards { get; set; } #
JsonPropertyName("shakeTowards") JsonIgnore(Condition = 3)

Gets or sets the direction in which nodes are shaken when stabilizing.