Package org.gephi.layout.spi
Interfaces for creating new layout algorithms.
Create a new Layout
-
Create a new module and set
LayoutAPIandGraphAPIas dependencies. -
Create a new builder class by implementing
LayoutBuilder -
Add @ServiceProvider annotation to your builder, that it can
be found by the system. Set
LayoutBuilderas the annotation parameter. -
Create a new class that implements
Layout. Set instantiation code inLayoutBuilder.buildLayout().
-
Interface Summary Interface Description Layout A Layout algorithm should implement theLayoutinterface to allow theLayoutControllerto run it properly.LayoutBuilder ALayoutBuilderprovides a specificLayoutinstance.LayoutUI Various information about a layout algorithm that allows UI integration. -
Class Summary Class Description LayoutProperty Properties for layout algorithms that are used by the UI to fill the property sheet and thus allow user edit.