[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
Gephi forumsPlease post new questions on facebook group too (https://www.facebook.com/groups/gephi) 2018-05-03T09:22:29+01:00 https://forum-gephi.org/app.php/feed/forum/34 2018-05-03T09:22:29+01:002018-05-03T09:22:29+01:00 https://forum-gephi.org/viewtopic.php?t=6566&p=15252#p15252 <![CDATA[Development • Re: Build a plugin without Gephi source code]]> https://github.com/gephi/gephi-plugins/ ... /README.md

Statistics:Posted by eduramiba — 03 May 2018 09:22


]]>
2018-05-02T15:22:36+01:002018-05-02T15:22:36+01:00 https://forum-gephi.org/viewtopic.php?t=6566&p=15245#p15245 <![CDATA[Development • Build a plugin without Gephi source code]]>
I'm searching a way to build a plugin without Gephi source code.
1st step as you can see here is to register gephi as a netbeans platform
https://github.com/gephi/gephi/wiki/Bui ... ource-code

However, I don't find "Add Platform" in the "tool" dialog in Gephi.
I suppose it's due to the version : tutorial seems under 0.8, where I am under 0.9.1/2

Is it always possible to build a plugin without Gephi source code on 0.9.2 ? And if it is, how ?

Thanks for answers

Statistics:Posted by arboks — 02 May 2018 15:22


]]>
2018-04-15T18:29:06+01:002018-04-15T18:29:06+01:00 https://forum-gephi.org/viewtopic.php?t=6504&p=15164#p15164 <![CDATA[Development • Re: Pbs with toolkit]]>
Thanks a lot for youir help, Now it work, and I can understand much more how it works. I need little bit more work to be completely efficient with Gephi but now I am confident.

Thans a lot

Antonio

Statistics:Posted by galera3D — 15 Apr 2018 18:29


]]>
2018-04-15T11:03:53+01:002018-04-15T11:03:53+01:00 https://forum-gephi.org/viewtopic.php?t=6504&p=15163#p15163 <![CDATA[Development • Re: Pbs with toolkit]]>
The source code is here https://github.com/gephi/graphstore
For you color setup, etc, make sure the PreviewProperties are configured as you would like them.

Statistics:Posted by eduramiba — 15 Apr 2018 11:03


]]>
2018-04-14T16:13:35+01:002018-04-14T16:13:35+01:00 https://forum-gephi.org/viewtopic.php?t=6504&p=15162#p15162 <![CDATA[Development • Re: Pbs with toolkit]]>
Build the graph,
Set the attributes for visualisation
Visualize

I'ts little bit difficult. Another problem I have it's where can I found the source code for example for DirectedGraph, GraphModel, ....

Tanks for your help

Statistics:Posted by galera3D — 14 Apr 2018 16:13


]]>
2018-04-14T14:21:46+01:002018-04-14T14:21:46+01:00 https://forum-gephi.org/viewtopic.php?t=6504&p=15161#p15161 <![CDATA[Development • Re: Pbs with toolkit]]> https://github.com/gephi/gephi-toolkit- ... Frame.java

Statistics:Posted by eduramiba — 14 Apr 2018 14:21


]]>
2018-04-13T11:08:01+01:002018-04-13T11:08:01+01:00 https://forum-gephi.org/viewtopic.php?t=6504&p=15157#p15157 <![CDATA[Development • Pbs with toolkit]]> I am newbie using Gephi. I try to add Gephi's functionnalities to an application develped using Eclispe E4, NeoEMF, Neo4J, Geotools, ...

I have done a small class test here attached (TestGraph.java and PrevoewSketch.java) and I always see a black window? Can you help me.

I have another problem, I have download all the toolkit, gephi aswell, rebuild them using maven, and I cannot found where are for example the source code of DirectedGraph, Node, .....

Tanks a lot for your help
PreviewSketch.txt

TestGraph.txt

Statistics:Posted by galera3D — 13 Apr 2018 11:08


]]>
2017-11-15T17:16:54+01:002017-11-15T17:16:54+01:00 https://forum-gephi.org/viewtopic.php?t=6325&p=14715#p14715 <![CDATA[Development • Re: Gephi plugin doesn't stop]]> https://github.com/gephi/gephi/issues/1842

