Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎯 Add more configuration options to qan::Navigable #244

Open
3 tasks done
cneben opened this issue Aug 19, 2024 · 2 comments
Open
3 tasks done

🎯 Add more configuration options to qan::Navigable #244

cneben opened this issue Aug 19, 2024 · 2 comments
Assignees
Labels

Comments

@cneben
Copy link
Owner

cneben commented Aug 19, 2024

  • Add progressive zoom in/out.
  • Add support for [min, max] zoom.
  • Add a graph / graphView link.
  • Add graphBr concept to qan::GraphView with a valid initial size. graphBr should evolve with container item childrenRect !
  • Add scrollbars support.
@cneben cneben added the P1 label Aug 19, 2024
@cneben cneben self-assigned this Aug 19, 2024
cneben added a commit that referenced this issue Aug 19, 2024
cneben added a commit that referenced this issue Aug 19, 2024
Tentative toolbar implementation... WIP.

Signed-off-by: cneben <[email protected]>
cneben added a commit that referenced this issue Aug 20, 2024
Signed-off-by: cneben <[email protected]>
cneben added a commit that referenced this issue Aug 20, 2024
Signed-off-by: cneben <[email protected]>
cneben added a commit that referenced this issue Aug 20, 2024
cneben added a commit that referenced this issue Aug 21, 2024
cneben added a commit that referenced this issue Aug 21, 2024
…to set

initial "scrollable area" rect.
Still WIP but working nice.

Signed-off-by: cneben <[email protected]>
cneben added a commit that referenced this issue Aug 21, 2024
Signed-off-by: cneben <[email protected]>
@cneben cneben changed the title Add more configuration options to qan::Navigable 🎯 Add more configuration options to qan::Navigable Aug 21, 2024
cneben added a commit that referenced this issue Aug 21, 2024
Signed-off-by: cneben <[email protected]>
cneben added a commit that referenced this issue Aug 21, 2024
cneben added a commit that referenced this issue Aug 21, 2024
@cneben
Copy link
Owner Author

cneben commented Sep 2, 2024

@emmenlau Quick update on that one: the develop branch with scrollbar is in production on my closed-source project and works nicelly.

It does not fullfit all of you requiments for #232, but:

  • You can control the inital graph view size with qan::Navigable::viewRect
  • Reduce graph qan::Navigable::zoomMin to prevent the user to grow the graph out of control.

Unfortunately you still cannot prevent dragging outside of qan::Navigable::viewRect.

@emmenlau
Copy link
Contributor

emmenlau commented Sep 2, 2024

Thanks a lot @cneben , that sounds great! I'll test it right away!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants