addEdge method

dynamic addEdge(
  1. dynamic edata
)

Add an edge to the graph.

添加一条边到图中

Implementation

addEdge(edata) {
  Edge e = convertor.addEdge(edata, graph);
  _addEdge(e);
}