You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
问题描述
从Stencil侧边栏拖拽三个不同的节点(A、B、C)并按从左到右放置到画布中,调用graph.addEdge方法从左到右添加edge。调用撤销方法到画布只剩下A节点时再调用重做方法,只能恢复B节点,C节点不能恢复。此时graph.canRedo()为false,graph.getRedoStackSize()返回值为0
重现链接
.
重现步骤
从Stencil侧边栏拖拽三个不同的节点(A、B、C)并按从左到右放置到画布中,调用graph.addEdge方法从左到右添加edge。调用撤销方法到画布只剩下A节点时再调用重做方法,只能恢复B节点,C节点不能恢复。此时graph.canRedo()为false,graph.getRedoStackSize()返回值为0
预期行为
重做时能恢复三个节点到画布里
平台
操作系统: [macOS, Windows, Linux]
网页浏览器: [Google Chrome, Safari, Firefox ...]
X6 版本: 2.15.2
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: