[FIXED] Missing node properties from dot 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
gamma2
Posts:16
Joined:20 Sep 2011 09:20
Location:Bologna, Italy
[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
[FIXED] Missing node properties from dot file

Post by gamma2 » 20 Sep 2011 09:45

Hello,
I just started testing Gephi and I encountered a problem. When I load a graph from a dot file (i.e. GraphViz), Gephi correctly reads the "label" attribute of nodes but forgets to load the other properties. As an example, in my graph there is a property related to clustering which is missing from both the Partition/Ranking panel and the data table.

Thanks in advance,
Giuseppe
--
Researcher at University of Bologna, Italy

admin
Gephi Community Manager
Posts:964
Joined:09 Dec 2009 14:41
[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: Missing node properties from dot file

Post by admin » 20 Sep 2011 13:27

Hi,

Can you share a sample of the graph, so that we may reproduce the possible bug?

gamma2
Posts:16
Joined:20 Sep 2011 09:20
Location:Bologna, Italy
[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: Missing node properties from dot file

Post by gamma2 » 21 Sep 2011 10:37

Thanks for the quick reply.
Here is a tiny sample: (labels and colors are correctly loaded, while the "cluster" attribute is not)

Code: Select all

graph G {
0 [color="green", cluster="0", label="One"];
1 [color="green", cluster="0", label="Two"];
2 [color="blue", cluster="1", label="Three"];
3 [color="red", cluster="3", label="Four"];
4 [color="blue", cluster="1", label="Five"];
0--1 ;
0--2 ;
1--4 ;
2--3 ;
3--4 ;
}
Thanks in advance,
Giuseppe

admin
Gephi Community Manager
Posts:964
Joined:09 Dec 2009 14:41
[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: Missing node properties from dot file

Post by admin » 21 Sep 2011 11:03

Right, I reported a bug

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