Package org.gephi.io.generator.spi
Generator interfaces that plugins implement to add new generators.
Create a new Generator
-
Create a new module, and set
GeneratorAPI
as a dependency. -
Create a new class that implements
Generator
. BecauseGenerator
interface extendsLongTask
, addLongTaskAPI
as another of your module dependency. -
Add @ServiceProvider annotation to your class to declare
you are implementing a Generator service. Put
Generator.class
as the annotation service parameter. -
Implement
GeneratorUI
if your generator needs a settings panel and return it fromgetUI()
method.
-
Interface Summary Interface Description Generator Define a generator, that is generating graph structure from a bunch of parameters.GeneratorUI Defines settings panel for a particular generator.