addVertex method
dynamic
addVertex(
- dynamic vdata
Add a vertex to the graph.
添加一个点到图中
Implementation
addVertex(vdata) {
Vertex v = convertor.addVertex(vdata, graph);
_addVertex(v);
}
Add a vertex to the graph.
添加一个点到图中
addVertex(vdata) {
Vertex v = convertor.addVertex(vdata, graph);
_addVertex(v);
}