Edit gexf

All questions about the GEXF (see http://gexf.net before)
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
nikolkotz
Posts:9
Joined:27 Mar 2018 13:26
[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
Edit gexf

Post by nikolkotz » 05 Apr 2018 13:14

I have a gexf file that I haven't created and I would like to change its format, eg data type, add color,merge attributes. I don't want to do it manually from the Data Laboratory but preferably in python. Can you give me a hint on how I could approach it?

Thanks

User avatar
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: Edit gexf

Post by eduramiba » 05 Apr 2018 14:09

I guess you can use networkx but I have never tried it https://networkx.github.io/documentatio ... .gexf.html

nikolkotz
Posts:9
Joined:27 Mar 2018 13:26
[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: Edit gexf

Post by nikolkotz » 05 Apr 2018 14:17

Cheers!

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