susiwen8 opened a new pull request, #21603:
URL: https://github.com/apache/echarts/pull/21603

   ## Summary
   
   - Add `orient: 'center'` for orthogonal tree series so one real root can 
stay centered while root children expand to both sides.
   - Allow root children to opt into `side: 'left' | 'right'`; when omitted, 
root children are split automatically by order.
   - Update curve/polyline edge rendering and default label placement for 
centered trees.
   - Add unit coverage and expand `test/tree-center.html` with explicit-side 
and single-root automatic-side visual cases.
   
   ## Validation
   
   - `npx jest --config test/ut/jest.config.cjs --coverage=false 
test/ut/spec/series/tree.test.ts --runInBand`
   - `npx eslint src/chart/tree/TreeSeries.ts src/chart/tree/treeLayout.ts 
src/chart/tree/TreeView.ts test/ut/spec/series/tree.test.ts`
   - `npx tsc --noEmit`
   - `git diff --check -- test/tree-center.html`
   - Chrome headless screenshot: `.codex-artifacts/tree-center-single-root.png`
   
   ## Notes
   
   - Did not run the full visual regression suite.
   - Local unrelated changes in `.gitignore` and `.codex-artifacts/` were left 
out of this PR.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to