diff --git a/lib/network/Network.js b/lib/network/Network.js index 67ec6da564..3d4c2729e7 100644 --- a/lib/network/Network.js +++ b/lib/network/Network.js @@ -496,6 +496,11 @@ Network.prototype.cluster = function() {return this.clustering.clust Network.prototype.getNodesInCluster = function() {return this.clustering.getNodesInCluster.apply(this.clustering,arguments);}; Network.prototype.clusterByConnection = function() {return this.clustering.clusterByConnection.apply(this.clustering,arguments);}; Network.prototype.clusterByHubsize = function() {return this.clustering.clusterByHubsize.apply(this.clustering,arguments);}; +Network.prototype.updateClusteredNode = function() {return this.clustering.updateClusteredNode.apply(this.clustering,arguments);}; +Network.prototype.getClusteredEdges = function() {return this.clustering.getClusteredEdges.apply(this.clustering,arguments);}; +Network.prototype.getBaseEdge = function() {return this.clustering.getBaseEdge.apply(this.clustering,arguments);}; +Network.prototype.getBaseEdges = function() {return this.clustering.getBaseEdges.apply(this.clustering,arguments);}; +Network.prototype.updateEdge = function() {return this.clustering.updateEdge.apply(this.clustering,arguments);}; /** * This method will cluster all nodes with 1 edge with their respective connected node. diff --git a/lib/network/modules/Clustering.js b/lib/network/modules/Clustering.js index 55f78a58b7..276b4efd07 100644 --- a/lib/network/modules/Clustering.js +++ b/lib/network/modules/Clustering.js @@ -897,7 +897,7 @@ class ClusterEngine { /** * Using a clustered nodeId, update with the new options - * @param {vis.Edge.id} clusteredNodeId + * @param {Node.id} clusteredNodeId * @param {object} newOptions */ updateClusteredNode(clusteredNodeId, newOptions) {