X6 icon indicating copy to clipboard operation
X6 copied to clipboard

父子节点在dom上为同级,是否可以有配置项使其在dom层级上形成嵌套

Open lhC0 opened this issue 3 years ago • 1 comments

问题描述

##问题 父子节点在dom上为同级,是否可以有配置项使其在dom层级上形成嵌套

目的

使用html2canvas 对某一个父节点及其所有子节点以及边 生成一个缩略图

重现链接

暂无

重现步骤

非bug

预期行为

使用html2canvas 对某一个父节点及其所有子节点以及边 生成一个缩略图

平台

  • 操作系统: [Windows]
  • 网页浏览器: [Google Chrome]
  • X6 版本: [1.34.0 ... ]
  • 框架: [ ant design pro]

屏幕截图或视频(可选)

image

补充说明(可选)

No response

lhC0 avatar Sep 15 '22 09:09 lhC0

👋 @lhC0

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 Sep 15 '22 09:09 x6-bot[bot]

svg 渲染顺序是根据 dom 的先后顺序的,所以 x6 中层级是根据 dom 先后顺序来的,而不是嵌套。

NewByVector avatar Jan 28 '23 08:01 NewByVector

如果不能按dom的方式形成嵌套,那么能否支持节点嵌套后锁定

zhukai9527 avatar Sep 27 '23 07:09 zhukai9527