graphviz-visual-editor icon indicating copy to clipboard operation
graphviz-visual-editor copied to clipboard

More intuitive connection mode

Open nick87720z opened this issue 2 years ago • 1 comments

Current way, starting connection with right click and ending with double click, is far from intuitive. For comparison:

  • draw.io simply places everything (nodes, connections) isolated, allowing to manually connect it, what is enough intuitive despite more cubersome.
  • Dotedit does connection through dialog, which is also cumbersom but hard to misunderstand.

What I could propose for this, with minimum workflow breakage, connection could be done by simple drag with same button as for node selection. Of course, if drag start events may be handled independently of simple clicks, as in some gui toolkits I know (not for web though). In this way simple click would still select objects.

Or second, seemingly easier for implementation - toolbutton, starting connection for selected object, to be ended with same default click (not double).

Btw, even before all this - having ending button with single click of starting button would be great step forward in UX.

nick87720z avatar Dec 04 '21 18:12 nick87720z

Thanks for the suggestions. I'm not totally happy with this part of the U/I myself, but it's not so easy to support all the interactions with the graph that you want to have an intuitive way. That said, I'll consider your proposals in a future major release.

Supporting drawing edges only by dragging is however not an option, since you must be able to pan and zoom in large graphs while trying to find the head node to attach the edge to after having attached the edge to the tail node.

magjac avatar Feb 04 '22 06:02 magjac