# GraphManipulationOptionsFluent

The fluent methods of GraphManipulationOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds…

 Class  

`ChartForgeX.Interactivity`

**Namespace**

`ChartForgeX.Interactivity`

**Assembly**

`ChartForgeX.Interactivity`

**Modifiers**

static

The fluent methods of [GraphManipulationOptions](/api/chartforgex-interactivity-graphmanipulationoptions/), 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
- GraphManipulationOptionsFluent

 Filter members   

    Show inherited   

 

## Methods

 `public static GraphManipulationOptions CanAddEdges(GraphManipulationOptions graphManipulationOptions, bool value = true)` [#](#method-canaddedges-chartforgex-interactivity-graphmanipulationoptions-boolean) 

Sets [GraphManipulationOptions.CanAddEdges](/api/chartforgex-interactivity-graphmanipulationoptions/): 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

```csharp
// 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)` [#](#method-canaddnodes-chartforgex-interactivity-graphmanipulationoptions-boolean) 

Sets [GraphManipulationOptions.CanAddNodes](/api/chartforgex-interactivity-graphmanipulationoptions/): 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

```csharp
// 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)` [#](#method-candeleteedges-chartforgex-interactivity-graphmanipulationoptions-boolean) 

Sets [GraphManipulationOptions.CanDeleteEdges](/api/chartforgex-interactivity-graphmanipulationoptions/): 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

```csharp
// 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)` [#](#method-candeletenodes-chartforgex-interactivity-graphmanipulationoptions-boolean) 

Sets [GraphManipulationOptions.CanDeleteNodes](/api/chartforgex-interactivity-graphmanipulationoptions/): 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

```csharp
// 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)` [#](#method-candraggroups-chartforgex-interactivity-graphmanipulationoptions-boolean) 

Sets [GraphManipulationOptions.CanDragGroups](/api/chartforgex-interactivity-graphmanipulationoptions/): 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

```csharp
// 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)` [#](#method-caneditedges-chartforgex-interactivity-graphmanipulationoptions-boolean) 

Sets [GraphManipulationOptions.CanEditEdges](/api/chartforgex-interactivity-graphmanipulationoptions/): 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

```csharp
// 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)` [#](#method-caneditnodes-chartforgex-interactivity-graphmanipulationoptions-boolean) 

Sets [GraphManipulationOptions.CanEditNodes](/api/chartforgex-interactivity-graphmanipulationoptions/): 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

```csharp
// 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)` [#](#method-canpersistpositions-chartforgex-interactivity-graphmanipulationoptions-boolean) 

Sets [GraphManipulationOptions.CanPersistPositions](/api/chartforgex-interactivity-graphmanipulationoptions/): 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

```csharp
// 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)` [#](#method-confirmdestructivechanges-chartforgex-interactivity-graphmanipulationoptions-boolean) 

Sets [GraphManipulationOptions.ConfirmDestructiveChanges](/api/chartforgex-interactivity-graphmanipulationoptions/): 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

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

 `public static GraphManipulationOptions MaximumHistoryEntries(GraphManipulationOptions graphManipulationOptions, int value)` [#](#method-maximumhistoryentries-chartforgex-interactivity-graphmanipulationoptions-int32) 

Sets [GraphManipulationOptions.MaximumHistoryEntries](/api/chartforgex-interactivity-graphmanipulationoptions/): 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

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

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

<!-- PowerForge markdown artifact sha256:0BA4C0F45CB78653C33FEF982C0E37338F20A60D550B099E756525ABBEA3650A -->
