structurizr / ui

UI code for Structurizr Lite, on-premises, and cloud service.
https://docs.structurizr.com/ui
MIT License
38 stars 22 forks source link

Graph view has no navigation controls #44

Closed ODiogoSilva closed 7 months ago

ODiogoSilva commented 7 months ago

Description

When visualising diagram in the acyclic dependency graph, there are no controls in the UI to do things like panning the canvas, zooming in/out, search etc. Mouse/keyboard inputs also don't work to this effect, except when clicking on a node, which highlights the relationships and is quite nice.

This makes it impossible to properly visualise even small diagram (see figure above with only 4 components)

Steps to reproduce

The issue is prevent on the Demo graph in Structurizr page

  1. Go to https://structurizr.com/dsl
  2. Click on the "Structuriz Graph" option on the top right
  3. Observe that there are no controls to navigate the canvas

Screenshot

image

Code sample

No response

Configuration

No response

Severity

Major

Priority

I have no budget and there's no rush, please fix this for free

More information

No response

simonbrowndotje commented 7 months ago

The graph view doesn't work well on the demo page given the small size, but it should work okay outside of this (i.e. Lite, on-premises, cloud). And it also doesn't work well when you have elements that are disconnected from the main graph (I can see this in your screenshot). You can press Space to open the quick find dialog, which can help highlight an element though.

ODiogoSilva commented 7 months ago

Thank you for the quick reply.

The Space tip is great and mitigates some of the navigation issues. I'm currently trying this on Lite, but is it expected behaviour that there is no way to zoom in/out or pan through the canvas or am I missing some other controls?

simonbrowndotje commented 7 months ago

There is no zoom/pan functionality at this time.

ODiogoSilva commented 7 months ago

Thanks for the information. Closing as this is expected behaviour.