A ranking function provides values for a particular element (e.g node or edge). For instance if the node has an 'age' attribute, the ranking function provides the age value rescaled between 0 and 1. Then, transformers take the value between zero and one and apply a visual sign to the element.
Check the org.gephi.ranking.spi
package to learn how to
create new transformers.