[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) 2016-08-09T11:57:02+01:00 https://forum-gephi.org/app.php/feed/topic/5219 2016-08-09T11:57:02+01:002016-08-09T11:57:02+01:00 https://forum-gephi.org/viewtopic.php?t=5219&p=12962#p12962 <![CDATA[Re: Help with creating a layout plugin]]> In your modules section there can be only one module that other modules do not depend on. Also try to use gephi-plugins instead, not sure if the bootcamp is completely updated.

Statistics:Posted by maryjohn — 09 Aug 2016 11:57


]]>
2016-05-23T15:05:51+01:002016-05-23T15:05:51+01:00 https://forum-gephi.org/viewtopic.php?t=5219&p=12585#p12585 <![CDATA[Re: Help with creating a layout plugin]]>

CODE:

[ERROR] Project uses classes from transitive module org.netbeans.api:org-openide-util:jar:RELEASE81 which will not be accessible at runtime.[INFO]     To fix the problem, add this module as direct dependency. For OSGi bundles that are supposed to be wrapped in NetBeans modules, use the useOSGiDependencies=false parameter
Which I solved by adding the following to my pom.xml

CODE:

<dependency>   <groupId>org.netbeans.api</groupId>   <artifactId>org-openide-util</artifactId></dependency>
I can now see the layout when I run gephi-plugins, Thanks!

Statistics:Posted by suryanash — 23 May 2016 15:05


]]>
2016-05-23T14:39:15+01:002016-05-23T14:39:15+01:00 https://forum-gephi.org/viewtopic.php?t=5219&p=12583#p12583 <![CDATA[Re: Help with creating a layout plugin]]> Statistics:Posted by eduramiba — 23 May 2016 14:39


]]>
2016-05-23T14:30:56+01:002016-05-23T14:30:56+01:00 https://forum-gephi.org/viewtopic.php?t=5219&p=12581#p12581 <![CDATA[Re: Help with creating a layout plugin]]> Statistics:Posted by suryanash — 23 May 2016 14:30


]]>
2016-05-23T12:20:21+01:002016-05-23T12:20:21+01:00 https://forum-gephi.org/viewtopic.php?t=5219&p=12579#p12579 <![CDATA[Re: Help with creating a layout plugin]]> https://github.com/suryanash/gephi-plug ... in/pom.xml
Also never depend on the gephi-toolkit in a gephi-plugins project.

So, just include the separate modules that you need without versions:

CODE:

<dependency>    <groupId>org.gephi</groupId>    <artifactId>graph-api</artifactId></dependency><dependency>    <groupId>org.gephi</groupId>    <artifactId>ui-propertyeditor</artifactId></dependency>
You will probably also need Layout API etc. The complete list of modules is here https://github.com/suryanash/gephi-plug ... es/pom.xml

Statistics:Posted by eduramiba — 23 May 2016 12:20


]]>
2016-05-23T12:03:56+01:002016-05-23T12:03:56+01:00 https://forum-gephi.org/viewtopic.php?t=5219&p=12577#p12577 <![CDATA[Re: Help with creating a layout plugin]]> Statistics:Posted by suryanash — 23 May 2016 12:03


]]>
2016-05-23T11:57:21+01:002016-05-23T11:57:21+01:00 https://forum-gephi.org/viewtopic.php?t=5219&p=12575#p12575 <![CDATA[Re: Help with creating a layout plugin]]> The plugins menu is only a place holder for possible plugins, so it's normally empty.

Statistics:Posted by eduramiba — 23 May 2016 11:57


]]>
2016-05-23T11:54:40+01:002016-05-23T11:54:40+01:00 https://forum-gephi.org/viewtopic.php?t=5219&p=12573#p12573 <![CDATA[Re: Help with creating a layout plugin]]>
When gephi runs, is the plugin layout supposed to appear in the drop down with the other layouts? Also I just realised when I click on Plugins in the menu bar (not Tools > Plugins, just Plugins) nothing happens. Not sure if thats related though.

