|
Gephi Toolkit Javadoc | ||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||
See:
Description
| Interface Summary | |
|---|---|
| RankingBuilder | Ranking builder, creating Ranking instances suitable to the given
RankingModel. |
| TransformerBuilder | Transformer builder, creating Transformer instances. |
| TransformerUI | Transformer user interface. |
Interfaces for creating new rankings and transformer. RankingBuilder
feeds the list of available rankings. The default rankings include for
instance 'Degree' or numerical attribute columns. Transformers apply for
instance color or size transformation to objects.
RankingAPI, GraphAPI
and Lookup as dependencies.TransformerBuilderr,
this class is basically a factory that will create the transformer on demand.TransformerBuilder as the
annotation parameter. You can also add a position to define the order
your transformer should be displayed. Put 1000 to be displayed after
the default one.isTransformerForElement() method. If your
transformer manipulates both nodes and edges, return true
when the element type is Ranking.NODE_ELEMENT or
Ranking.EDGE_ELEMENT. If it manipulates only one element,
restrict in consequences.Transformer. One can
add a dependency to the RankingPlugin module and extends the
AbstractRanking.NodeData, if it works only with edges, put
EdgeData. If it works with both, put Renderable or
Attributable. These are interfaces both nodes and edges implement.transform() method of the transformer.TransformerUI interface. Add @ServiceProvider annotation
to your class, that it can be found by the system. Set TransformerUI
as the service annotation parameter.isUIForTransformer() to return true only
when the given transformer is an instance of the Transformer you defined earlier.getPanel() method to return it.
|
Gephi Toolkit Javadoc | ||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||