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
GeneratorAPIas a dependency. -
Create a new class that implements
Generator. BecauseGeneratorinterface extendsLongTask, addLongTaskAPIas another of your module dependency. -
Add @ServiceProvider annotation to your class to declare
you are implementing a Generator service. Put
Generator.classas the annotation service parameter. -
Implement
GeneratorUIif 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.