antvis / X6

🚀 JavaScript diagramming library that uses SVG and HTML for rendering.

Home Page:https://x6.antv.antgroup.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

功能: 节点容器的滚动

rabbitao opened this issue · comments

功能描述

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

期望解决方案

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

👋 @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.