[openstreetmap/openstreetmap-website] Better database discovery (PR #5308)
Nenad Vujicic
notifications at github.com
Tue Nov 19 16:54:25 UTC 2024
> 1. I'm using [Cytoscape.js](https://js.cytoscape.org) for the [auto-layouts](https://github.com/azimuttapp/azimutt/blob/main/frontend/ts-src/index.ts#L500), I don't know why some nodes still overlap sometimes, still investigating. But I'm not sure I can do much better and used algorithm are way more advanced than anything I can do myself ^^ On the bottom right, you can choose several kind of arrangements (cube icon), have you tried the Breadth one?
Yes, "breadth-based approach" looks better but it seems it doesn't implement another pass for eliminating overlapping. Perhaps adding new pass which will do "something like sphere packaging" could eliminate overlapping? I used 15y ago variation of something [similar](https://graphics.stanford.edu/papers/munzner_thesis/all.print.pdf) (but much harder to understand / implement) which worked perfectly on much harder data. Perhaps this can give you some ideas.
> 2. the scroll interaction (vertical/horizontal) is mapped to moving in the view, for zooming you can use the ctrl+scroll one. There is many different expectations between PC/Mac users and also given the app people are used to, it's hard to the the perfect intuitive experience for everyone. Any specific shortcut you would like to have?
Yes, sorry, Ctrl+Scroll & pinching on touchscreen work great, but pinching on laptop's mousepad is very slow. Also, it would be great if you could merge `Drag tool` and `Select tool` by doing selecting when user clicks on one of tables and panning when user clicks on edge or background (multi-select can be done by e.g. Ctrl + select ROI).
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5308#issuecomment-2486249384
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5308/c2486249384 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241119/d0851dc4/attachment.htm>
More information about the rails-dev
mailing list