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

minimap开启状态下,节点展开页面卡死。 #3462

Closed
salJoshua opened this issue Apr 3, 2023 · 5 comments
Closed

minimap开启状态下,节点展开页面卡死。 #3462

salJoshua opened this issue Apr 3, 2023 · 5 comments
Labels
resolution: needs demos 需要复现 Issues that need minimal demos to reproduce any problems

Comments

@salJoshua
Copy link

Describe the bug

minimap设置为true的情况下,节点展开:node.toggleVisible(false);会导致页面卡死;minimap的graph和主graph在这个情况下没做区分。

Your Example Website or App

sjoshua@yeah.net

Steps to Reproduce the Bug or Issue

1.minimap设置为true
2.调用node.toggleVisible展开节点

Expected behavior

是否有minimap不应该对主graph造成影响

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Additional context

No response

@x6-bot
Copy link
Contributor

x6-bot bot commented Apr 3, 2023

👋 @salJoshua

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

NewByVector commented Apr 3, 2023

首先感谢你的提问,我想了解更多的信息,比如:

  1. X6 的版本
  2. minimap 的配置
  3. 可以复现的 demo

@NewByVector NewByVector added the resolution: needs demos 需要复现 Issues that need minimal demos to reproduce any problems label Apr 3, 2023
@salJoshua
Copy link
Author

前几天在官网的demo里就可以复现,代码:minimap: { enabled:true }, 用的展开/折叠树那个例子;不过现在用这个例子复现不出来了,启动minimap后,graph.model.liseners监听器l列表看起来变正常了,由于官网调试看不到版本信息,不清楚是是不是在新版本里面修好了;我本地1.x的版本一直可以复现的。

@NewByVector
Copy link
Contributor

如果是 1.x 版本,建议将 minimap 的 graphOptions.async 设置为 true。

@x6-bot
Copy link
Contributor

x6-bot bot commented Jul 6, 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 Jul 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
resolution: needs demos 需要复现 Issues that need minimal demos to reproduce any problems
Projects
None yet
Development

No branches or pull requests

2 participants