[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 •Graph dissappeared after adding few more nodes and edges
Page 1 of 1

Graph dissappeared after adding few more nodes and edges

Posted: 06 Nov 2016 23:14
by ccamara
Hello, I am quite new to Gephi, but after reading the 3 tutorials on the official page (https://gephi.org/users/) I manged to make a decent Graph. However, after adding few more nodes and edges to the database (currently has 31 nodes and 45 edges) and re-generating the graph from layout tab, the graph dissappeared and the "Force Atlas" distribution won't stop loading. I tried with other distribution with same results.

Why is this happening and how could I fix that?

Thank you!

Re: Graph dissappeared after adding few more nodes and edges

Posted: 07 Nov 2016 11:58
by eduramiba
Were all your nodes in the same position? That is known to create problems with many layouts.
A simple workaround: run random layout first, then run whatever layout you need.

Re: Graph dissappeared after adding few more nodes and edges

Posted: 08 Nov 2016 09:24
by ccamara
Thanks for your answer.

Excuse the dumb question, but how do I know if all nodes are on the same position?

I tried with random layout and it worked more or less fine: now I can see nodes and then I can change the layout to Force Atlas, which is great. Unfortunately the nodes and edges are quite far away when I click on "Center to Graph" icon and I have to manually zoom in, whith the problem of poor resolution (which on the other hand will be solved on preview tab).

PS: should you need to check nodes and edges, I have uploaded an anonymized version of both on these links on pastebin: Nodes.csv, Edges.csv

Re: Graph dissappeared after adding few more nodes and edges

Posted: 08 Nov 2016 09:52
by eduramiba
Hi,
You can use Force Atlas 2 and set a low 'Scale' parameter to obtain a smaller network layout.

Re: Graph dissappeared after adding few more nodes and edges

Posted: 10 Nov 2016 17:27
by ccamara
Thank you!