Page 1 of 1

Basic question on getting started

Posted: 15 Apr 2017 03:19
by trvlingengineer
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

Re: Basic question on getting started

Posted: 15 Apr 2017 12:47
by eduramiba
Hi,
It seems you are using the gephi toolkit. The Gephi desktop application code is at https://github.com/gephi/gephi

Re: Basic question on getting started

Posted: 15 Apr 2017 16:32
by trvlingengineer
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

Re: Basic question on getting started

Posted: 15 Apr 2017 17:01
by eduramiba
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.