graphology-layout-forceatlas2
Advanced tools
Comparing version 0.7.1 to 0.8.0
{ | ||
"name": "graphology-layout-forceatlas2", | ||
"version": "0.7.1", | ||
"version": "0.8.0", | ||
"description": "ForceAtlas 2 layout algorithm for graphology.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -91,2 +91,5 @@ # Graphology ForceAtlas2 | ||
layout.kill(); | ||
// Assess whether the layout is currently running | ||
layout.isRunning(); | ||
``` | ||
@@ -93,0 +96,0 @@ |
@@ -15,2 +15,3 @@ import Graph from 'graphology-types'; | ||
isRunning(): boolean; | ||
start(): void; | ||
@@ -17,0 +18,0 @@ stop(): void; |
@@ -78,2 +78,6 @@ /** | ||
FA2LayoutSupervisor.prototype.isRunning = function () { | ||
return this.running; | ||
}; | ||
/** | ||
@@ -80,0 +84,0 @@ * Internal method used to spawn the web worker. |
76499
1905
114