Skip to content
ChartForgeX
Class

GraphInteractionOptions

ChartForgeX.Interactivity

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

Controls reusable graph pointer and topology-change behavior.

Inheritance

  • object
  • GraphInteractionOptions

Usage

Explore 31 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 16

Constructors

public GraphInteractionOptions() #

Properties

public GraphNodeDragBehavior NodeDragBehavior { get; set; } #

Gets or sets what happens to a node after it is dragged.

public bool SimulateConnectedNodesWhileDragging { get; set; } #

Gets or sets whether connected movable nodes continue responding while a node is held.

public double DragMomentum { get; set; } #

Gets or sets how much recent pointer velocity is transferred to a released node, from zero to one.

public bool ReheatAfterDrag { get; set; } #

Gets or sets whether runtime physics reheats after a node is dropped.

public bool ReheatAfterClusterChange { get; set; } #

Gets or sets whether runtime physics reheats after clusters expand or collapse.

public bool ReheatAfterHierarchyChange { get; set; } #

Gets or sets whether runtime physics reheats after hierarchy navigation changes visible nodes.

public bool ReheatAfterGraphChange { get; set; } #

Gets or sets whether runtime physics reheats after incremental nodes, edges, or clusters change.

Extension Methods

public static GraphInteractionOptions DragMomentum(GraphInteractionOptions graphInteractionOptions, double value) #

Sets GraphInteractionOptions.DragMomentum: Gets or sets how much recent pointer velocity is transferred to a released node, from zero to one.

Parameters

graphInteractionOptions ChartForgeX.Interactivity.GraphInteractionOptions required
The instance.
value double required
The value.

Returns

GraphInteractionOptions The same instance.

Examples

// C# initializer or property                                                              // C# fluent
new global::ChartForgeX.Interactivity.GraphInteractionOptions { DragMomentum = value };    graphInteractionOptions.DragMomentum(value);
public static GraphInteractionOptions NodeDragBehavior(GraphInteractionOptions graphInteractionOptions, GraphNodeDragBehavior value) #

Sets GraphInteractionOptions.NodeDragBehavior: Gets or sets what happens to a node after it is dragged.

Parameters

graphInteractionOptions ChartForgeX.Interactivity.GraphInteractionOptions required
The instance.
value ChartForgeX.Interactivity.GraphNodeDragBehavior required
The value.

Returns

GraphInteractionOptions The same instance.

Examples

// C# initializer or property                                                                  // C# fluent
new global::ChartForgeX.Interactivity.GraphInteractionOptions { NodeDragBehavior = value };    graphInteractionOptions.NodeDragBehavior(value);
public static GraphInteractionOptions ReheatAfterClusterChange(GraphInteractionOptions graphInteractionOptions, bool value = true) #

Sets GraphInteractionOptions.ReheatAfterClusterChange: Gets or sets whether runtime physics reheats after clusters expand or collapse.

Parameters

graphInteractionOptions ChartForgeX.Interactivity.GraphInteractionOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

GraphInteractionOptions The same instance.

Examples

// C# initializer or property                                                                          // C# fluent
new global::ChartForgeX.Interactivity.GraphInteractionOptions { ReheatAfterClusterChange = value };    graphInteractionOptions.ReheatAfterClusterChange(value);
public static GraphInteractionOptions ReheatAfterDrag(GraphInteractionOptions graphInteractionOptions, bool value = true) #

Sets GraphInteractionOptions.ReheatAfterDrag: Gets or sets whether runtime physics reheats after a node is dropped.

Parameters

graphInteractionOptions ChartForgeX.Interactivity.GraphInteractionOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

GraphInteractionOptions The same instance.

Examples

// C# initializer or property                                                                 // C# fluent
new global::ChartForgeX.Interactivity.GraphInteractionOptions { ReheatAfterDrag = value };    graphInteractionOptions.ReheatAfterDrag(value);
public static GraphInteractionOptions ReheatAfterGraphChange(GraphInteractionOptions graphInteractionOptions, bool value = true) #

Sets GraphInteractionOptions.ReheatAfterGraphChange: Gets or sets whether runtime physics reheats after incremental nodes, edges, or clusters change.

Parameters

graphInteractionOptions ChartForgeX.Interactivity.GraphInteractionOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

GraphInteractionOptions The same instance.

Examples

// C# initializer or property                                                                        // C# fluent
new global::ChartForgeX.Interactivity.GraphInteractionOptions { ReheatAfterGraphChange = value };    graphInteractionOptions.ReheatAfterGraphChange(value);
public static GraphInteractionOptions ReheatAfterHierarchyChange(GraphInteractionOptions graphInteractionOptions, bool value = true) #

Sets GraphInteractionOptions.ReheatAfterHierarchyChange: Gets or sets whether runtime physics reheats after hierarchy navigation changes visible nodes.

Parameters

graphInteractionOptions ChartForgeX.Interactivity.GraphInteractionOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

GraphInteractionOptions The same instance.

Examples

// C# initializer or property                                                                            // C# fluent
new global::ChartForgeX.Interactivity.GraphInteractionOptions { ReheatAfterHierarchyChange = value };    graphInteractionOptions.ReheatAfterHierarchyChange(value);
public static GraphInteractionOptions SimulateConnectedNodesWhileDragging(GraphInteractionOptions graphInteractionOptions, bool value = true) #

Sets GraphInteractionOptions.SimulateConnectedNodesWhileDragging: Gets or sets whether connected movable nodes continue responding while a node is held.

Parameters

graphInteractionOptions ChartForgeX.Interactivity.GraphInteractionOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

GraphInteractionOptions The same instance.

Examples

// C# initializer or property                                                                                     // C# fluent
new global::ChartForgeX.Interactivity.GraphInteractionOptions { SimulateConnectedNodesWhileDragging = value };    graphInteractionOptions.SimulateConnectedNodesWhileDragging(value);