Infinite repulsion in ForceAtlas with negative weights #1714
Description
Expected Behavior
Make a repulsion based on the absolute difference (from the lower number to the higher number) of the weights.
Current Behavior
Currently if the graph has edges with negative weights, the graph will expand endlessly.
Possible Solution
A possible solution could be, for example, if a set of weights between -2 and 2 are given, normalize them between 0 and 1, or sum everything by the absolute of the lower number (making it between 0 and 4). I would love to hear any other solution or any comment about the ideas.
Steps to Reproduce
Given this graph: movielens.
- Select either ForceAtlas or ForceAtlas2 distibutions
- Run
Context
The example graph contains a set of users and movies, and the weights represent the user ratings, which are between -2 and 2. I'm a computer science student and I'm intersested on implementing this for learning porpuses with a couple of colleagues.
Your Environment
- Version used: Gephi 0.9.1
- Operating System: Windows 10