I'm scratching my head over way to get my edgelist.csv file into Gephi with the correct node labels. I have tried the instructions as set out in the spreadsheet tutorial, but it replaces the true Source and Target values with a 'null'.
So, is there actually a way of importing edge data that wll apply to the correct nodes?
[SOLVED] 'null' label in edge import results
- eduramiba
- Gephi Code Manager
- Posts:1064
- Joined:22 Mar 2010 15:30
- Location:Madrid, Spain [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: 'null' label in edge import results
Hi, if your file contains edges the Label property will be set to that edge.
But if your file is something like:
Then, these One, Two Three values will be used for the nodes Ids (with "Create missing nodes option enabled")
If you want that to be the node label you need to:
Go to nodes table
Click on "Copy data to other column" button
Select Id column
Select Label column
Eduardo
But if your file is something like:
Code: Select all
Source;Target;Label
One;Two;One-Two
Three;Two;Three-Two
If you want that to be the node label you need to:
Go to nodes table
Click on "Copy data to other column" button
Select Id column
Select Label column
Eduardo