Statistics:Posted by suryanash — 23 May 2016 11:54


]]>
2016-05-23T11:48:29+01:002016-05-23T11:48:29+01:00 https://forum-gephi.org/viewtopic.php?t=5219&p=12569#p12569 <![CDATA[Re: Help with creating a layout plugin]]>
mvn org.gephi:gephi-maven-plugin:run

That or just click Run in Netbeans from the root (gephi-plugins) maven project.

Statistics:Posted by eduramiba — 23 May 2016 11:48


]]>
2016-05-23T11:34:41+01:002016-05-23T11:34:41+01:00 https://forum-gephi.org/viewtopic.php?t=5219&p=12567#p12567 <![CDATA[Re: Help with creating a layout plugin]]> https://github.com/suryanash/gephi-plugins

Does anything stick out as incorrectly done to you?

Statistics:Posted by suryanash — 23 May 2016 11:34


]]>
2016-05-19T19:32:19+01:002016-05-19T19:32:19+01:00 https://forum-gephi.org/viewtopic.php?t=5219&p=12545#p12545 <![CDATA[Re: Help with creating a layout plugin]]> https://github.com/gephi/gephi-plugins/ ... ilder.java and is annotated with the @ServiceProvider(service = LayoutBuilder.class) annotation.

Statistics:Posted by eduramiba — 19 May 2016 19:32


]]>
2016-05-19T18:17:30+01:002016-05-19T18:17:30+01:00 https://forum-gephi.org/viewtopic.php?t=5219&p=12539#p12539 <![CDATA[Re: Help with creating a layout plugin]]> Statistics:Posted by suryanash — 19 May 2016 18:17


]]>
2016-05-19T16:15:11+01:002016-05-19T16:15:11+01:00 https://forum-gephi.org/viewtopic.php?t=5219&p=12537#p12537 <![CDATA[Re: Help with creating a layout plugin]]> https://github.com/gephi/gephi-plugins/ ... /GeoLayout

Statistics:Posted by eduramiba — 19 May 2016 16:15


]]>
2016-05-19T14:55:23+01:002016-05-19T14:55:23+01:00 https://forum-gephi.org/viewtopic.php?t=5219&p=12535#p12535 <![CDATA[Re: Help with creating a layout plugin]]>
I am fairly unfamiliar with maven and the structuring of the project as I have only really used POOJ when using Java, so I apologise.

Is there some a guide or another forum post that I should look at on how to get my custom layout set up? I imagine for people with more experience with maven the gephi-plugins-bootcamp should suffice but I found I am finding it hard to replicate.

Thanks,

Surya

Statistics:Posted by suryanash — 19 May 2016 14:55


]]>
2016-05-19T14:16:17+01:002016-05-19T14:16:17+01:00 https://forum-gephi.org/viewtopic.php?t=5219&p=12533#p12533 <![CDATA[Re: Help with creating a layout plugin]]> In your modules section there can be only one module that other modules do not depend on. Also try to use gephi-plugins instead, not sure if the bootcamp is completely updated.

Statistics:Posted by eduramiba — 19 May 2016 14:16


]]>
2016-05-19T13:22:10+01:002016-05-19T13:22:10+01:00 https://forum-gephi.org/viewtopic.php?t=5219&p=12531#p12531 <![CDATA[Help with creating a layout plugin]]>
I have been using Gephi-Toolkit for the past couple of months on a university project to layout some network graphs but now I have been trying to create a modification of the ForceAtlas2 layout. I have tried to fork both the gephi-plugins and gephi-plugins-bootcamp code to start my work however I run into a lot of issues with maven. I am currently trying to work off of the gephi-plugins-bootcamp code, but when I try to run

CODE:

mvn clean package
I get the following error:

CODE:

Failed to execute goal org.gephi:gephi-maven-plugin:1.1.2-SNAPSHOT:validate (validate-plugin) on project gephi-plugins: Multiple module suites have been found, this is not supported -> [Help 1]
I have tried commenting out the other plugins but then I get other errors. Could someone help me get started with writing my own gephi plugin? I want to start my modification from the existing ForceAtlas2 modification, so my plan was to copy over the implementation in gephi and after identical plugin works to then build upon it.

Thanks,

Surya

Statistics:Posted by suryanash — 19 May 2016 13:22


]]>