Statistics:Posted by eduramiba — 15 Nov 2017 17:16


]]>
2017-11-15T17:04:04+01:002017-11-15T17:04:04+01:00 https://forum-gephi.org/viewtopic.php?t=6325&p=14714#p14714 <![CDATA[Development • Gephi plugin doesn't stop]]> I am writing on a plugin for Gephi in which the label of the nodes change depending on the labels of the neighbor nodes.
This should serve the clustering.
The changed labels will show in a column of the data labor. So far the code works.
As soon as the labels should not change, stop the programm should be stopped.
And here is the problem the program doesn't stop.
I use the ColumnObserver and the observer.hasColumnChanged() method. See the following code part:

public void execute(GraphModel graphModel){
Table nodeTable = graphModel.getNodeTable();

Column col = nodeTable.getColumn(prob);
if (col == null) {
col = nodeTable.addColumn(prob, String.class);
}
ColumnObserver observer = col.createColumnObserver(true);

Graph graph = graph.Model.getGraph();
Node[] nodes = graph.getNodes().toArray();
...
boolean changed = true;
while(changed){
for (Node n: nodes){
....
n.setLabel(newLabel); //here should be a method() to check the graph if a change of the labels occured
}

if (observer.hasColumnChanged()){
change = true;
}else{
change = false;
}

What could be the reason why the program does not stop.

For any help thanks in advance

Statistics:Posted by CodeIt — 15 Nov 2017 17:04


]]>
2017-11-14T12:54:33+01:002017-11-14T12:54:33+01:00 https://forum-gephi.org/viewtopic.php?t=6320&p=14704#p14704 <![CDATA[Development • Re: Gephi platform integrated in Netbeans, no "Add Jar/File" exists]]> It's not clear what you are trying to do and why is that the correct way to do it, but it's probably not.

Are you trying to use Gephi as a library for your own project? That should be done with gephi-toolkit.

Statistics:Posted by eduramiba — 14 Nov 2017 12:54


]]>
2017-11-14T09:30:08+01:002017-11-14T09:30:08+01:00 https://forum-gephi.org/viewtopic.php?t=6320&p=14703#p14703 <![CDATA[Development • Re: Gephi platform integrated in Netbeans, no "Add Jar/File" exists]]> Statistics:Posted by CodeIt — 14 Nov 2017 09:30


]]>
2017-11-12T19:17:01+01:002017-11-12T19:17:01+01:00 https://forum-gephi.org/viewtopic.php?t=6320&p=14697#p14697 <![CDATA[Development • Gephi platform integrated in Netbeans, no "Add Jar/File" exists]]> i integrated Gephi as a platform in Netbeans. If I want to integrate the Jama library by right-clicking on Libraries of the project (created on the gephi platform), there is no "Add Jar/File", just "Add Modules Dependency ...." and "Add new Library".
However, when I create a project on the Java platform, I also offer Add Jar/File.

I have installed NetBeans IDE 8.2 and JDK8. I have set the path with C:\Program Files\Java\jdk1.8.0_151\bin; Other codes are running on the Gephi platform.

Can someone give me a hint why that could be?

Thanks in advance

Statistics:Posted by CodeIt — 12 Nov 2017 19:17


]]>
2017-08-20T10:59:37+01:002017-08-20T10:59:37+01:00 https://forum-gephi.org/viewtopic.php?t=6269&p=14549#p14549 <![CDATA[Development • Re: Plugin development in Netbeans: breakpoints not working.]]> Statistics:Posted by olavla — 20 Aug 2017 10:59


]]>
2017-08-20T09:06:21+01:002017-08-20T09:06:21+01:00 https://forum-gephi.org/viewtopic.php?t=6269&p=14548#p14548 <![CDATA[Development • Plugin development in Netbeans: breakpoints not working.]]>
ff.jpeg
Hi,

I'm developing a Gephi (filter) plugin in Netbeans and although the plugin run fine, running it in debug mode with a breakpoint never breaks (although I'm sure to hit the code).

How can I ensure it breaks so I can step through my code?

These are my steps:

