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 scrolling up and down #7

Open
kelemeno opened this issue Mar 23, 2023 · 1 comment
Open

Add scrolling up and down #7

kelemeno opened this issue Mar 23, 2023 · 1 comment

Comments

@kelemeno
Copy link
Owner

When the graph grows too large, we will not be able to display all of it. Especially on phones. The easiest solution is to only display part of the graph and to add scrolling up and down the graph. This would happen with buttons.

Scrolling up can only go one way, for downward we pick a direction.

We could also add the clickedNode functionality to this, the clickedNode could never be at the edge of the displayed graph (except when it is on the edge of the whole graph).

We have to check what size can we display at most. This could be different for different screens.

@kelemeno
Copy link
Owner Author

We could also change the visualization details on different screens. E.g. nodeRadiu=small in DrawGraph for phones.

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

No branches or pull requests

1 participant