{"_id":"graphology-layout-force","_rev":"9-bf3ce7b38673e40748fd7432ddea0a29","name":"graphology-layout-force","dist-tags":{"latest":"0.2.4"},"versions":{"0.1.0":{"name":"graphology-layout-force","version":"0.1.0","description":"Simple force-directed layout algorithm for graphology.","main":"index.js","types":"index.d.ts","scripts":{"prepublishOnly":"npm test","test":"mocha test.js"},"repository":{"type":"git","url":"git+https://github.com/graphology/graphology.git"},"keywords":["graph","graphology","layout","force","force vector"],"contributors":[{"name":"Alexis Jacomy","url":"http://github.com/jacomyal"},{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"}],"license":"MIT","bugs":{"url":"https://github.com/graphology/graphology/issues"},"homepage":"https://github.com/graphology/graphology#readme","peerDependencies":{"graphology-types":">=0.19.0"},"dependencies":{"graphology-utils":"^2.3.0"},"gitHead":"a5d46a1752922ddc3f10da189161bc197fbea437","_id":"graphology-layout-force@0.1.0","_nodeVersion":"12.22.7","_npmVersion":"8.1.0","dist":{"integrity":"sha512-AmuA9gYMHJ1I/h0zfFHKyjKykXCAiLcjOxy/tKaVA04l/UHsf9zGwMUo0WHxai4+KnwcjGLJM5WTKvo3UPdE2w==","shasum":"823636841d87291c6eb6d7bb4c863fb106b174f2","tarball":"https://registry.npmjs.org/graphology-layout-force/-/graphology-layout-force-0.1.0.tgz","fileCount":9,"unpackedSize":15897,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGeA1q/Ia/wl3ZUqCmJsi2EVazKJqCT2ygB/3UKaJNNoAiA5wBGIApbDwj8wGz5FisgPEpkYOZ3PJc40kUYlw8vpDw=="}]},"_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"directories":{},"maintainers":[{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphology-layout-force_0.1.0_1636038789758_0.9533387133715523"},"_hasShrinkwrap":false},"0.1.1":{"name":"graphology-layout-force","version":"0.1.1","description":"Simple force-directed layout algorithm for graphology.","main":"index.js","types":"index.d.ts","scripts":{"prepublishOnly":"npm test","test":"mocha test.js"},"repository":{"type":"git","url":"git+https://github.com/graphology/graphology.git"},"keywords":["graph","graphology","layout","force","force vector"],"contributors":[{"name":"Alexis Jacomy","url":"http://github.com/jacomyal"},{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"}],"license":"MIT","bugs":{"url":"https://github.com/graphology/graphology/issues"},"homepage":"https://github.com/graphology/graphology#readme","peerDependencies":{"graphology-types":">=0.19.0"},"dependencies":{"graphology-utils":"^2.3.0"},"gitHead":"0ca23ccc9b615a969b8c32fc59dd398dba013a46","_id":"graphology-layout-force@0.1.1","_nodeVersion":"12.22.7","_npmVersion":"8.1.0","dist":{"integrity":"sha512-Nf3dFDJktiqpPv0kS3kUinsPeFThNflJ1faXA6uBBZrs3AB5KL6kVWrZSON5NOw/jLV3YJj5orZZi0mwA04yqg==","shasum":"5f2f1882e1d61d29fe1c21657886031f665ed760","tarball":"https://registry.npmjs.org/graphology-layout-force/-/graphology-layout-force-0.1.1.tgz","fileCount":9,"unpackedSize":15899,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA5Es6RXAXOany8cXmmmPAfuNA9DTwVlJwL+Yj3nONiuAiEAxtMJu7unijW2X9w+y1AIVcxpETNUurTlqzTbaLV+xUI="}]},"_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"directories":{},"maintainers":[{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphology-layout-force_0.1.1_1636039497114_0.8426155503080546"},"_hasShrinkwrap":false},"0.1.2":{"name":"graphology-layout-force","version":"0.1.2","description":"Simple force-directed layout algorithm for graphology.","main":"index.js","types":"index.d.ts","scripts":{"prepublishOnly":"npm test","test":"mocha test.js"},"repository":{"type":"git","url":"git+https://github.com/graphology/graphology.git"},"keywords":["graph","graphology","layout","force","force vector"],"contributors":[{"name":"Alexis Jacomy","url":"http://github.com/jacomyal"},{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"}],"license":"MIT","bugs":{"url":"https://github.com/graphology/graphology/issues"},"homepage":"https://github.com/graphology/graphology#readme","peerDependencies":{"graphology-types":">=0.19.0"},"dependencies":{"graphology-utils":"^2.3.0"},"gitHead":"6b7621f3562d5b33499d29196543167cb99687b6","_id":"graphology-layout-force@0.1.2","_nodeVersion":"12.22.7","_npmVersion":"8.1.0","dist":{"integrity":"sha512-RxemW4at8f6dBp/8RxthTpCjTgvDIBrKSVKCbWs7sTbIIXKrjbcddkHLsT38U3Uyyupog74s9G55Rb2NrVGh6g==","shasum":"f22f725a27b52e3430b9814a006e8e6b121321b8","tarball":"https://registry.npmjs.org/graphology-layout-force/-/graphology-layout-force-0.1.2.tgz","fileCount":9,"unpackedSize":15991,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIECCBsg2TYlAwyn1W9caZ8CtGHhanpx4AOuz6O0oXZUZAiEA/eHbAI/o1N7lgpnAoOeohzTjGwrsrOP9vU1QRpev1Uk="}]},"_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"directories":{},"maintainers":[{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphology-layout-force_0.1.2_1636043575846_0.1587063516856193"},"_hasShrinkwrap":false},"0.1.3":{"name":"graphology-layout-force","version":"0.1.3","description":"Simple force-directed layout algorithm for graphology.","main":"index.js","types":"index.d.ts","scripts":{"prepublishOnly":"npm test","test":"mocha test.js"},"repository":{"type":"git","url":"git+https://github.com/graphology/graphology.git"},"keywords":["graph","graphology","layout","force","force vector"],"contributors":[{"name":"Alexis Jacomy","url":"http://github.com/jacomyal"},{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"}],"license":"MIT","bugs":{"url":"https://github.com/graphology/graphology/issues"},"homepage":"https://github.com/graphology/graphology#readme","peerDependencies":{"graphology-types":">=0.19.0"},"dependencies":{"graphology-utils":"^2.3.0"},"gitHead":"f8b9bce0226bbfe5125421bfe8e8aae53bdfb0d9","_id":"graphology-layout-force@0.1.3","_nodeVersion":"12.22.7","_npmVersion":"8.1.0","dist":{"integrity":"sha512-OEs3LdcwK+179DxrfwaOmbLnsvsbqSUCdA0kc+XrZySxsQWcnMwumjsOu1MfYahU2f5f5+F0sGgfyqiX06ZrxA==","shasum":"1c63b6a489379483a92d68a80d20cc9a0b802a5b","tarball":"https://registry.npmjs.org/graphology-layout-force/-/graphology-layout-force-0.1.3.tgz","fileCount":9,"unpackedSize":16288,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID7PnNVXo25HQB8QyARPbeuYBSrjDHDOG4Fdlbi4HwDPAiEAqJlQahHbB1OYfghJ04hw2AbtENxxzqsdJ1Oqj4zH3oY="}]},"_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"directories":{},"maintainers":[{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphology-layout-force_0.1.3_1636048472597_0.2303592768287912"},"_hasShrinkwrap":false},"0.2.0":{"name":"graphology-layout-force","version":"0.2.0","description":"Simple force-directed layout algorithm for graphology.","main":"index.js","types":"index.d.ts","scripts":{"prepublishOnly":"npm test","test":"mocha test.js"},"repository":{"type":"git","url":"git+https://github.com/graphology/graphology.git"},"keywords":["graph","graphology","layout","force","force vector"],"contributors":[{"name":"Alexis Jacomy","url":"http://github.com/jacomyal"},{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"}],"license":"MIT","bugs":{"url":"https://github.com/graphology/graphology/issues"},"homepage":"https://github.com/graphology/graphology#readme","peerDependencies":{"graphology-types":">=0.19.0"},"dependencies":{"graphology-utils":"^2.3.0"},"gitHead":"be3f3edadb6d9166ad716122e59b4578cfb6b66b","_id":"graphology-layout-force@0.2.0","_nodeVersion":"12.22.7","_npmVersion":"8.1.0","dist":{"integrity":"sha512-3Q3tqxQTNEikcNHK3cCceCPuWzZ/hLPirK6mfSA7l+F4gWisdoexbJQL/0psuBlnNfiAmo15NxmUZBlPtatvuw==","shasum":"60d7eb4d83e83375d8a1191b7a5cbeda559d05d3","tarball":"https://registry.npmjs.org/graphology-layout-force/-/graphology-layout-force-0.2.0.tgz","fileCount":9,"unpackedSize":16532,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDY1ijcL9oEirdcfzi1w4W6nqLpSEvKN748KPLIAzCzxgIgWtpjF0m+e28Tla2v+Y9hpvSd3fZMkUIXyXkxv8nACRM="}]},"_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"directories":{},"maintainers":[{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphology-layout-force_0.2.0_1636966494902_0.11496844045520649"},"_hasShrinkwrap":false},"0.2.1":{"name":"graphology-layout-force","version":"0.2.1","description":"Simple force-directed layout algorithm for graphology.","main":"index.js","types":"index.d.ts","scripts":{"prepublishOnly":"npm test","test":"mocha test.js"},"repository":{"type":"git","url":"git+https://github.com/graphology/graphology.git"},"keywords":["graph","graphology","layout","force","force vector"],"contributors":[{"name":"Alexis Jacomy","url":"http://github.com/jacomyal"},{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"}],"license":"MIT","bugs":{"url":"https://github.com/graphology/graphology/issues"},"homepage":"https://github.com/graphology/graphology#readme","peerDependencies":{"graphology-types":">=0.19.0"},"dependencies":{"graphology-utils":"^2.3.0"},"gitHead":"b83ae172d1cdf96d25d2c65ecc30b2ba9c5d0d1e","_id":"graphology-layout-force@0.2.1","_nodeVersion":"12.22.6","_npmVersion":"7.24.2","dist":{"integrity":"sha512-5awKfFStdN3u1gzTgCICMRu5+n5dPnZppJHB+414LUTxoqmH8MdXUHE+fLGR+u4qA8mpIrmQFZ5HLjct0eUgQQ==","shasum":"e9832554e688e28a35f5c566a87d8ea14d6177bf","tarball":"https://registry.npmjs.org/graphology-layout-force/-/graphology-layout-force-0.2.1.tgz","fileCount":9,"unpackedSize":16532,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhk8GLCRA9TVsSAnZWagAAAhcQAJ0Ls7VmtTfMwc3AHJ+b\nXktjmOPcbTjneRcnKPSwqPzkzBWM5+ZPHSBYZKJjAHiyctIAXkwFjwl/j/t2\ne5nAV/djvBPPLvL8CWnjrhw/xY9b+iBwN/PnCtxQy3g2OvnSMD+2KeQl2mos\nZYMisW3fkCe7rIsFVYO9Ip9ND/4kpSkLBULihTsOQ/uJ7Vpv0N3vzumib2Za\nhgqcnTCKfh02ogDw8etP30YFKPdmXBkEs471G/agkfR7IjnFqPsTpOvS/Aui\nWN1g99HeIF8cqXeBm0nVSFoyJ+0ig4JZTWVb1K261Sk3t9nhwMYfUX+DTVJv\n+RI0fO66bAjKLQP3ScOOav84P3VXdzIui0iT06bXmggRdL2O2VMf43pAY8j9\nam4nmRdxDvviuS2p6NY3557Y99sgGlXnLp3ky/v87pmxahku8rsUDGyvzqDW\necOu9T7JcRbaRhhV5QrUYcgfVgb0sduk6tHTX+5jEkxiXlhda/h8IpRRbpVx\n0xcDuAmgZnxERrrVziBuS4kzjbVvCDe58sLnJf7uFlu8NS4X/fzuZtjTUBp5\ncBcDsqN203vPgH+3j8BwVqRH1gIve4khUQl2fAFuoMlrw+gsBqsTVVFBF1hc\nS1Jypm8ANhHwN6h+o55WuLp9tm0bDQFNlYTxRd2Py7+A7a9wcZw994n5o2E2\nDkgj\r\n=z5FQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVMXZPAtG1EzekWEDBqd1joZGefaB8QrIf8ciyTCh6pAIhAJCUMAjSrLLq6bvnSh/6MR5e//byPc8PBnOcq47s/HQ5"}]},"_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"directories":{},"maintainers":[{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphology-layout-force_0.2.1_1637073290937_0.9905968589786371"},"_hasShrinkwrap":false},"0.2.2":{"name":"graphology-layout-force","version":"0.2.2","description":"Simple force-directed layout algorithm for graphology.","main":"index.js","types":"index.d.ts","scripts":{"prepublishOnly":"npm test","test":"mocha test.js"},"repository":{"type":"git","url":"git+https://github.com/graphology/graphology.git"},"keywords":["graph","graphology","layout","force","force vector"],"contributors":[{"name":"Alexis Jacomy","url":"http://github.com/jacomyal"},{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"}],"license":"MIT","bugs":{"url":"https://github.com/graphology/graphology/issues"},"homepage":"https://github.com/graphology/graphology#readme","peerDependencies":{"graphology-types":">=0.19.0"},"dependencies":{"graphology-utils":"^2.4.2"},"gitHead":"45c93b015c853bd9d1d0324f7f1919230128299c","_id":"graphology-layout-force@0.2.2","_nodeVersion":"12.22.6","_npmVersion":"7.24.2","dist":{"integrity":"sha512-vcBshNpu0ErJTdnz8OHe8k4E1g7MDHgsXmwY1MhUZrkJnzamvv3BWXC51nmvsYzMAtZMRi9V2meuRu3/EoXH3Q==","shasum":"f2bfcab185a8cfcf1c363368e479b437e06bd381","tarball":"https://registry.npmjs.org/graphology-layout-force/-/graphology-layout-force-0.2.2.tgz","fileCount":9,"unpackedSize":16532,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhk8KwCRA9TVsSAnZWagAAWt8P/jfrEXrBazK+CthGSTCx\nIQTmbPQKJ79utxVizhSu45w7raTInPHUtY2MVJxHruNw3I5X1ccSCgzbTbun\nnZu1ubfZWUDWjTnKI5hLkLu6PhE9Y7n6RY0Xsqs/WU4toQtir9J1jiUof7Fr\nbu57uQ6QqMX4nI6D9Z5fbED6XozGMlejw/B4BR21CwnKtKmGr7TU038hha1o\nuwaG0tMtTeJ8ygCI61GuDiiMwFPLNU9ov7f/TJAULiobnJrvRLWwzp1nYtKU\neOmWrMyyvasELs1B+D7RrjCoe6gfilkYYk/JUpsWW0WqNfxR+a3cCMacpmNI\nbP2mHAhck0RE4HQX6oAoAwPYmkT1sagW4VZwJiWzCBeypp3I3XU/Wj/qRrnE\naA03KluPvu1kYrsFZ+UFcA1nCobVsxsEZ7864ozEK4zCXVgka4FCkiTe+n2P\nMkT+UiGNCdz058XzXnmkUqHfRm6LuBkK9mhNtUMQADYDbRHzUJkTT01AG239\nTlwBh9PPzkR0aSmIjJ9aGF7BsegvNb85RMeLHwEIjSZUjDm7RfBjPR1OCJio\ndoo+k6wzBsHDmi6ZZu3EHoIWMhAhVVTDO7mlHBYLZlv/3nCcT3mW9AoBeKWf\n5vTtsH5262UlgyyoHE2sacOqPD7OCX+lhNmZxIBi37WhlLTj5/h5kNJs353+\n2FgA\r\n=j3YA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE0G179fHEZ/ZxhIg9lrTQ5REdsfAtHVROB3aSqwmdpMAiAgwvsEzpElmZlb5HdCuZuz16MzaxcK0nMBZtmvA+GN/w=="}]},"_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"directories":{},"maintainers":[{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphology-layout-force_0.2.2_1637073583891_0.8016667267881443"},"_hasShrinkwrap":false},"0.2.3":{"name":"graphology-layout-force","version":"0.2.3","description":"Simple force-directed layout algorithm for graphology.","main":"index.js","types":"index.d.ts","scripts":{"prepublishOnly":"npm test","test":"mocha test.js"},"repository":{"type":"git","url":"git+https://github.com/graphology/graphology.git"},"keywords":["graph","graphology","layout","force","force vector"],"contributors":[{"name":"Alexis Jacomy","url":"http://github.com/jacomyal"},{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"}],"license":"MIT","bugs":{"url":"https://github.com/graphology/graphology/issues"},"homepage":"https://github.com/graphology/graphology#readme","peerDependencies":{"graphology-types":">=0.19.0"},"dependencies":{"graphology-utils":"^2.4.2"},"gitHead":"a7b6ec45012a7bf0e6b4124f71e4a95883bf4cf2","_id":"graphology-layout-force@0.2.3","_nodeVersion":"12.22.7","_npmVersion":"8.1.0","dist":{"integrity":"sha512-7V056TrSdBcdD0FzZiUqiMbi7uBJsRqxepSQ9+YTbKRy9OzMPn8tvT2NF86yU1xRJB4AJkbJN15mEDoBk83COg==","shasum":"a5db8b1688cba44ca2759726139d440d7c50f05c","tarball":"https://registry.npmjs.org/graphology-layout-force/-/graphology-layout-force-0.2.3.tgz","fileCount":9,"unpackedSize":16356,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpSDECRA9TVsSAnZWagAA6dIQAIMr6VCqAHLBwZe70zwe\nvpICMxo/dvtdtjOYWDt6i9GSX0Z5oeCnRETws8Fbhnpbhkyo2a4zZOb2dQFC\n/JyvI9ohjq68/7BcaIVz6tvCr5ODeKL5Wky9vxvQOIEVDrpztHBczsTMQ+fS\noirRxLT8gqgsE1s8cLB+se7ZvUkBcDB9vOUDaiqcZq1abyhi0Zm+ePjmHgzO\ni8H3Sk7iepPTKLDxzTFOV1ItGirQucOV0DMN0F8StMWfJ5slQqc5/0uPU6iV\nxr56Z8F/63WuA97cYup/TiYlMmWOKp2pvD9EHJA84mrgTa1/14qlrcdMd5e5\nYnMu69cncGbsOOzOlqc0BBq8KPXS8cFPVjlz4q7J5eZXSmM/6dtGjWQxCtbh\nrRZDybaUDCzbzwFf1zz6ewKzdl2kYfrbPeLDZADxuhfWJ+bI6SzYou9QkYsx\nTLLiHC2S/Qna3nfuEPLteHHOA7ytJ9SMtavieJrPG1T0nKjv7aBu1oec4ByB\n1PU4/3HMpP2WoDMfOrIlykU5WNpfgBAj5+T8FmNGAOou1uuw9mPsTCiNYIvD\n58bl+TyMhF2iJqOSncwBDpzD4jLjUWsyNcrs21A1LXbO32rQc5jDY1GiCnEv\nfewm3tNKQSmul0h5vclWO1n4WwrUajDoJHo/EgvUePSq2c9MZy6kfTs8JRLb\nQPv2\r\n=UG8V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDlf0eZJwvG6wJ5B/OkhgPJ0ql9bcyxn7sgcE5vNI4hBAiEAt4nXOvrlKxye8YqUHA7zObZq2sMUY+gwR/I7CDMLDQI="}]},"_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"directories":{},"maintainers":[{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphology-layout-force_0.2.3_1638211779899_0.339091092877827"},"_hasShrinkwrap":false},"0.2.4":{"name":"graphology-layout-force","version":"0.2.4","description":"Simple force-directed layout algorithm for graphology.","main":"index.js","types":"index.d.ts","scripts":{"prepublishOnly":"npm test","test":"mocha test.js"},"repository":{"type":"git","url":"git+https://github.com/graphology/graphology.git"},"keywords":["graph","graphology","layout","force","force vector"],"contributors":[{"name":"Alexis Jacomy","url":"http://github.com/jacomyal"},{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"}],"license":"MIT","bugs":{"url":"https://github.com/graphology/graphology/issues"},"homepage":"https://github.com/graphology/graphology#readme","peerDependencies":{"graphology-types":">=0.19.0"},"dependencies":{"graphology-utils":"^2.4.2"},"gitHead":"080cf0347b244fcfa03f03f2503d45720744eb63","_id":"graphology-layout-force@0.2.4","_nodeVersion":"12.22.7","_npmVersion":"8.1.0","dist":{"integrity":"sha512-NYZz0YAnDkn5pkm30cvB0IScFoWGtbzJMrqaiH070dYlYJiag12Oc89dbVfaMaVR/w8DMIKxn/ix9Bqj+Umm9Q==","shasum":"a9b5f2aa5c7b56985503d302dbce4c73c76b9eb3","tarball":"https://registry.npmjs.org/graphology-layout-force/-/graphology-layout-force-0.2.4.tgz","fileCount":9,"unpackedSize":16489,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1YFiCRA9TVsSAnZWagAAEa8P/2XqjH6KojstJhJaW30o\ncSWDPPtD/8JjfiE4DuLFUSKP1OG711WtzahmwPQ+3Wt1+70IuAiQunQWmkhy\ncYuygyRVtxV/zmY073Vs3VbfqkHP40LkWA/hnsX/ufc690iReY+yHfDhGZov\n/OsWuP+9rvlAnD9Db76Rqi0lsSxmoV5Q+JRJuGmuiUGPE1QCTXqODDPIMywh\nFBMKnHsV7R2lRL0T9fcCI6ZASci94RGW/wqPgcY5M4BkgqEnbX+EQ02mWEzc\nLujw2LMUl0wWHhjcfhmsRXxGwkgO5oShYIjKLAKGqiZcWyBobm6GO4YM0ZzG\neXSNxi7U5MHiXD/GEXFLUCjuTQ4AAF0lmh96e7ZNKvJ3spPS572nLKYunDVg\nJS+uuFZuR0TfCyzPoiWLW7sToZ7GH7vTiFXyf8117vinrXTCseVTjDChjTbt\n8g12QFSaVCT3Vx8opmqAiU1MhyZSlYMn80ZY+C2kE1ZH+4kLuHJcZm4ZLe6m\n94hOFb48ua21wyic9QfZMnsokwhdgnNaaWygMDt37yKsTpD5MLwFmgjoRnn/\n7WyugKyK278d8qoupOhYX2HzJTchttAtn7l9zfVXE2dfEKSuABknZHImsv/H\nl0cvMxZ6cN+9qe388AGIWXaiyy8XFaLfmQflbmswzXp/GSI1VazZNWAJmYiI\nD6v4\r\n=Ky+T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID41stGRGOxHZr3VkaZ+n5ucQCGrTzopuEzsB1yoe6rgAiAwX9YAgNeoqXYKSYTWu/oiYmX664AnvvESJ1lOt4FrzA=="}]},"_npmUser":{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"},"directories":{},"maintainers":[{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphology-layout-force_0.2.4_1641382242214_0.5371182645908239"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-04T15:13:09.757Z","0.1.0":"2021-11-04T15:13:09.898Z","modified":"2022-05-04T02:39:04.041Z","0.1.1":"2021-11-04T15:24:57.235Z","0.1.2":"2021-11-04T16:32:55.995Z","0.1.3":"2021-11-04T17:54:32.730Z","0.2.0":"2021-11-15T08:54:55.064Z","0.2.1":"2021-11-16T14:34:51.282Z","0.2.2":"2021-11-16T14:39:44.060Z","0.2.3":"2021-11-29T18:49:40.053Z","0.2.4":"2022-01-05T11:30:42.406Z"},"maintainers":[{"name":"yomguithereal","email":"kropotkinepiotr@gmail.com"}],"description":"Simple force-directed layout algorithm for graphology.","homepage":"https://github.com/graphology/graphology#readme","keywords":["graph","graphology","layout","force","force vector"],"repository":{"type":"git","url":"git+https://github.com/graphology/graphology.git"},"contributors":[{"name":"Alexis Jacomy","url":"http://github.com/jacomyal"},{"name":"Guillaume Plique","url":"http://github.com/Yomguithereal"}],"bugs":{"url":"https://github.com/graphology/graphology/issues"},"license":"MIT","readme":"# Graphology Force layout\n\nJavaScript implementation of a basic [force directed layout algorithm](https://en.wikipedia.org/wiki/Force-directed_graph_drawing) for [graphology](https://graphology.github.io).\n\nIn some few cases, for very small graphs, [ForceAtlas2](https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0098679) can be \"too efficient\". This simpler force algorithm cannot spatialize larger networks, but will offer more organic movements which are more suited to some interactions with the graph such as drag and drop etc.\n\n## Installation\n\n```\nnpm install graphology-layout-force\n```\n\n## Usage\n\n- [Pre-requisite](#pre-requisite)\n- [Settings](#settings)\n- [Synchronous layout](#synchronous-layout)\n- [Supervisor](#supervisor)\n\n### Pre-requisites\n\nEach node's starting position must be set before running the force layout algorithm. Two attributes called `x` and `y` must therefore be defined for all the graph nodes.\n\nNote also that the algorithm has an edge-case where the layout cannot be computed if all of your nodes starts with `x=0` and `y=0`.\n\n### Settings\n\n- **attraction** _?number_ [`0.0005`]: importance of the attraction force, that attracts each pair of connected nodes like elastics.\n- **repulsion** _?number_ [`0.1`]: importance of the repulsion force, that attracts each pair of nodes like magnets.\n- **gravity** _?number_ [`0.0001`]: importance of the gravity force, that attracts all nodes to the center.\n- **inertia** _?number_ [`0.6`]: percentage of a node vector displacement that is preserved at each step. `0` means no inertia, `1` means no friction.\n- **maxMove** _?number_ [`200`]: Maximum length a node can travel at each step, in pixel.\n\n### Synchronous layout\n\n```js\nimport forceLayout from 'graphology-layout-force';\n\nconst positions = forceLayout(graph, {maxIterations: 50});\n\n// With settings:\nconst positions = forceLayout(graph, {\n  maxIterations: 50,\n  settings: {\n    gravity: 10\n  }\n});\n\n// To directly assign the positions to the nodes:\nforceLayout.assign(graph);\n```\n\n_Arguments_\n\n- **graph** _Graph_: target graph.\n- **options** _object_: options:\n  - **nodeXAttribute** _?string_ [`x`]: name of the `x` position attribute for nodes.\n  - **nodeYAttribute** _?string_ [`y`]: name of the `y` position attribute for edges.\n  - **isNodeFixed** _?string\\|function_ [`fixed`]: name of the `fixed` attribute for nodes or a function getting a node entry (key, attributes) and returning whether the node is fixed.\n  - **shouldSkipNode** _?function_: function returning whether the layout computations should skip this node.\n  - **shouldSkipEdge** _?function_: function returning whether the layout computations should skip this edge.\n  - **maxIterations** _?number_ [`500`]: maximum number of iterations to perform before stopping. Note that the algorithm will also stop as soon as converged.\n  - **settings** _?object_: the layout's settings (see [#settings](#settings)).\n\n### Supervisor\n\nLayout supervisor relying on [`window.requestAnimationFrame`](https://developer.mozilla.org/fr/docs/Web/API/Window/requestAnimationFrame) to run the layout live without hampering the UI thread.\n\n_Example_\n\n```js\nimport ForceSupervisor from 'graphology-layout-force/worker';\n\nconst layout = new ForceSupervisor(graph, params);\n\n// To start the layout. It will automatically stop when converged\nlayout.start();\n\n// To stop the layout\nlayout.stop();\n\n// To kill the layout and release attached memory and listeners\nlayout.kill();\n\n// Assess whether the layout is currently running\nlayout.isRunning();\n```\n","readmeFilename":"README.md"}