magjac/graphviz-visual-editor

How to scroll x/y with the touchpad?

sneko opened this issue · 3 comments

Hi @magjac ,

Thank you for your great viewer. Just a question, I have graph that is really wide, but I didn't find the way to browse it with my touchpad. I also tried with the key arrows but nothing. Did I miss something, is it possible (combination of keys while scrolling or so)?

The only way for me is to zoom out with the mouse wheel, focus on the right/left and zoom in. But it's really hard when having a graph of 30k nodes mainly horizontal.

Thank you,

Thank you for your kind words.

Under the help ('?') icon on the top right you have a menu alternative that shows you all "Mouse operations". You are probably looking for:

Mouse wheel Zoom in or out.
Double-click the canvas Zoom in.
Ctrl-drag the canvas Pan the graph.

Let me know if this for some reason doesn't work using your touchpad.

Oh ok, didn't think about looking there.

  1. So ok I can move a few by a few by using Ctrl+DragMouse (not the best UX due to movements)
  2. On the other side the touchpad is not working (it would be easier to move quickly), I'm on Google Chrome on a Macbook
  3. Having a scrollbar X/Y would allow people to move where they want with the mouse

No rush on this, in the meantime I just converted my .dot to .svg, and by opening it into Google Chrome I'm able to search, zoom in/out, and scroll. So it's fine for me.