MetaCell / MetaCell/PsyNeuLinkViewSource
update model positioning on offsetUpdated and zoomUpdated
未关闭
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 1
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
the positioning and child-parent mechanism relies on position, bounding box and cursor but these data (except the last) all changes when the above actions are triggered, on panning and zooming (in/out).
When that happens all the nodes positioning and dimension need to be re-calculated.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先定位 offsetUpdated 和 zoomUpdated 处理程序,并跟踪它们所影响的定位、边界框以及子节点-父节点逻辑。确认当前如何计算节点的位置和尺寸;当平移和缩放能够可靠地触发所有节点的重新计算时,工作即告完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100