UNPKG
ngraph.forcelayout3d
Version:
latest (1.2.0)
1.2.0
1.0.1
1.0.0
0.0.16
0.0.15
0.0.14
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
0.0.0
Force directed graph layout in 3d
github.com/anvaka/ngraph.forcelayout3d
anvaka/ngraph.forcelayout3d
ngraph.forcelayout3d
/
lib
/
createBody.js
6 lines
(4 loc)
•
130 B
JavaScript
View Raw
1
2
3
4
5
6
var
physics =
require
(
'ngraph.forcelayout/lib/primitives'
);
module
.
exports
=
function
(
pos
) {
return
new
physics.
Body3
d(pos); }