Files: 4ada924920b23d49a8e65386cd7a30e2ccfe3c59 / config.js
402 bytesRaw
1 | const config = { |
2 | host: 'localhost', |
3 | port: 7781, |
4 | physics: { |
5 | springLength: 80, |
6 | springCoeff: 0.0001, |
7 | gravity: -1.4, |
8 | theta: 0.4, |
9 | dragCoeff: 0.04 |
10 | }, |
11 | link: (link) => { |
12 | // if (link.data.hidden) return |
13 | // makes linkUI element not exist ? => display.getLink doesn't work |
14 | |
15 | return { |
16 | fromColor: 0x000066, |
17 | toColor: 0x000066 |
18 | } |
19 | } |
20 | } |
21 | |
22 | module.exports = config |
23 |
Built with git-ssb-web