[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •Separating Bi-Directional Edges when Importing CSV
Page 1 of 1

Separating Bi-Directional Edges when Importing CSV

Posted: 08 Jun 2017 22:00
by brentcl
Hello,

I am using the graphical interface for creating a graph from a .csv file. The issue I'm having is if I have for instance the edges A -> B and B -> A, in my data these are two completely separate unidirectional edges with different attributes and I need them to be represented in the graph as such. However, when I load the file the program combines the edges into a single bidirectional edge and discards the attributes for one of them. I do not want this to happen but I can't seem to find an option to turn it off which is pretty trivial thing to implement so I imagine it must be possible somehow right? So assuming it's possible how do I do this?

Thanks!

Re: Separating Bi-Directional Edges when Importing CSV

Posted: 09 Jun 2017 22:24
by eduramiba
Are you using spreadsheet import? Make sure your edges don't have 'Undirected' value in the type column (or no type column at all).

Re: Separating Bi-Directional Edges when Importing CSV

Posted: 12 Jun 2017 14:16
by brentcl
eduramiba wrote:
09 Jun 2017 22:24
Are you using spreadsheet import? Make sure your edges don't have 'Undirected' value in the type column (or no type column at all).
I am spreadsheet import yes. And I don't have a type column but when I import it without one it defaults to directed type so that isn't the issue.

Re: Separating Bi-Directional Edges when Importing CSV

Posted: 12 Jun 2017 15:11
by eduramiba
What version of Gephi are you using? Can you post a few screenshots of the process you follow?

Re: Separating Bi-Directional Edges when Importing CSV

Posted: 12 Jun 2017 20:11
by brentcl
eduramiba wrote:
12 Jun 2017 15:11
What version of Gephi are you using? Can you post a few screenshots of the process you follow?
I am using Gephi 0.91 for Mac.

Re: Separating Bi-Directional Edges when Importing CSV

Posted: 14 Jun 2017 12:13
by eduramiba
And can you post sample rows and the wrong edges in Gephi created by those rows?