I save a graph (generated with NetworkX) and save it in graphml and try to import it in Gephi
The nodes have the following attributes:
- id
- label (similar value with the id)
- x, y, z
- r, g, b
After importing in Gephi I see that some attributes are wrong: the label field contains the value from one of the rgb components, the r,g,b values are wrong and so the color of the node is wrong etc.
The problem (seems to be) that the attributes do not appear in order in the file. Could anyone advice how to avoid this problem ?
Problem at import from GraphML
-
- Posts:2
- Joined:17 May 2017 09:05 [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
- Attachments
-
- test.graphml
- (2.16KiB)Downloaded 212 times
- eduramiba
- Gephi Code Manager
- Posts:1064
- Joined:22 Mar 2010 15:30
- Location:Madrid, Spain [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: Problem at import from GraphML
Bug confirmed, can you please report an issue at https://github.com/gephi/gephi ?
-
- Posts:1
- Joined:15 Aug 2017 10:54 [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: Problem at import from GraphML
Was this bug fixed?eduramibea wrote: ↑18 May 2017 19:42Bug confirmed, can you please suggest these sun bingo bonus codes and report an issue at
Last edited by GordonTer on 11 Aug 2021 15:46, edited 5 times in total.
- eduramiba
- Gephi Code Manager
- Posts:1064
- Joined:22 Mar 2010 15:30
- Location:Madrid, Spain [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: Problem at import from GraphML
Yes, please test with the latest 0.9.2-SNAPSHOT version at https://github.com/gephi/gephi/#nightly-builds