-Install NetBeans & Maven
-Install gephi-plugins-master.zip
-mvn org.gephi:gephi-maven-plugin:generate
-put all the code in place
-mvn clean package
-mvn org.gephi:gephi-maven-plugin:run

Result: code works 100%

Now I open NetBeans > Open Project & add the plugin folder.
-It shows my plugin as module.
-I double click the module and it opens as its own section (see sceenshot; Module BackTracer)
-I can't run the module on it's own - it can't find certain dependencies.
-I can run the Gephi-plugin project: it starts Gephi and my plugin runs fine.

Now I add some breakpoints in the Module BackTracer, specifically in the BackTracerBuilder (on various points, methods & line breakpoints). I also defined a Class entry breakpoint.

None of those breakpoints ever hit. Why?

Btw: in NetBeans the code shows as containing a lot of errors. However, this is code 100% copied from an existing plugin with some names changed. It runs 100% functional and mvn org.gephi:gephi-maven-plugin:validate doesn't give me any errors/warning. Weird right?

Thanks for your inputs!

Image

Statistics:Posted by olavla — 20 Aug 2017 09:06


]]>
2017-04-15T17:01:31+01:002017-04-15T17:01:31+01:00 https://forum-gephi.org/viewtopic.php?t=6187&p=14334#p14334 <![CDATA[Development • Re: Basic question on getting started]]> 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.

Statistics:Posted by eduramiba — 15 Apr 2017 17:01


]]>
2017-04-15T16:32:32+01:002017-04-15T16:32:32+01:00 https://forum-gephi.org/viewtopic.php?t=6187&p=14333#p14333 <![CDATA[Development • Re: Basic question on getting started]]>
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

Statistics:Posted by trvlingengineer — 15 Apr 2017 16:32


]]>
2017-04-15T12:47:02+01:002017-04-15T12:47:02+01:00 https://forum-gephi.org/viewtopic.php?t=6187&p=14331#p14331 <![CDATA[Development • Re: Basic question on getting started]]> It seems you are using the gephi toolkit. The Gephi desktop application code is at https://github.com/gephi/gephi

Statistics:Posted by eduramiba — 15 Apr 2017 12:47


]]>
2017-04-15T03:19:01+01:002017-04-15T03:19:01+01:00 https://forum-gephi.org/viewtopic.php?t=6187&p=14330#p14330 <![CDATA[Development • Basic question on getting started]]>
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

Statistics:Posted by trvlingengineer — 15 Apr 2017 03:19


]]>
2017-03-30T09:48:45+01:002017-03-30T09:48:45+01:00 https://forum-gephi.org/viewtopic.php?t=6172&p=14278#p14278 <![CDATA[Development • Toolkit - Edge Filtering]]> I tried the following code:

CODE:

        FilterController filterController = Lookup.getDefault().lookup(FilterController.class);        EdgePartitionFilter EdgePartitionFilter = new EdgePartitionFilter(graphModel.getEdgeTable().getColumn("kind"), appearanceModel);        EdgePartitionFilter.unselectAll();        EdgePartitionFilter.addPart("Function");        Query query = filterController.createQuery(EdgePartitionFilter);        GraphView view = filterController.filter(query);        graphModel.setVisibleView(view);                                  graph = graphModel.getDirectedGraphVisible();        System.out.println("Nodes: " + graph.getNodeCount() + " Edges: " + graph.getEdgeCount());
Unfortunately, it does not work because it does not delete the edges. I tried the version 0.9.1 and the 0.9.2 snapshot
Can someone help me please? I am a total newbie :D

Statistics:Posted by raffaelecesarano — 30 Mar 2017 09:48


]]>
2017-02-14T14:14:34+01:002017-02-14T14:14:34+01:00 https://forum-gephi.org/viewtopic.php?t=6141&p=14202#p14202 <![CDATA[Development • Moving nodes in gephi]]>
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 and Y attributes (selectedNode.setPosition(event.x, event.y);).

but that doesn't work as I want, the position of the node doesn't change.

And I think also that I need to change the postion of the edges related to this node,

Any ideas.

Thanks in advance.

Statistics:Posted by yacine — 14 Feb 2017 14:14


]]>