|
@ -356,4 +356,46 @@ Network.prototype.isActive = function () { |
|
|
return !this.activator || this.activator.active; |
|
|
return !this.activator || this.activator.active; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Network.prototype.setSize = function() {this.canvas.setSize.apply(this.canvas,arguments);} |
|
|
|
|
|
Network.prototype.canvasToDOM = function() {this.canvas.canvasToDOM.apply(this.canvas,arguments);} |
|
|
|
|
|
Network.prototype.DOMtoCanvas = function() {this.canvas.setSize.DOMtoCanvas(this.canvas,arguments);} |
|
|
|
|
|
Network.prototype.findNode = function() {this.clustering.findNode.apply(this.clustering,arguments);} |
|
|
|
|
|
Network.prototype.isCluster = function() {this.clustering.isCluster.apply(this.clustering,arguments);} |
|
|
|
|
|
Network.prototype.openCluster = function() {this.clustering.openCluster.apply(this.clustering,arguments);} |
|
|
|
|
|
Network.prototype.cluster = function() {this.clustering.cluster.apply(this.clustering,arguments);} |
|
|
|
|
|
Network.prototype.clusterByConnection = function() {this.clustering.clusterByConnection.apply(this.clustering,arguments);} |
|
|
|
|
|
Network.prototype.clusterByHubsize = function() {this.clustering.clusterByHubsize.apply(this.clustering,arguments);} |
|
|
|
|
|
Network.prototype.clusterOutliers = function() {this.clustering.clusterOutliers.apply(this.clustering,arguments);} |
|
|
|
|
|
Network.prototype.getSeed = function() {this.layoutEngine.getSeed.apply(this.layoutEngine,arguments);} |
|
|
|
|
|
Network.prototype.enableEditMode = function() {this.manipulation.enableEditMode.apply(this.manipulation,arguments);} |
|
|
|
|
|
Network.prototype.disableEditMode = function() {this.manipulation.disableEditMode.apply(this.manipulation,arguments);} |
|
|
|
|
|
Network.prototype.addNodeMode = function() {this.manipulation.addNodeMode.apply(this.manipulation,arguments);} |
|
|
|
|
|
Network.prototype.editNodeMode = function() {this.manipulation.editNodeMode.apply(this.manipulation,arguments);} |
|
|
|
|
|
Network.prototype.addEdgeMode = function() {this.manipulation.addEdgeMode.apply(this.manipulation,arguments);} |
|
|
|
|
|
Network.prototype.editEdgeMode = function() {this.manipulation.editEdgeMode.apply(this.manipulation,arguments);} |
|
|
|
|
|
Network.prototype.deleteSelected = function() {this.manipulation.deleteSelected.apply(this.manipulation,arguments);} |
|
|
|
|
|
Network.prototype.getPositions = function() {this.nodesHandler.getPositions.apply(this.nodesHandler,arguments);} |
|
|
|
|
|
Network.prototype.storePositions = function() {this.nodesHandler.storePositions.apply(this.nodesHandler,arguments);} |
|
|
|
|
|
Network.prototype.getBoundingBox = function() {this.nodesHandler.getBoundingBox.apply(this.nodesHandler,arguments);} |
|
|
|
|
|
Network.prototype.getConnectedNodes = function() {this.nodesHandler.getConnectedNodes.apply(this.nodesHandler,arguments);} |
|
|
|
|
|
Network.prototype.getEdges = function() {this.nodesHandler.getEdges.apply(this.nodesHandler,arguments);} |
|
|
|
|
|
Network.prototype.startSimulation = function() {this.physics.startSimulation.apply(this.physics,arguments);} |
|
|
|
|
|
Network.prototype.stopSimulation = function() {this.physics.stopSimulation.apply(this.physics,arguments);} |
|
|
|
|
|
Network.prototype.stabilize = function() {this.physics.stabilize.apply(this.physics,arguments);} |
|
|
|
|
|
Network.prototype.getSelection = function() {this.selectionHandler.getSelection.apply(this.selectionHandler,arguments);} |
|
|
|
|
|
Network.prototype.getSelectedNodes = function() {this.selectionHandler.getSelectedNodes.apply(this.selectionHandler,arguments);} |
|
|
|
|
|
Network.prototype.getSelectedEdges = function() {this.selectionHandler.getSelectedEdges.apply(this.selectionHandler,arguments);} |
|
|
|
|
|
Network.prototype.getNodeAt = function() {this.selectionHandler.getNodeAt.apply(this.selectionHandler,arguments);} |
|
|
|
|
|
Network.prototype.getEdgeAt = function() {this.selectionHandler.getEdgeAt.apply(this.selectionHandler,arguments);} |
|
|
|
|
|
Network.prototype.selectNodes = function() {this.selectionHandler.selectNodes.apply(this.selectionHandler,arguments);} |
|
|
|
|
|
Network.prototype.selectEdges = function() {this.selectionHandler.selectEdges.apply(this.selectionHandler,arguments);} |
|
|
|
|
|
Network.prototype.unselectAll = function() {this.selectionHandler.unselectAll.apply(this.selectionHandler,arguments);} |
|
|
|
|
|
Network.prototype.getScale = function() {this.view.getScale.apply(this.view,arguments);} |
|
|
|
|
|
Network.prototype.getPosition = function() {this.view.getPosition.apply(this.view,arguments);} |
|
|
|
|
|
Network.prototype.fit = function() {this.view.fit.apply(this.view,arguments);} |
|
|
|
|
|
Network.prototype.moveTo = function() {this.view.moveTo.apply(this.view,arguments);} |
|
|
|
|
|
Network.prototype.focusOnNode = function() {this.view.focusOnNode.apply(this.view,arguments);} |
|
|
|
|
|
Network.prototype.releaseNode = function() {this.view.releaseNode.apply(this.view,arguments);} |
|
|
|
|
|
|
|
|
module.exports = Network; |
|
|
module.exports = Network; |