mergeGraph method

void mergeGraph(
  1. dynamic graphData, {
  2. bool manual = true,
})

Merge the graph data.

合并图数据

Implementation

void mergeGraph(graphData, {bool manual = true}) {
  if (manual) algorithm.beforeMerge(graphData);
  var newGraph = convertor.convertGraph(graphData, graph: graph);
  newGraph.vertexes.forEach(_addVertex);
  newGraph.edges.forEach(_addEdge);
}