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

Undos do not trigger graph updates #109

Closed
tobi18991 opened this issue Mar 21, 2023 · 0 comments · Fixed by #114
Closed

Undos do not trigger graph updates #109

tobi18991 opened this issue Mar 21, 2023 · 0 comments · Fixed by #114
Assignees
Labels
bug Something isn't working

Comments

@tobi18991
Copy link
Member

Whenever an undo is triggered, e.g., undoing the accidential deletion of an edge, values are not recalculated. For instance, removing edges from security measures to attack steps does not trigger a recalculation of the aggregated values.

Before removing the edge:
Edge exists with correct values

After removing the edge:
Edge removed with correct (new) values

Undoing the edge removal:
Edge exists with incorret values

@tobi18991 tobi18991 added the bug Something isn't working label Mar 21, 2023
@tobi18991 tobi18991 self-assigned this Mar 21, 2023
tobi18991 added a commit that referenced this issue Mar 23, 2023
* Remove listeners for CELLS_ADDED and CELLS_REMOVED
* Use CHANGE event to react to cell removals and insertions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant