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

Node size options not available if node colour set to partition mode #1459

Closed
Snurb opened this issue Apr 13, 2016 · 7 comments
Closed

Node size options not available if node colour set to partition mode #1459

Snurb opened this issue Apr 13, 2016 · 7 comments

Comments

@Snurb
Copy link

Snurb commented Apr 13, 2016

Hi,

this is one of the stranger issues I've encountered: in the node size selection menu (Node, Attribute, and the size icon selected in the Appearance box in the left sidebar), attributes other than degree/indegree/outdegree - e.g. weighted degree, component ID, etc. - will only appear if in the node colour options the mode of colour application is set to ranking (i.e. a gradual colour transition) rather than to partitions (i.e. discrete colours for each value). This is the case even if the specific attribute isn't even being used to determine node colours.

This seems very strange, since the node size is always a gradual scale, and shouldn't be influenced by whether ranking or partition is selected for node colour. Can you fix this, please ?

Axel Bruns

@natpoor
Copy link

natpoor commented May 2, 2016

Axel you just solved my problem!!! I thought maybe it was only in 0.9.1 but it happens in 0.9 as well.
screen shot 2016-05-02 at 2 03 33 pm
screen shot 2016-05-02 at 2 03 19 pm

@rhasarub
Copy link

rhasarub commented Jun 9, 2016

I can confirm the issue for 0.9.1 on Windows 7. It's not only node size, though.

From a fresh project, I import a nodes csv and import some columns as integer, double or float (no missing values). Without having made any change in the node color tab before (where all those columns can be selected), neither of them shows up in the node size selection, nor do they show up in label size or color selection. If I calculate additional values like PageRank, these do show up in all select boxes.

@rhasarub
Copy link

Here's a quick and dirty workaround I used. Maybe this helps somebody while the issue is not fixed: I have one column "size" in my data with Double values, which does not appear in the node size selection. I calculated a statistics measure with Double values which I do not need for other reasons (e.g. Avg. Weighted Degree or PageRank). These columns were available in the node size menu. I then copied the values from the size column to this column, et voilà, I was able to use them for ranking sizes.

node_size
node_size3

@seakha
Copy link

seakha commented Jun 13, 2016

Thanks for the quick and dirty solution. I tired to imitated the process by creating ad Double column and copy the values there (I also saw people on other thread said it works) but it did not work. Gephi 0.9 and 0.9.1 get better performance, but they have so many bugs makes them unreliable.

@kennell
Copy link

kennell commented Jul 30, 2016

None of the workarounds described here worked for me.

Here is how i fixed it:

  1. Create extra data by running dummy statistics as described in @rhasarub comment.
  2. Go to the data laboratory, go to the Node tab, export everything to a .csv file.
  3. Open that file in any Spreadsheet software, manually copy the values you need (in my case Betweeness Centrality) to a unneeded column that appears in the GUI selection box (in my case Out-Degree).
  4. In the data laboratory, import the modified file. You can now run the size ranking on the unneeded value you have overwritten.

Needless to say this is a dirty hack and i hope we see a fix soon.

@cladelpino
Copy link

cladelpino commented Sep 8, 2016

@rhasarub work around works for me, but, not with every stat. Only with "Average Degree", which creates columns in the data lab for the attributes that were already available in the first place (Degree, In Degree and Out Degree in my case). I didn't have to export-reimport as @kennell suggested, though.

A peculiarity which is perhaps useful: After performing "average degree", "Degree","In Degree" and "Out Degree" appeared duplicated in the attribute choosing dropdown for all node size,label size, etc.

These dupplicates didn't appear in the data lab.

mbastian added a commit that referenced this issue Oct 23, 2016
eduramiba added a commit that referenced this issue Oct 24, 2016
Based on commit 99ed41c

HITS centrality #1290
Adapt crash reporter to send data to a new service #1530
NPE with trying to filter by partition with a null value #1563
Partition count filter does not work #1501
Partition filter doesn't work with edges #1564
GraphML export: Gephi doesn't generate the id attribute on edges #1585
GML import: '.0' always added to numeric ids #1588
Cannot rank according to attribute data #1392
Node size options not available if node colour set to partition mode #1459
Columns aren't properly sorted in appearance #1604
Inconsistency in calculating degree and weighted degree #1593
Incorrect average degree for directed graphs #1455
@aparamon
Copy link

aparamon commented Jun 28, 2018

Doesn't work for me on attached graph and "width" attribute.

graph.zip

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

9 participants