Gephi Toolkit Javadoc

Package org.gephi.layout.spi

Interfaces for creating new layout algorithms.

See:
          Description

Interface Summary
Layout A Layout algorithm should implement the Layout interface to allow the LayoutController to run it properly.
LayoutBuilder A LayoutBuilder provides a specific Layout instance.
LayoutUI Various information about a layout algorithm that allows UI integration.
 

Class Summary
LayoutProperty Properties for layout algorithms that are used by the UI to fill the property sheet and thus allow user edit.
 

Package org.gephi.layout.spi Description

Interfaces for creating new layout algorithms.

Create a new Layout

  1. Create a new module and set LayoutAPI and GraphAPI as dependencies.
  2. Create a new builder class by implementing LayoutBuilder
  3. Add @ServiceProvider annotation to your builder, that it can be found by the system. Set LayoutBuilder as the annotation parameter.
  4. Create a new class that implements Layout. Set instantiation code in LayoutBuilder.buildLayout().


Gephi Toolkit Javadoc