Tom wants us to give the following three choices to the users before deleting any node with specializations:
Delete each specialization and all its descendants at once.
Link each of them to other generalizations.
A combination of these three choices
If the user clicks the button to delete a node, please open a modal with all its specializations listed. For each specialization, please give them two choices:
Delete the specialization and all its descendants at once. Please ask them again whether they really want to delete the specialization and all its descendants at once.
Link the specialization to other generalizations. For this, please show them the same modal that they see to link to other existing generalizations.
Until the user decides on what to do with all its specializations, the node should not get removed.
Tom wants us to give the following three choices to the users before deleting any node with specializations:
If the user clicks the button to delete a node, please open a modal with all its specializations listed. For each specialization, please give them two choices:
Until the user decides on what to do with all its specializations, the node should not get removed.