File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
plugins/sigma.layout.forceAtlas2 Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ sigma.layout.forceAtlas2
2
2
========================
3
3
4
4
Algorithm by [ Mathieu Jacomy] ( https://github.com/jacomyma ) .
5
+
5
6
Plugin by [ Guillaume Plique] ( https://github.com/Yomguithereal ) .
6
7
7
8
---
@@ -13,27 +14,31 @@ For optimization purposes, the algorithm's computations are delegated to a web w
13
14
## Methods
14
15
15
16
** sigma.startForceAtlas2**
17
+
16
18
Start or unpause the layout. It is possible to pass a configuration if this is the first time you start the layout.
17
19
18
20
``` js
19
21
sigmaInstance .startForceAtlas2 (config);
20
22
```
21
23
22
24
** sigma.stopForceAtlas2**
25
+
23
26
Pause the layout.
24
27
25
28
``` js
26
29
sigmaInstance .stopForceAtlas2 ();
27
30
```
28
31
29
32
** sigma.configForceAtlas2**
33
+
30
34
Change the layout's configuration after this one has started or is paused.
31
35
32
36
``` js
33
37
sigmaInstance .configForceAtlas2 (config);
34
38
```
35
39
36
40
** sigma.killForceAtlas2**
41
+
37
42
Completely stop the layout and terminate the assiociated worker. You can still restart it later, but a new worker will have to initialize.
38
43
39
44
``` js
You can’t perform that action at this time.
0 commit comments