Closed MVoloshin closed 2 years ago
@levnach please, take a look at this issue when you have time
Will try tomorrow.
I think I fixed it. I noticed that Form1.cs sometimes created new nodes with the existing ID. That was causing additional confusing behavior. I introduced method Form1.FindNewId() to avoid it.
Thank you very much!
Hello! Please, look att EdgeDirectionTest sample and replace MouseDown listener code as follows.
Then remove existing nodes from GViewer one by one using right mouse button (by clicking it on nodes). When there are no nodes left try to create a new node pressing the same right mouse button in free space. In such conditions a new node won't appear as ObjectUnderMouseCursor is IViewerNode for some reason (and it does not matter where you make a click).