# VisNetworkClusterCommand

Describes one vis-network clustering call, such as network.clusterByHubsize(3, options).

 Class  

`ChartForgeX.Interactivity`

**Namespace**

`ChartForgeX.Interactivity`

**Assembly**

`ChartForgeX.Interactivity`

**Source**

[VisNetworkMigration.cs:78](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkMigration.cs#L78)

**Modifiers**

sealed

Describes one vis-network clustering call, such as network.clusterByHubsize(3, options). JavaScript callbacks can be kept as text so the migration can report them; supply [VisNetworkClusterCommand.Predicate](/api/chartforgex-interactivity-visnetworkclustercommand/) to replace one.

## Inheritance

- object
- VisNetworkClusterCommand

## Usage

 Explore 1 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.

### Returned or exposed by 1

- Property [VisNetworkMigrationInput.Clustering](/api/chartforgex-interactivity-visnetworkmigrationinput/#property-clustering)

 Filter members   

    Show inherited   

 

## Constructors

 `public VisNetworkClusterCommand()` [#](#constructor-ctor) 

## 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?` 

## Properties

 `public VisNetworkClusterMethod Method { get; set; }` [#](#property-method) 

[VisNetworkMigration.cs:78](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkMigration.cs#L78)

Gets or sets the clustering method.

 `public string? NodeId { get; set; }` [#](#property-nodeid) 

[VisNetworkMigration.cs:81](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkMigration.cs#L81)

Gets or sets the vis node id for clusterByConnection and the cluster id for openCluster.

 `public int? HubSize { get; set; }` [#](#property-hubsize) 

[VisNetworkMigration.cs:84](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkMigration.cs#L84)

Gets or sets the hub size for clusterByHubsize.

 `public string? GroupName { get; set; }` [#](#property-groupname) 

[VisNetworkMigration.cs:87](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkMigration.cs#L87)

Gets or sets the vis group name for group clustering.

 `public string? ClusterNodePropertiesJson { get; set; }` [#](#property-clusternodepropertiesjson) 

[VisNetworkMigration.cs:90](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkMigration.cs#L90)

Gets or sets the clusterNodeProperties JSON object. Its id and label name the cluster.

 `public string? ClusterEdgePropertiesJson { get; set; }` [#](#property-clusteredgepropertiesjson) 

[VisNetworkMigration.cs:93](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkMigration.cs#L93)

Gets or sets the clusterEdgeProperties JSON object.

 `public string? JoinCondition { get; set; }` [#](#property-joincondition) 

[VisNetworkMigration.cs:96](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkMigration.cs#L96)

Gets or sets the JavaScript joinCondition source, kept only for reporting.

 `public string? ProcessProperties { get; set; }` [#](#property-processproperties) 

[VisNetworkMigration.cs:99](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkMigration.cs#L99)

Gets or sets the JavaScript processProperties source, kept only for reporting.

 `public Func<GraphSceneNode, bool>? Predicate { get; set; }` [#](#property-predicate) 

[VisNetworkMigration.cs:105](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/VisNetworkMigration.cs#L105)

Gets or sets the .NET replacement for joinCondition. It receives the translated node; vis ids and groups are in its vis.id and vis.group metadata when they had to be changed into ChartForgeX tokens.

<!-- PowerForge markdown artifact sha256:FEE0AF9320F90D5A22A7B71C78155812264699B842ECEF6D2E8DDD5258F225AA -->
