Skip to content

feat: add zoom / reset view controls and ability to pan#30

Merged
dzole0311 merged 1 commit intomainfrom
feat-add-zoom-controls
Feb 3, 2026
Merged

feat: add zoom / reset view controls and ability to pan#30
dzole0311 merged 1 commit intomainfrom
feat-add-zoom-controls

Conversation

@dzole0311
Copy link
Contributor

While exploring the repos in the visualization graph, I noticed that some basic navigation controls would be helpful. This change adds a small set of view controls to make inspection easier:

  • Add zoom in / zoom out / reset view controls
  • Enable drag-to-pan interaction
controls-1280.mp4

@dzole0311 dzole0311 requested a review from gadomski as a code owner February 3, 2026 08:34
Copy link
Collaborator

@gadomski gadomski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Is there any way to get mouse scrolling to work too? I tried that out of instinct first...

@dzole0311
Copy link
Contributor Author

LGTM! Is there any way to get mouse scrolling to work too? I tried that out of instinct first...

@gadomski I tried it, but it was a bit annoying when I scroll down the page, the graph starts zooming as soon as I hit it. So I kept it to explicit controls.

@dzole0311 dzole0311 merged commit dbb86d3 into main Feb 3, 2026
1 check passed
@dzole0311 dzole0311 deleted the feat-add-zoom-controls branch February 3, 2026 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants