MCPcopy
hub / github.com/apache/echarts / updateLayout

Method updateLayout

src/chart/graph/GraphView.ts:311–320  ·  view source on GitHub ↗
(seriesModel: GraphSeriesModel)

Source from the content-addressed store, hash-verified

309 }
310
311 updateLayout(seriesModel: GraphSeriesModel) {
312 if (!this._active) {
313 return;
314 }
315
316 adjustEdge(seriesModel.getGraph(), getNodeGlobalScale(seriesModel));
317
318 this._symbolDraw.updateLayout();
319 this._lineDraw.updateLayout();
320 }
321
322 remove() {
323 this._active = false;

Callers 1

renderMethod · 0.95

Calls 4

getNodeGlobalScaleFunction · 0.90
adjustEdgeFunction · 0.85
updateLayoutMethod · 0.65
getGraphMethod · 0.45

Tested by

no test coverage detected