@@ -37,7 +37,7 @@ export class SelectChangeEngine {
3737 return ;
3838 }
3939
40- // Section 进入逻辑:选中 Section 框时 ,按「下」键进入内部最靠上的子实体
40+ // Section 进入逻辑:选中 分组框时 ,按「下」键进入内部最靠上的子实体
4141 if ( selectedNode instanceof Section ) {
4242 const visibleChildren = selectedNode . children . filter (
4343 ( child ) => ! child . isHiddenBySectionCollapse && child instanceof ConnectableEntity ,
@@ -86,10 +86,10 @@ export class SelectChangeEngine {
8686 *
8787 * 层级规则:
8888 * - 在 Section 内部 → 候选集为父 Section 的直接子节点(不含自身)
89- * - 在顶层(无父 Section)→ 候选集为无父 Section 的顶层节点(含 Section 框本体 ,但不含其内部子节点)
89+ * - 在顶层(无父 Section)→ 候选集为无父 Section 的顶层节点(含 分组框本体 ,但不含其内部子节点)
9090 *
9191 * 跳出规则(Section 内同层无候选时):
92- * - 上/左/右 → 选中父 Section 框本体
92+ * - 上/左/右 → 选中父 分组框本体
9393 * - 下 → 以父 Section 为基准在父层继续向下导航,避免落回 Section 本体后死循环
9494 */
9595 private navigateInDirection ( selectedNode : ConnectableEntity , direction : Direction ) : ConnectableEntity | null {
@@ -115,7 +115,7 @@ export class SelectChangeEngine {
115115 return null ;
116116 }
117117
118- // 上/左/右 跳出:选中父 Section 框本体
118+ // 上/左/右 跳出:选中父 分组框本体
119119 if ( direction !== Direction . Down ) {
120120 return parentSection ;
121121 }
@@ -161,7 +161,7 @@ export class SelectChangeEngine {
161161 }
162162
163163 /**
164- * 获取顶层候选集:无父 Section 的节点(Section 框本体算顶层 ,其内部子节点不算),排除指定节点自身。
164+ * 获取顶层候选集:无父 Section 的节点(分组框本体算顶层 ,其内部子节点不算),排除指定节点自身。
165165 */
166166 private getTopLevelCandidates ( excludeNode : ConnectableEntity ) : ConnectableEntity [ ] {
167167 return this . project . stageManager
0 commit comments