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

history插件使用undo撤销连线的bug #3877

Closed
zzjjbbaa opened this issue Aug 30, 2023 · 3 comments
Closed

history插件使用undo撤销连线的bug #3877

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

Comments

@zzjjbbaa
Copy link

Describe the bug

image
上面的函数是绑定到grpah.on('edge:removed')回调中的;

  1. 通过graph.removeEdge操作,可以在回调中捕获edge的target;
  2. 通过graph.undo撤销edge,不能在回调中捕获edge的target,如上图所示;

Your Example Website or App

Steps to Reproduce the Bug or Issue

很容易理解,不赘述

Expected behavior

undo 连线,也能捕获移除的edge的target

Screenshots or Videos

Platform

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

Additional context

@NewByVector
Copy link
Contributor

我本地试了一下是可以获取到的,请提供一个可以复现的 demo。

@NewByVector NewByVector added the resolution: needs demos 需要复现 Issues that need minimal demos to reproduce any problems label Oct 5, 2023
@NewByVector
Copy link
Contributor

因为无法复现你的问题,暂时关闭。

@x6-bot
Copy link
Contributor

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