MCPcopy Index your code
hub / github.com/apache/echarts / layOutBodyCornerCellMerge

Function layOutBodyCornerCellMerge

src/coord/matrix/Matrix.ts:423–433  ·  view source on GitHub ↗
(bodyOrCorner: MatrixBodyCorner<MatrixBodyOrCornerKind>, dims: MatrixDimPair)

Source from the content-addressed store, hash-verified

421}
422
423function layOutBodyCornerCellMerge(bodyOrCorner: MatrixBodyCorner<MatrixBodyOrCornerKind>, dims: MatrixDimPair) {
424 bodyOrCorner.travelExistingCells(cell => {
425 const computedSpan = cell.span;
426 if (computedSpan) {
427 const layoutRect = cell.spanRect;
428 const id = cell.id;
429 layOutRectOneDimBasedOnUnit(layoutRect, 0, id, computedSpan, dims);
430 layOutRectOneDimBasedOnUnit(layoutRect, 1, id, computedSpan, dims);
431 }
432 });
433}
434
435// Save to rect for rendering.
436function layOutRectOneDimBasedOnUnit(

Callers 1

_resizeMethod · 0.85

Calls 2

travelExistingCellsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…