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

Nodes size: a very strange problem #1443

Closed
DenisOlivera opened this issue Mar 31, 2016 · 8 comments
Closed

Nodes size: a very strange problem #1443

DenisOlivera opened this issue Mar 31, 2016 · 8 comments

Comments

@DenisOlivera
Copy link

Hi,

I’m trying to create a very simple graph on Gephi, but there’s a very strange thing happening.

I’m importing a csv file for the nodes, with only 3 columns: id (string), label (string) and relevance (integer, with numbers varying just from 1 to 3).

My goal is to have the nodes size matching the values from the 'relevance' column of the csv file, just picking this attribute in appearance > nodes > size > attribute.

When I import a csv file like this

id, label, relevance
1, red, 1
2, green, 2
3, blue, 1
4, yellow, 3
5, grey, 3
6, pink, 2
7, black, 1
8, white, 3
9, orange, 2

everything is fine.

But, when I add just one more line in the csv file, like

10, brown, 3

the attribute ‘relevance’ doesn’t appear anymore in appearance > nodes > size > attribute.

If I put this 10th line manually on the Data Laboratory, it’s OK. But I really need that this values can come directly from the csv file.

Can anyone tell me why this is happening?

I'm using the Gephi version 0.9.1.

Thank you!

@DenisOlivera DenisOlivera changed the title Size of the nodes determined by the csv file Nodes size: a very strange problem Apr 1, 2016
@AtomBoy
Copy link

AtomBoy commented Apr 11, 2016

I'm having similar problems where a float field in a gexf file I've created doesn't appear in nodes > size > attribute. It does appear in nodes > color > attribute.

@jfurfey
Copy link

jfurfey commented Apr 13, 2016

I'm having the same issue

@cladelpino
Copy link

I can confirm this bug for my setup, tried all different import formats for the attribute (which is an integer in my case),

Gephi won't recognize this attribute for node sizing / text label sizing.
It is correctly recognized in Node Color, and in the filters.

I tried importing to different types, and forcing "create new nodes..." but behaviour remains. My test graph has 235 nodes.

addit info:
Java: 1.8.0_73; Java HotSpot(TM) 64-Bit Server VM 25.73-b02
System: Windows 10 versión 10.0 que se ejecuta en amd64; Cp1252; es_AR (gephi)

@cladelpino
Copy link

PS: title on this issue should be changed to better reflect the issue after two more tests in my view
1.does this only happen for csv ?
2.when nodes >10 ?

@eduramiba
Copy link
Member

This is bug #1459

Explanation: Gephi now tries to auto-detect wether the column should be ranking or pratition

@cladelpino
Copy link

semi OT: that should be very hard to "auto-detect" consistently.

Why not ask the user with a tooltip explaining diff between rank/partition (which anyone serious with networks should know) during import ?

@eduramiba
Copy link
Member

Yeah that will be changed/fixed in 0.9.2, it should be possible to use any column with both modes in appeareance.

@mbastian
Copy link
Member

Duplicate of #1459 - we'll fix this auto-detect issue and make the choices more explicit in 0.9.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants