You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove the connector instance within the .cons param of the source connector node
This works to visibly remove the connector, however when I add a new connector between the same nodes, the new line generated is curved (it assumes the previous connector still exists).
I end up with something like this when I add and remove connectors between two nodes multiple times (when it should be a straight line since only one connection exists):
Is there anything else I should be updating to completely remove the connection between nodes?
The text was updated successfully, but these errors were encountered:
Is there a straightforward way to remove a connection between 2 nodes?
What I'm doing right now is to:
connectorObj.line.remove()
connectorObj.marker.remove()
.cons
param of the source connector nodeThis works to visibly remove the connector, however when I add a new connector between the same nodes, the new line generated is curved (it assumes the previous connector still exists).
I end up with something like this when I add and remove connectors between two nodes multiple times (when it should be a straight line since only one connection exists):
Is there anything else I should be updating to completely remove the connection between nodes?
The text was updated successfully, but these errors were encountered: