GraphML import -- actually a bug

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
rburke2233
Posts:3
Joined:20 Jul 2014 02:55
Location:United States
[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
GraphML import -- actually a bug

Post by rburke2233 » 07 Oct 2014 22:30

I object to the characterization of "Solved" for the "d3" == "label" issue for GraphML importation.

https://forum.gephi.org/viewtopic.php?f ... abel#p1875

The Python NetworkX packages uses labels "d0", "d1", etc. for all node attributes. This bug means that any NetworkX graph with more than 3 node attributes cannot be transferred to Gephi correctly through the GraphML format.

The solution recommended in the above post (to copy the incorrectly imported label column) is inadequate because the true node labels are still lost. The option of renaming attibutes is also not available to NetworkX users.

If the developers are interested in accommodating yEd users, then I recommend creating a "yEd" checkbox on the file import screen that can be selected to allow this non-standard and counter-intuitive interpretation of the GraphML standard to be invoked. It should not be the default behavior.

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