want to implement a topology diagram where children can be dynamically added or deleted at the topmost parent, and children can be dynamically switched.
found some plug-ins that can be generated quickly, but failed to add and remove such features dynamically.
do you have any good ideas and references for implementation?
the prototype is as follows: