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

"semantic zoom" #103

Open
gordonwoodhull opened this issue Jan 2, 2019 · 0 comments
Open

"semantic zoom" #103

gordonwoodhull opened this issue Jan 2, 2019 · 0 comments

Comments

@gordonwoodhull
Copy link
Contributor

gordonwoodhull commented Jan 2, 2019

This term is somewhat overloaded but I'm using it in the way it is sometimes applied to maps, where text and markers stay the same size but the geography grows and shrinks. (Roads also scale at a different rate from the zoom.)

In other words, the ability to zoom the layout while keeping the nodes the same size, providing more space or less space for edges.

It would be too slow to tell the layout about this and we also don't want the layout to change in reaction. So it means the layout would be sort of disconnected from the scale.

Conceivably there could be two (or more?) stages:

  1. zoomed "out" far enough that node sizes matter. layout algorithm has to get involved
  2. zoomed "in" far enough that layout algorithm can consider nodes as points

I have only started to think this through. The idea seems fairly intuitive and the implementation of stage 2 would be pretty easy. It's stage 1 that causes a lot of trouble (and too much lag for interactive zooming).

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