Resizing edge sizes changes edge weight values
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gephi |
Fix Released
|
Medium
|
Mathieu Bastian |
Bug Description
Hi,
I _think_ this is a bug: I'm working with network data where (in addition to weight), edges have a number of other attributes.
As a simplified example, my data would say that an edge from node A to node B is 30% of type X, and 70% of type Y, etc. - in other words:
source target weight type_x type_y
A B 10 0.3 0.7
C D 4 0.5 0.5
The edge dataset imports into Gephi's Data Laboratory perfectly well (with the type_x / type_y columns imported as column type 'Float', for example), and I can create a network map without problems (e.g. with standard settings using Force Atlas 2).
However, if I then try to use the Ranking tab to change the size (thickness) of the network edges so that edge size is according to the value in type_x or type_y, while the Force Atlas 2 algorithm is still running, the whole network graph changes shape.
I'm not completely sure if this is a bug or a feature. As I understand it, the changes made in the Ranking tab should be completely cosmetic, and have nothing to do with the underlying (mathematical) structure of the network itself: for example, I can set node sizes according to various metrics, but that doesn't mean that the nodes will change position and become more or less central to the network.
I _think_ the same should apply here: the positioning of the nodes in an attraction/
Or, perhaps, it would be useful to choose which edge metric (weight or something else) Gephi's algorithms use to calculate the position of nodes in the graph visualisation, independent of which metric is used to calculate the visual thickness of the edges as they are displayed ?
I hope this makes sense - happy to provide further information...
Axel Bruns
Changed in gephi: | |
status: | Fix Committed → Fix Released |
This is a severe bug because the Ranking changes the edge weight (see in Data Lab), but it should not do that.