For generating the picture like gephi did in elcipse

User's perspective on software quality
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
yuyaxuan
Posts:11
Joined:04 Oct 2012 20:18
[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
For generating the picture like gephi did in elcipse

Post by yuyaxuan » 09 Oct 2012 14:42

I am quite new for gephi..So I am doing soem development on a java project imported the gephi-toolkit.jar, hoping to use gephi directly in my project...
So my quetion is that whether I can implement that I can provide the path of the gephi needed graph file to my java project, and they can create the graph like gephi programme did...

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: For generating the picture like gephi did in elcipse

Post by eduramiba » 09 Oct 2012 18:58

Hi,
Sure, check the toolkit examples here http://wiki.gephi.org/index.php/Toolkit_portal or just download and run the same demos here https://github.com/gephi/gephi-toolkit-demos

Headless demo contains a Preview export example.

Eduardo

yuyaxuan
Posts:11
Joined:04 Oct 2012 20:18
[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: For generating the picture like gephi did in elcipse

Post by yuyaxuan » 10 Oct 2012 14:26

eduramiba wrote:Hi,
Sure, check the toolkit examples here http://wiki.gephi.org/index.php/Toolkit_portal or just download and run the same demos here https://github.com/gephi/gephi-toolkit-demos

Headless demo contains a Preview export example.

Eduardo

Thank you for replying..And the code is running perfectly...So I saw that this is for 'gml' format..For other formal like "graphML" which is more or less like XML..Can we also reuse this code? Or we have some better approach?

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: For generating the picture like gephi did in elcipse

Post by eduramiba » 10 Oct 2012 17:42

Hi,
Yes, you can use the same import code, just put a file with a .graphml extension and it will choose the proper importer.
Check this to see supported formats lists https://gephi.org/users/supported-graph-formats/

Eduardo

yuyaxuan
Posts:11
Joined:04 Oct 2012 20:18
[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: For generating the picture like gephi did in elcipse

Post by yuyaxuan » 11 Oct 2012 10:05

eduramiba wrote:Hi,
Yes, you can use the same import code, just put a file with a .graphml extension and it will choose the proper importer.
Check this to see supported formats lists https://gephi.org/users/supported-graph-formats/

Eduardo


Thank you!..It's working perfetcly!

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