Skip to content

Add a local/global scale button to Ranking #541

Closed
mbastian opened this Issue Mar 4, 2012 · 13 comments

3 participants

@mbastian
Gephi member
mbastian commented Mar 4, 2012

Then ranking function currently uses only the visible graph for calculating the bounds. That makes comparaison between views difficult because the scale is modified. To address this use case we should have the ability to use ranking on a global scale. A global scale means that the min/max would be computed on the main view rather than on the visible view.

This issue is discussed in this topic:
http://forum.gephi.org/viewtopic.php?f=30&t=1501

@mbastian mbastian was assigned Mar 4, 2012
@mbastian mbastian added a commit to mbastian/gephi that referenced this issue Mar 4, 2012
@mbastian mbastian Fix issue #541. Adding a new local scale button to ranking f658084
@mbastian mbastian closed this Mar 4, 2012
@seinecle
seinecle commented Mar 5, 2012

Honestly, that's so very useful. Gephi rocks!

@eduramiba
Gephi member

Awesome!

@seinecle

Hi,
I tested the local / global button but and it seems not to work? In the sense, the ranking does not change when the button is toggled from local to global.
To reproduce:
1. generate a dynamic network
2. apply a continuous ranking on node's size, based on degree.
3. select a small time window in the timeline and move it. Observe the change in node's size.
4. re-do steps 2 and 3, this time with the "local / global" button toggled. The nodes sizes are still the same across the timeline.

@mbastian
Gephi member

It works for me. The generated dynamic network might be a bad example because for most of it's period the degree is the same (only the edge weight changes). Try to navigate the timeline near the end when the degree does change. You should observe the size changing when the button is toggled.

@seinecle

Hi,

I am not sure? Please see the test file and commentary I put on the forum:
https://forum.gephi.org/viewtopic.php?f=23&t=1754&start=0

@mbastian
Gephi member

Hi, thanks for digging into that. For some reason the file you sent me is not automatically recognized as dynamic network and the timeline doesn't seem to activate properly. Will check what's going on.

@seinecle
@mbastian
Gephi member

OK I fixed that. An unrelated bug to detect dynamic graphs when only attribute-based.

For our problem I think I found the problem and updated the way we calculate the min and max (and pushed a patch). However for the moment we don't realy support well attribute-based only dynamic networks for ranking. Because we look at enabled filters only you actually can't enable the local scale on your example. Thinking about fixing that...

@seinecle

I understand and this will need more time for the local scale.
However I tried on the same test file (bug on dyn attribute fixed, thx!), for the global scale, and it seems not to work either (cursor moves along the timeline while a continuous node-resize-ranking is applied on the attribute: the nodes size is not changing).

@mbastian
Gephi member

I'm working on a patch

@mbastian mbastian added a commit to mbastian/gephi that referenced this issue Mar 28, 2012
@mbastian mbastian Fix local scale button enabled and auto transform with attribute-base…
…d dynamic graph. Related to issue #541.
a302493
@mbastian
Gephi member

Ok two things I fixed:

  • The local/global toggle button can now be activated for attribute-only dynamic graph
  • Auto-apply is now working for attribute-only dynamic graph

The min/max seems to be right now. Note that the min/max bound on the ranking panel won't be updated. That to be fixed later. You can see the value with the text label to verify.

@seinecle

thx! I'll try it asap in one of my projects.

@seinecle

ok: it works brilliantly. It is extremely insightful to visualize any dynamic attributes, to be able to see how they scale locally relatively to contemporary values, and then, at a touch of a button, how they compare with the global, historical range of values. Major step, thx!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.