X6 icon indicating copy to clipboard operation
X6 copied to clipboard

功能: 节点容器的滚动

Open rabbitao opened this issue 1 year ago • 1 comments

功能描述

  1. 有一个容器node
  2. 容器node内有很多个子node
  3. 每一个子node都带有桩便于连线
  4. 当子node数量较多时, 会将父node撑满画布. 超出的部分必须缩放画布才可见. 此时子node会变的很小难以控制

期望解决方案

  1. 父node可以给一个固定宽高. 并在子node超出范围时出现滚动条
  2. 超出范围的子node连线可以隐藏, 也可以象征性从父node引出.

rabbitao avatar Aug 02 '24 03:08 rabbitao

👋 @rabbitao

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. To help make it easier for us to investigate your issue, please follow the contributing guidelines. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

x6-bot[bot] avatar Aug 02 '24 03:08 x6-bot[bot]

这种交互形式感觉会相对定制,特别是滚动形式的话不可见的节点的边如何显示,是一个值得考虑的事情,可能更好的还是从业务的交互上来入手,比如考虑节点的展开收缩之类的形式

q32757468 avatar Aug 19 '25 07:08 q32757468

后续还有问题欢迎再次打开该issue讨论

q32757468 avatar Aug 19 '25 07:08 q32757468