tweag / nixpkgs-graph-explorer

Explore the nixpkgs dependency graph
MIT License
15 stars 0 forks source link

As a user, I am able to reset the graph when zooming out too much #24

Closed zz1874 closed 1 year ago

zz1874 commented 1 year ago

Is your feature request related to a problem? Please describe. If a user zooms out the graph too much, the nodes/edges cannot be found anymore.

Describe the solution you'd like Add a button to reset the graph.

Describe alternatives you've considered There aren't any alternatives that were considered.

Additional context There aren't any additional contexts.

GuillaumeDesforges commented 1 year ago

More than resetting the zoom, we could use more tooling on the zoom:

GuillaumeDesforges commented 1 year ago

Wheel sensitivity has been reduced a lot so zooming is smoother, the original issue does not really appear anymore.