anvaka / ngraph.forcelayout

Force directed graph layout
https://anvaka.github.io/ngraph.forcelayout/
BSD 3-Clause "New" or "Revised" License
169 stars 33 forks source link

implement ForceAtlas2 #2

Open swapnil-rapidops opened 9 years ago

swapnil-rapidops commented 9 years ago

Hi anvaka, current I am using this forcelayout, but i want to implement forceAtlas2 (force directed layout 2) can you guide me how i can implement it on ngraph or from where i can start to implement it.

waiting for the reply asap. thanks in advance

anvaka commented 9 years ago

Hi @shahswapnil

You can go ahead and create an npm package which implements it. I don't think it was ever published to npm.

Out of curiosity, why you don't like algorithm implemented here?

swapnil-rapidops commented 9 years ago

Hi anvaka, i gone through this forcelayout and it doesn't meet my requirement, i want group formation layout and edges should not overlap, currently in forcelayout, if i tried to load data with 7000 nodes and 5000 edges, edges get overlapped with each other and also i am not able to see by nodes in group according to color's and if i tried to load same data in gephi with forceAtlas2 layout, edges is less overlapped and nodes are shown in groups, because forceAtlas2 uses degree-dependent repulsive force and Barnes Hut simulation. here is the paper which explain me forceAtlas2 http://www.plosone.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0098679