Skip to content

Conversation

moerketh
Copy link
Collaborator

Summary:
This change should fix the undo of edges in the model. Both when deleting a node with connected edges and a single edge.

Here is the undo behavior before this change (on the public website):

orig_small.mp4

Here is the undo behavior after this change (locally hosted):

fixed_small.mp4

Description for the changelog:
Register Edges in the x6 model instead of registering Edges as Nodes.

Other info:
Closes #428

Line 14 might need a similar change, but I am not familiar with the compatibility concerns.

@jgadsden jgadsden self-requested a review April 18, 2024 22:00
@jgadsden jgadsden added bug Something isn't working version-2.3 labels Apr 18, 2024
Copy link
Collaborator

@jgadsden jgadsden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

many thanks @moerketh , good to have such an elegant bug fix

@jgadsden jgadsden merged commit a51154e into OWASP:main Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working version-2.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Undo not fully functional
2 participants