Skip to content
ChartForgeX
Class

GraphManipulationOptions

ChartForgeX.Interactivity

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

Describes opt-in editing capabilities for graph adapters without making static rendering mutable by default.

Inheritance

  • object
  • GraphManipulationOptions

Usage

Explore 44 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 22

Constructors

public GraphManipulationOptions() #

Methods

public GraphManipulationOptions EnableEditing() #

Enables the common edit surface used by graph explorers that support topology authoring or repair workflows.

Returns

GraphManipulationOptions The current options instance.

Properties

public bool CanAddNodes { get; set; } #

Gets or sets whether users can create nodes in the adapter.

public bool CanEditNodes { get; set; } #

Gets or sets whether users can edit node labels, metadata, or visual hints in the adapter.

public bool CanDeleteNodes { get; set; } #

Gets or sets whether users can delete nodes in the adapter.

public bool CanAddEdges { get; set; } #

Gets or sets whether users can create edges between existing nodes in the adapter.

public bool CanEditEdges { get; set; } #

Gets or sets whether users can edit edge labels, metadata, or visual hints in the adapter.

public bool CanDeleteEdges { get; set; } #

Gets or sets whether users can delete edges in the adapter.

public bool CanDragGroups { get; set; } #

Gets or sets whether adapters can move a collapsed group or cluster as one unit.

public bool CanPersistPositions { get; set; } #

Gets or sets whether adapters can export user-adjusted node positions for host persistence.

public bool ConfirmDestructiveChanges { get; set; } #

Gets or sets whether adapters should ask for confirmation before deleting graph items.

public int MaximumHistoryEntries { get; set; } #

Gets or sets the maximum number of undo snapshots retained by adapters.

Extension Methods

public static GraphManipulationOptions CanAddEdges(GraphManipulationOptions graphManipulationOptions, bool value = true) #

Sets GraphManipulationOptions.CanAddEdges: Gets or sets whether users can create edges between existing nodes in the adapter.

Parameters

graphManipulationOptions ChartForgeX.Interactivity.GraphManipulationOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

GraphManipulationOptions The same instance.

Examples

// C# initializer or property                                                              // C# fluent
new global::ChartForgeX.Interactivity.GraphManipulationOptions { CanAddEdges = value };    graphManipulationOptions.CanAddEdges(value);
public static GraphManipulationOptions CanAddNodes(GraphManipulationOptions graphManipulationOptions, bool value = true) #

Sets GraphManipulationOptions.CanAddNodes: Gets or sets whether users can create nodes in the adapter.

Parameters

graphManipulationOptions ChartForgeX.Interactivity.GraphManipulationOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

GraphManipulationOptions The same instance.

Examples

// C# initializer or property                                                              // C# fluent
new global::ChartForgeX.Interactivity.GraphManipulationOptions { CanAddNodes = value };    graphManipulationOptions.CanAddNodes(value);
public static GraphManipulationOptions CanDeleteEdges(GraphManipulationOptions graphManipulationOptions, bool value = true) #

Sets GraphManipulationOptions.CanDeleteEdges: Gets or sets whether users can delete edges in the adapter.

Parameters

graphManipulationOptions ChartForgeX.Interactivity.GraphManipulationOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

GraphManipulationOptions The same instance.

Examples

// C# initializer or property                                                                 // C# fluent
new global::ChartForgeX.Interactivity.GraphManipulationOptions { CanDeleteEdges = value };    graphManipulationOptions.CanDeleteEdges(value);
public static GraphManipulationOptions CanDeleteNodes(GraphManipulationOptions graphManipulationOptions, bool value = true) #

Sets GraphManipulationOptions.CanDeleteNodes: Gets or sets whether users can delete nodes in the adapter.

Parameters

graphManipulationOptions ChartForgeX.Interactivity.GraphManipulationOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

GraphManipulationOptions The same instance.

Examples

