# GraphSceneNeighborhoodOptionsFluent

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

 Class  

`ChartForgeX.Interactivity`

**Namespace**

`ChartForgeX.Interactivity`

**Assembly**

`ChartForgeX.Interactivity`

**Modifiers**

static

The fluent methods of [GraphSceneNeighborhoodOptions](/api/chartforgex-interactivity-graphsceneneighborhoodoptions/), 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
- GraphSceneNeighborhoodOptionsFluent

 Filter members   

    Show inherited   

 

## Methods

 `public static GraphSceneNeighborhoodOptions Hops(GraphSceneNeighborhoodOptions graphSceneNeighborhoodOptions, int value)` [#](#method-hops-chartforgex-interactivity-graphsceneneighborhoodoptions-int32) 

Sets [GraphSceneNeighborhoodOptions.Hops](/api/chartforgex-interactivity-graphsceneneighborhoodoptions/): Gets or sets the maximum undirected relationship distance from the root. Defaults to one hop.

Parameters

**graphSceneNeighborhoodOptions ChartForgeX.Interactivity.GraphSceneNeighborhoodOptions required**

The instance.

**value int required**

The value.

Returns

 `GraphSceneNeighborhoodOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                            // C# fluent
new global::ChartForgeX.Interactivity.GraphSceneNeighborhoodOptions { Hops = value };    graphSceneNeighborhoodOptions.Hops(value);
```

 `public static GraphSceneNeighborhoodOptions MaximumEdges(GraphSceneNeighborhoodOptions graphSceneNeighborhoodOptions, int value)` [#](#method-maximumedges-chartforgex-interactivity-graphsceneneighborhoodoptions-int32) 

Sets [GraphSceneNeighborhoodOptions.MaximumEdges](/api/chartforgex-interactivity-graphsceneneighborhoodoptions/): Gets or sets the maximum number of visible relationships. Defaults to 24; zero produces a node-only view.

Parameters

**graphSceneNeighborhoodOptions ChartForgeX.Interactivity.GraphSceneNeighborhoodOptions required**

The instance.

**value int required**

The value.

Returns

 `GraphSceneNeighborhoodOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                                    // C# fluent
new global::ChartForgeX.Interactivity.GraphSceneNeighborhoodOptions { MaximumEdges = value };    graphSceneNeighborhoodOptions.MaximumEdges(value);
```

 `public static GraphSceneNeighborhoodOptions MaximumNodes(GraphSceneNeighborhoodOptions graphSceneNeighborhoodOptions, int value)` [#](#method-maximumnodes-chartforgex-interactivity-graphsceneneighborhoodoptions-int32) 

Sets [GraphSceneNeighborhoodOptions.MaximumNodes](/api/chartforgex-interactivity-graphsceneneighborhoodoptions/): Gets or sets the maximum number of visible nodes, including the root. Defaults to 13.

Parameters

**graphSceneNeighborhoodOptions ChartForgeX.Interactivity.GraphSceneNeighborhoodOptions required**

The instance.

**value int required**

The value.

Returns

 `GraphSceneNeighborhoodOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                                    // C# fluent
new global::ChartForgeX.Interactivity.GraphSceneNeighborhoodOptions { MaximumNodes = value };    graphSceneNeighborhoodOptions.MaximumNodes(value);
```

 `public static GraphSceneNeighborhoodOptions NeighborOffset(GraphSceneNeighborhoodOptions graphSceneNeighborhoodOptions, int value)` [#](#method-neighboroffset-chartforgex-interactivity-graphsceneneighborhoodoptions-int32) 

Sets [GraphSceneNeighborhoodOptions.NeighborOffset](/api/chartforgex-interactivity-graphsceneneighborhoodoptions/): Gets or sets how many neighbors to skip before filling the view. The root is always retained. Neighbors are ordered by distance, then ordinal id.

Parameters

**graphSceneNeighborhoodOptions ChartForgeX.Interactivity.GraphSceneNeighborhoodOptions required**

The instance.

**value int required**

The value.

Returns

 `GraphSceneNeighborhoodOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                                      // C# fluent
new global::ChartForgeX.Interactivity.GraphSceneNeighborhoodOptions { NeighborOffset = value };    graphSceneNeighborhoodOptions.NeighborOffset(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:A272CF00DE0EFD731EDDFE615EDD7E69388DC623FED9A57A03F09E7A4B1C857C -->
