5b5f4a6b0e41e2d84d6b688f3be94da82f03849c
1. calcSubtreeHeight: Math.max(CARD_H+GAP, totalChildrenHeight) → 首子与父平齐,父级高度取 max 而非无脑叠加 2. placeChildren: startY = parentNode.y (水平对齐) → 移除初始化 GAP,累加改为 startY += subtreeH 3. lines(): 动态追踪 Y 坐标 → y1 = isLeft? n.y+40 : parent.y+40 → y2 = isLeft? parent.y+40 : n.y+40 → lineStyle 的 Math.atan2 自动画出完美对角线
Description
IRIS生成管理APP
Languages
Python
36.2%
TypeScript
33.8%
Vue
27.5%
JavaScript
1.3%
CSS
0.3%
Other
0.9%