群组里面子节点怎么自动布局?怎么让父节点自己调节大小适应子节点?
- Dominant language
- TypeScript
- Stars
- 6.7k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the feature you'd like to request
比如进入页面时候,从后台请求到图相关数据。父子坐标位置都需要前端来计算,如何让父节点里面的多个子节点按照一定的布局来有序排列?并且如何让父节点自动根据子节点的数量位置来调整自身的大小和坐标呢?这种能不能实现?
### Describe the solution you'd like
比如进入页面时候,从后台请求到图相关数据。父子坐标位置都需要前端来计算,如何让父节点里面的多个子节点按照一定的布局来有序排列?并且如何让父节点自动根据子节点的数量位置来调整自身的大小和坐标呢?这种能不能实现?
### Describe alternatives you've considered
比如进入页面时候,从后台请求到图相关数据。父子坐标位置都需要前端来计算,如何让父节点里面的多个子节点按照一定的布局来有序排列?并且如何让父节点自动根据子节点的数量位置来调整自身的大小和坐标呢?这种能不能实现?
### Your Example Website or App
_No response_
### Screenshots or Videos
_No response_
Contributor guide
Research direction
No files, tests, or entry points are named. First identify the existing group and child-node layout and sizing entry points, then define a reproducible example for arranging children and resizing or repositioning the parent; done means the requested behavior is demonstrated and verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100