Package org.gephi.appearance.spi
Interface RankingTransformer<E extends Element>
-
- Type Parameters:
E
- element class
- All Superinterfaces:
Transformer
public interface RankingTransformer<E extends Element> extends Transformer
Ranking transformer that transforms an element based on a numerical ranking column.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
transform(E element, Ranking ranking, Number value, float normalisedValue)
Transforms the given element based on the provided ranking parameters.-
Methods inherited from interface org.gephi.appearance.spi.Transformer
isEdge, isNode
-
-
-
-
Method Detail
-
transform
void transform(E element, Ranking ranking, Number value, float normalisedValue)
Transforms the given element based on the provided ranking parameters.The
ranking
object contains the min and max value so the ranked value can be calculated.- Parameters:
element
- element to transformranking
- ranking configurationvalue
- element's value for this rankingnormalisedValue
- normalised value between 0.0 and 1.0
-
-