Search found 7 matches
[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- 14 Feb 2017 14:14
- Forum: Development
- Topic: Moving nodes in gephi
- Replies: 0
- Views: 29036
Moving nodes in gephi
Hi, Is there a simple way to drag a selected node using gephi, I'm using the demo project, so in the MouseListnerTemplate I implement the moussePressed method to save the initial mouse click on the node (X and Y ). then in the mouseDragged method I set the node position with the PreviewMouseEvent X ...
- 14 Feb 2017 12:37
- Forum: Development
- Topic: Can we use RenderTarget.G2D_TARGET in Gephi 9.1
- Replies: 2
- Views: 25960
Re: Can we use RenderTarget.G2D_TARGET in Gephi 9.1
Hi,
effectively I was using an old Jar,
thanks again for your fast responses,
effectively I was using an old Jar,
thanks again for your fast responses,
- 14 Feb 2017 12:20
- Forum: Development
- Topic: Can we use RenderTarget.G2D_TARGET in Gephi 9.1
- Replies: 2
- Views: 25960
Can we use RenderTarget.G2D_TARGET in Gephi 9.1
When I'm using the demo project, we can use this line of code: G2DTarget target1 = (G2DTarget) previewController.getRenderTarget(RenderTarget.G2D_TARGET); to get the render target, but when I'm trying to include the java-tookit 9.1 jar to my projetc then using this code, there is no attribute G2D_TA...
- 10 Feb 2017 15:13
- Forum: Development
- Topic: Implement NodePressAndDraggingEventListener
- Replies: 6
- Views: 34213
Re: Implement NodePressAndDraggingEventListener
Hi, Yes I have the same pom.xml file, and as you said Eclipse+Maven is the cause of the problem, so I tried to execute with Maven command line in Windows, and it works good, Thanks. Now I need to figure how to fix this problem in Eclipse, because I need to use Gephi in an existing java application i...
- 09 Feb 2017 19:23
- Forum: Development
- Topic: Implement NodePressAndDraggingEventListener
- Replies: 6
- Views: 34213
Re: Implement NodePressAndDraggingEventListener
Hi, sorry for my multiple questions, So ok I get started with your example, Firstly, I'm using eclipse, is that a problem, because I see that NetBeans is recomended? and in my case I can't use Netbeans. Secondly, I'm trying to use the MouseListenerTemplate but eclipse show me an compilation error on...
- 09 Feb 2017 17:50
- Forum: Development
- Topic: Implement NodePressAndDraggingEventListener
- Replies: 6
- Views: 34213
Re: Implement NodePressAndDraggingEventListener
Thanks for the example, I check it and I understand that I need to implement the MouseResponsiveRenderer Interface, and use the ServiceProvider annotation, to enable mouse event. I did but I get nothing when I click on the graph nodes; Here is my code: package giphy; import java.awt.BorderLayout; im...
- 09 Feb 2017 13:00
- Forum: Development
- Topic: Implement NodePressAndDraggingEventListener
- Replies: 6
- Views: 34213
Implement NodePressAndDraggingEventListener
I'm new with Gephi, I want to use Gephi in a java program to generate graphics, Firstly I import the GEXF file, and display it into a JFrame. What I need to do, is to allow user to drag the nodes, I cant find how to do that, Any help will be appreciated. this is my code: import org.gephi.graph.api.D...