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

Function treeLayout

src/chart/tree/treeLayout.ts:39–43  ·  view source on GitHub ↗
(ecModel: GlobalModel, api: ExtensionAPI)

Source from the content-addressed store, hash-verified

37// NOTE: preserve it as a function rather than StageHandler as a test case of
38// `Scheduler['wrapStageHandler']` and `detectSeriseType`.
39export default function treeLayout(ecModel: GlobalModel, api: ExtensionAPI) {
40 ecModel.eachSeriesByType('tree', function (seriesModel: TreeSeriesModel) {
41 commonLayout(seriesModel, api);
42 });
43}
44
45function commonLayout(seriesModel: TreeSeriesModel, api: ExtensionAPI) {
46 const refContainer = createBoxLayoutReference(seriesModel, api).refContainer;

Callers

nothing calls this directly

Calls 2

commonLayoutFunction · 0.85
eachSeriesByTypeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…