package view; import org.apache.commons.collections15.Transformer; public class VertexLabelTransformer implements Transformer{ public String transform(V vertex) { return (String) vertex.toString(); } }