Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ranking operation not working (node color and size) #1636

Closed
alexpGH opened this issue Dec 19, 2016 · 8 comments
Closed

Ranking operation not working (node color and size) #1636

alexpGH opened this issue Dec 19, 2016 · 8 comments

Comments

@alexpGH
Copy link

alexpGH commented Dec 19, 2016

Hi,

  • open the file
  • activate timeline
  • select nodes color or size ranking
  • select any attribute, e.g. seqAge
  • hit apply or auto apply
    -> all nodes have the same size / color

When using the same attribute in a partition appearance mode, it works.
I found that sometimes, when saving and reloading the file, the ranking is displayed correctly.
It seems to be working for non dynamic networks.

My setup (checked for updates today):
Product Version: Gephi 0.9.1 201510222201
Java: 1.8.0_101; Java HotSpot(TM) 64-Bit Server VM 25.101-b13
Runtime: Java(TM) SE Runtime Environment 1.8.0_101-b13
System: Linux version 3.16.0-4-amd64 running on amd64; UTF-8; en_US (gephi)

lineage_5_6_1.gephi.zip

@eduramiba
Copy link
Member

It's possible that an exception is happening. Can you try with latest 0.9.2 nightly build? https://github.com/gephi/gephi#nightly-builds
Related issue: #1633

This fix will be released soon as an update for 0.9.1

@alexpGH
Copy link
Author

alexpGH commented Dec 20, 2016

Tested the nightly build a moment ago: it does not solve the problem.
For me, gephi does not freeze (as in the other issue). It's only that the sizes/colours due to ranking are set all the same. The rest is working fine.
Alex

@eduramiba
Copy link
Member

Hi,
Can you detail the steps you follow and/or show an screenshot of how is your workspace set up please?

@eduramiba eduramiba self-assigned this Dec 20, 2016
@alexpGH
Copy link
Author

alexpGH commented Dec 20, 2016

I described the steps in my first post (start gephi, open the file, apply a force layout to get the vertices aligned, then i apply a ranking operation).

For the following screenshot, I applied a ranking in nodesize for seqAge.
The green numbers show the seqAge (the is e.g. one node with age 6). However, all nodes have the same size (the largest value set in the ranking dialogue).

When using partition e.g. on colors the nodes get different colors as expected (screenshot2.png), but when using ranking for colors, the node color is the same for all nodes (screenshot3.png)

snapshot1
snapshot2
snapshot3

@eduramiba
Copy link
Member

Oh I see, the code for refresh at https://github.com/gephi/gephi/blob/86b1b57e8869ddee880a38c9071b68ea1f63d3b6/modules/AppearanceAPI/src/main/java/org/gephi/appearance/AttributeRankingImpl.java when column is not indexed is clearly incorrect. Thanks for the report!

@eduramiba
Copy link
Member

Please try again with new 0.9.2-SNAPSHOT nightly build as soon as the travis job ends

@alexpGH
Copy link
Author

alexpGH commented Dec 21, 2016

It Works, thanks!
Is it itended that the edges change color too, when changigng node color via ranking? They seem to get the color of the outgoing node. Can I deactivate this?
Thanks!
Alexander

@eduramiba
Copy link
Member

eduramiba added a commit that referenced this issue Dec 30, 2016
Based on commit 6b041a4

#1526 NullPointerException on Modularity Statistics with gexf with kind / parallel nodes
#1633 Gephi 0.9.1 freezes for dynamical graphs
#1636 Ranking operation not working (node color and size)
#1640 taken screenshot will be overwritten
#1454 Suddenly not importing all of my edges
#1489 CSV import error: found rows with empty source or target columns
#1251 Multiple edges won't be merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants