群组不支持框选/多选节点嵌入
- Dominant language
- TypeScript
- Stars
- 6.7k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug
当使用框选/多选功能时,选择多个节点
将选择的多个节点移动到群组中,群组节点只会将鼠标移动的节点嵌入群组节点内
其它被选中的节点未自动嵌入
### Your Example Website or App
https://codesandbox.io/s/vibrant-pare-yqc3if?file=/index.ts
### Steps to Reproduce the Bug or Issue
1. 将多个节点位置集中
2. 选中/框选多个节点
3. 移动框选中的子节点到群组节点内
### Expected behavior
群组节点支持批量嵌入功能
embedding中的findParent、validate支持批量节点的验证
### Screenshots or Videos

### Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 91.1]
### Additional context
_No response_
Contributor guide
Research direction
Reproduce the behavior in the linked CodeSandbox by selecting multiple nodes and moving them into a group. Start with the embedding findParent and validate paths mentioned in the issue; done means all selected nodes are validated and embedded, not only the node under the pointer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100