Jsplumb remove nodes and connections

-sharp-sharp-sharp problem description
jsplumb remove node and connection, how can you delete the node and the line connected to the node, such as deleting the accompanying node how to delete the line that connects it to the beginning? I drew the line with makeSource.

the environmental background of the problems and what methods you have tried

use the remove method to pass in the node"s id, but only delete the node. The line cannot be deleted

I don"t know how to delete the node and the line connected to the node. (delete a piece)

Dec.23,2021

Nobody knows, solve


find the connection, first and then use deleteConnection to delete

Menu