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

[Bug] [ER图] er更新坐标后执行 graph.resetCell() 后并未更新位置 #3822

Closed
thl3538 opened this issue Jul 28, 2023 · 3 comments
Closed

Comments

@thl3538
Copy link

thl3538 commented Jul 28, 2023

Describe the bug

我在初始化的时候绘制了 ER 图,然后改变了数据,更新了数据中的postion坐标但是图表坐标位置并未更改

Your Example Website or App

e.g: https://codesandbox.io/s/serene-water-d8fj3y?file=/index.ts

Steps to Reproduce the Bug or Issue

  1. 在如上的 codesandbox 中 其实我们能看到页面闪了一下, 我使用定时器更改了图表位置然后重新执行 graph.resetCells(), 单图表坐标位置并未修改
    image

Expected behavior

  1. 希望更改坐标位置重新执行 graph.resetCells(), 图表更新到指定位置

Screenshots or Videos

No response

Platform

  • OS: [Windows]
  • Browser: [Chrome]
  • Version: [2.11.1]

Additional context

No response

@x6-bot
Copy link
Contributor

x6-bot bot commented Jul 28, 2023

👋 @thl3538

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

你的 cells 对象有问题呀,需要重置一下,你可以打印看下。

@x6-bot
Copy link
Contributor

x6-bot bot commented Sep 7, 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 7, 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

2 participants