Skip to content

Question/Enhancement - How do I prevent or short-circuit node and link Deletion #164

@schaveyt

Description

@schaveyt

Desired Behavior

Before the user deletes anything from the diagram, i must present a confirmation modal. If the user approved, one continues with deleting from the diagram as well as the application performing additional housekeeping. If the user cancels the deletion, the deletion should be aborted

Current Behavior

The user is able to press the delete key and diagram element is deleted. There is not way for me to intercept this and present the confirmation modal.

For now, I set the DiagramOptions.DeleteKey = "" to prevent diagram deletions entirely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions