microsoft / automatic-graph-layout

A set of tools for graph layout and viewing
Other
1.34k stars 301 forks source link

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

Open MVoloshin opened 1 year ago

MVoloshin commented 1 year 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 1 year ago

I think it is a bug.