microsoft / automatic-graph-layout

A set of tools for graph layout and viewing
Other
1.36k stars 308 forks source link

Handle cases when node is inserted/removed in "Edge Insertion" mode #322

Open MVoloshin opened 2 years ago

MVoloshin commented 2 years ago

For example, lets bind node insertion/deletion to right mouse click. Then we go into "Edge Insertion" mode and start dragging edge from some node (with left mouse click). If we hover mouse onto another node and remove that node with right mouse click (at the same time), dragging decorations will remain as shown on the picture. Безымянный1 Безымянный2

@levnach, is that a bug or expected behaviour?

levnach commented 2 years ago

I think it is a bug.