@en: the text getter of vertex.
@zh: 顶点文字获取器
String Function(Edge) edgeTextGetter = (Edge edge) => '${edge.ranking}';