MCPcopy Create free account
hub / github.com/apache/echarts / graphCircularLayout

Function graphCircularLayout

src/chart/graph/circularLayout.ts:27–33  ·  view source on GitHub ↗
(ecModel: GlobalModel)

Source from the content-addressed store, hash-verified

25export const graphCircularLayoutStageHandler = createSimpleOverallStageHandler(SERIES_TYPE_GRAPH, graphCircularLayout);
26
27function graphCircularLayout(ecModel: GlobalModel) {
28 ecModel.eachSeriesByType('graph', function (seriesModel: GraphSeriesModel) {
29 if (seriesModel.get('layout') === 'circular') {
30 circularLayout(seriesModel, 'symbolSize');
31 }
32 });
33}

Callers

nothing calls this directly

Calls 3

circularLayoutFunction · 0.90
eachSeriesByTypeMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected