[SOLVED] Help me about graph from csv file

Get help with your data
Post Reply [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
ytkui
Posts:2
Joined:15 May 2010 17:34
[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
[SOLVED] Help me about graph from csv file

Post by ytkui » 15 May 2010 17:46

i draw graph from a csv file as

----------------------------------
1;2;3;4;8;10;11;12;13;18
10;12
11;12
14;2;10;11;12;13
16;3;17;18
17;3;18
18;3
----------------------------------

I get graph like attached figure in which there are two 12, 13 and 18 nodes.

Why and how to fix it?

thanks!
Attachments
1.jpg

User avatar
mbastian
Gephi Architect
Posts:728
Joined:10 Dec 2009 10:11
Location:San Francisco, CA
[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: Help me about graph from csv file

Post by mbastian » 15 May 2010 19:15

Hi, that is strange!

I copy-pasted your text and the graph is fine on my side, with unique nodes.

Do you use the latest Gephi version?

Be sure also your file has the csv extension and that there is no white space or illegal character at the end of your lines, as I noticed doubles are always at the end of lines.

ytkui
Posts:2
Joined:15 May 2010 17:34
[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: Help me about graph from csv file

Post by ytkui » 16 May 2010 03:40

It is Ok after I delete some invisible characters at the end of some lines.
Thank you very much!

Post Reply
[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
[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