grafana-diagram icon indicating copy to clipboard operation
grafana-diagram copied to clipboard

Add ability to zoom (or support horizontal scrolling)

Open jvanhoose opened this issue 5 years ago • 5 comments

I have a fairly complex diagram - and, when it gets large, it becomes very difficult to get it all visible without being able to scroll left and right (everything ends up too small).

Optimally, would love an ability to zoom things - without that, would love the ability to scroll horizontally as well as vertically.

jvanhoose avatar Oct 09 '19 18:10 jvanhoose

I would support that, in fact I believe it is inevitable as a necessity. One uses Mermaid for Diagrams which are unknown upfront, otherwise one would use a jpeg-file. The space on a screen is always limited, so to use that space zooming and panning is more than a 'nice to have', since it comes with the nature of the diagram, unsure in size and shape. D3 has capabilities which could be used for that.

pierreverbakel avatar Oct 15 '19 23:10 pierreverbakel

Any plans for zoom or hroizontal scrolling? I also have a fairly complex diagram and it gets large.

I've tried 'graph TB' and it zooms out horizontally but can not zoom in which leads to too small to see.

pirDOL avatar Jun 10 '20 03:06 pirDOL

Added to feature poll. https://www.patreon.com/posts/41889210

jdbranham avatar Sep 22 '20 07:09 jdbranham

This would be really useful for us too! We have quite a big architecture diagram and the text gets really small. You can't zoom by increasing your browser scaling either. (CTRL & +).

OscarVanL avatar Sep 08 '22 16:09 OscarVanL