anvaka / ngraph.offline.layout

Performs offline layout of large graphs and saves results to the disk
MIT License
33 stars 10 forks source link

incompatible ngraph.graph / forcelayout versions? #18

Open dholth opened 2 years ago

dholth commented 2 years ago

Got a NaN node mass while following the pm tutorial, had to edit node_modules/ngraph.forcelayout/index.js: return 1 + (links.length || links.size) / 3.0;; appears to be fixed by matching newest ngraph.graph with ngraph.force.layout

matthiasa4 commented 1 year ago

+1 same here. Thanks for highlighting your solution!

TomasKoutek commented 9 months ago

Thanks for solution @dholth