Comments (6)
Currently there already is "Save Graph" button on top-left.
I see two options to add new buttons ( ie "Reset View", maybe others... )
A/ add buttons in row with "Save Graph"
B/ move them as buttons in a "toolbox"
- icons+tooltips
- top-right, vertical placement / other?
from rover.
Actually - having the "show relations" mode active by default and on mouse over is pretty annoying.
User intent should be to select a resource so that they see details, but currently the UI hides most of the diagram if i move the pointer - so i must refrain from moving.
Could we change to
- by default - panning mode
- "show relations" - activated by keypress (eg )
- OR - on click ? (but that currently also doing "show in details box")
from rover.
Hey @vgheo, your proposals seems good! I think having different modes (panning, selecting, zooming) as well as reseting the view will improve the usability.
I currently don't have the bandwidth to implement this right now, but if you open up a PR with this implementation, I'll be more than happy to review and merge it 😄
from rover.
@im2nguyen - I want to contribute this change - just want to make sure that you agree with the functionality
from rover.
PROPOSAL - v2
Panning mode
Mouse drag (with no key pressed) - panning
Highlight and select mode
( Currently this mode is active by default)
Hold Ctrl
- on mouse over - highlight relations
- on click - select element
Zoom by selection
- Ctrl+drag - define rectangle
- zoom to that rectangle on mouse-up
Reset view
Button: "Reset view"
- resets view to initial state - all fits
NOTE: New buttons - added in line with existing "Save Graph"
from rover.
rover is using vue-cytoscape integration for the graph rendering
Components API | vue-cytoscape
pan/zoom logic is likely to be configured on the component
https://github.com/im2nguyen/rover/blob/main/ui/src/components/Graph/Graph.vue#L399
from rover.
Related Issues (20)
- Dependencies in configuration blocks are not shown HOT 1
- SVG image is not at all visible HOT 2
- SIGSEGV in map.go line 250 HOT 2
- Dependencies GCP
- Windows support HOT 2
- Can we have a new release from main? HOT 2
- [Feature Request] pass a plan file instead of generating inside rover HOT 9
- Issues with terraform versioning when using rover
- Brew Terraform dependency
- Plan fails due to missing variable, even when passing variable with -tfVar HOT 1
- CI/CD Integration ideas
- terraform target option
- UI Improvements
- unable to connect to azure az cli HOT 2
- Was Rover Development Dropped? HOT 5
- Support OpenTofu HOT 2
- Terraform Version is out dated HOT 1
- 'invalid memory address or nil pointer dereference' against local plan
- Explain "Continuing without loading module from filesystem"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rover.