Skip to content
ChartForgeX
Class

VisNetworkClusterCommand

ChartForgeX.Interactivity

Namespace
ChartForgeX.Interactivity
Assembly
ChartForgeX.Interactivity
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 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

Constructors

public VisNetworkClusterCommand() #

Properties

public VisNetworkClusterMethod Method { get; set; } #

Gets or sets the clustering method.

public string? NodeId { get; set; } #

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

public int? HubSize { get; set; } #

Gets or sets the hub size for clusterByHubsize.

public string? GroupName { get; set; } #

Gets or sets the vis group name for group clustering.

public string? ClusterNodePropertiesJson { get; set; } #

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

public string? ClusterEdgePropertiesJson { get; set; } #

Gets or sets the clusterEdgeProperties JSON object.

public string? JoinCondition { get; set; } #

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

public string? ProcessProperties { get; set; } #

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

public Func<GraphSceneNode, bool>? Predicate { get; set; } #

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.