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