Hi all, I am creating mind map module in ionic 2. I have attached the image(
) for mindmap structure. The big box denotes the parent and smaller one denotes the child. Each parent can have four child. When you edit child, if it contains any grandchild. It should delete. I am finding it difficult to implement. Is there any specific algorithm needs to be implemented?