textGetter property

String Function(Vertex) textGetter
getter/setter pair

@en: the text getter of vertex.

@zh: 顶点文字获取器

Implementation

String Function(Vertex) textGetter = (Vertex vertex) => '${vertex.id}';