// C# initializer or property                                                                 // C# fluent
new global::ChartForgeX.Interactivity.GraphManipulationOptions { CanDeleteNodes = value };    graphManipulationOptions.CanDeleteNodes(value);
public static GraphManipulationOptions CanDragGroups(GraphManipulationOptions graphManipulationOptions, bool value = true) #

Sets GraphManipulationOptions.CanDragGroups: Gets or sets whether adapters can move a collapsed group or cluster as one unit.

Parameters

graphManipulationOptions ChartForgeX.Interactivity.GraphManipulationOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

GraphManipulationOptions The same instance.

Examples

// C# initializer or property                                                                // C# fluent
new global::ChartForgeX.Interactivity.GraphManipulationOptions { CanDragGroups = value };    graphManipulationOptions.CanDragGroups(value);
public static GraphManipulationOptions CanEditEdges(GraphManipulationOptions graphManipulationOptions, bool value = true) #

Sets GraphManipulationOptions.CanEditEdges: Gets or sets whether users can edit edge labels, metadata, or visual hints in the adapter.

Parameters

graphManipulationOptions ChartForgeX.Interactivity.GraphManipulationOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

GraphManipulationOptions The same instance.

Examples

// C# initializer or property                                                               // C# fluent
new global::ChartForgeX.Interactivity.GraphManipulationOptions { CanEditEdges = value };    graphManipulationOptions.CanEditEdges(value);
public static GraphManipulationOptions CanEditNodes(GraphManipulationOptions graphManipulationOptions, bool value = true) #

Sets GraphManipulationOptions.CanEditNodes: Gets or sets whether users can edit node labels, metadata, or visual hints in the adapter.

Parameters

graphManipulationOptions ChartForgeX.Interactivity.GraphManipulationOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

GraphManipulationOptions The same instance.

Examples

// C# initializer or property                                                               // C# fluent
new global::ChartForgeX.Interactivity.GraphManipulationOptions { CanEditNodes = value };    graphManipulationOptions.CanEditNodes(value);
public static GraphManipulationOptions CanPersistPositions(GraphManipulationOptions graphManipulationOptions, bool value = true) #

Sets GraphManipulationOptions.CanPersistPositions: Gets or sets whether adapters can export user-adjusted node positions for host persistence.

Parameters

graphManipulationOptions ChartForgeX.Interactivity.GraphManipulationOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

GraphManipulationOptions The same instance.

Examples

// C# initializer or property                                                                      // C# fluent
new global::ChartForgeX.Interactivity.GraphManipulationOptions { CanPersistPositions = value };    graphManipulationOptions.CanPersistPositions(value);
public static GraphManipulationOptions ConfirmDestructiveChanges(GraphManipulationOptions graphManipulationOptions, bool value = true) #

Sets GraphManipulationOptions.ConfirmDestructiveChanges: Gets or sets whether adapters should ask for confirmation before deleting graph items.

Parameters

graphManipulationOptions ChartForgeX.Interactivity.GraphManipulationOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

GraphManipulationOptions The same instance.

Examples

// C# initializer or property                                                                            // C# fluent
new global::ChartForgeX.Interactivity.GraphManipulationOptions { ConfirmDestructiveChanges = value };    graphManipulationOptions.ConfirmDestructiveChanges(value);
public static GraphManipulationOptions MaximumHistoryEntries(GraphManipulationOptions graphManipulationOptions, int value) #

Sets GraphManipulationOptions.MaximumHistoryEntries: Gets or sets the maximum number of undo snapshots retained by adapters.

Parameters

graphManipulationOptions ChartForgeX.Interactivity.GraphManipulationOptions required
The instance.
value int required
The value.

Returns

GraphManipulationOptions The same instance.

Examples

// C# initializer or property                                                                        // C# fluent
new global::ChartForgeX.Interactivity.GraphManipulationOptions { MaximumHistoryEntries = value };    graphManipulationOptions.MaximumHistoryEntries(value);