This repository is just an experiment, to see how Force Atlas 2 could behave, with the nodes forced to remain on concentric circles.
To play with it, you can adjust the random graph generation or some other parameters in ./index.js
, and how the nodes are restricted on the circles in the end of ./fa2/worker.js
(I shamelessly copied the generated files from graphology-layout-forceatlas2
).
- Clone this project, and open a terminal in it
- Run
npm install
- Run
npm run start
- Open http://localhost:3001/ in your favorite web browser