Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
lhC0 opened this issue Sep 15, 2022 · 4 comments

Comments

@lhC0
Copy link

lhC0 commented Sep 15, 2022

问题描述

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

目的

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

重现链接

暂无

重现步骤

非bug

预期行为

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

平台

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

屏幕截图或视频(可选)

image

补充说明(可选)

No response

@x6-bot
Copy link
Contributor

x6-bot bot commented Sep 15, 2022

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

@NewByVector
Copy link
Contributor

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

@zhukai1991
Copy link

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

@x6-bot
Copy link
Contributor

x6-bot bot commented Sep 27, 2024

This thread has been automatically locked because it has not had recent activity.

Please open a new issue for related bugs and link to relevant comments in this thread.

@x6-bot x6-bot bot locked as resolved and limited conversation to collaborators Sep 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants