Basic question on getting started

Please use a mailing-list, see http://gephi.org/developers/
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
trvlingengineer
Posts:2
Joined:15 Apr 2017 03:02
[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
Basic question on getting started

Post by trvlingengineer » 15 Apr 2017 03:19

I apologize if this question is too basic. I can't seem to find the code that creates the Graph panel on Gephi. Can someone please point me in the right direction?

I am interested in writing a domain specific application based on the Gephi code. I have done the tutorial, played with the PreviewJFrame demo and looked through the code. I want to see how some of the features on the Graph panel are done but I can't seem to find a good starting point.

Thank in advance

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: Basic question on getting started

Post by eduramiba » 15 Apr 2017 12:47

Hi,
It seems you are using the gephi toolkit. The Gephi desktop application code is at https://github.com/gephi/gephi

trvlingengineer
Posts:2
Joined:15 Apr 2017 03:02
[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: Basic question on getting started

Post by trvlingengineer » 15 Apr 2017 16:32

Hi Eduramiba

I have cloned the application code and looked through it but I can't figure out how the Graph panel is created and managed. In the demos it is very clear that the PreviewJFrame class is the place to start. I found several instances of that class used in the application code but it's not obvious which one (or any?) is used to create the Graph panel on the application.


Thanks

Stephen

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: Basic question on getting started

Post by eduramiba » 15 Apr 2017 17:01

Hi,
Keep in mind that the "Graph" panel is OpenGL, unlike Preview, which is java2d, and is not very modular an reusable at the moment. Its implementation is on VisualizationImpl module.

Preview panel is in DesktopPreview module.

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