graphlab-fr / cosma

Cosma is a document graph visualization tool. It modelizes interlinked Markdown files and renders them as an interactive network in a web interface.
https://cosma.arthurperret.fr
GNU General Public License v3.0
125 stars 4 forks source link

[Enhancement] Allow more zooming out #38

Closed IgnacioHeredia closed 11 months ago

IgnacioHeredia commented 1 year ago

Which part of Cosma is your request about?

Describe your request:

Hi,

just tested Cosma and I works like a charm. Successfully managed to use CSS customizations to adapt it to my taste.

The only thing I could not make work is the zooming out. My graph is big enough that, at the max zoom out, I am still not able to see it completely. So the result is cut out. It would be nice to be able to zoom out as to see the full graph. This would be especially handy to quickly find the node that is on focus.

Is there any parameter to tweak to allow more zooming out?

I attach a screenshot of the graph at max zoom out:

Screenshot from 2023-05-15 23-38-16

Thanks!

Ignacio

infologie commented 1 year ago

Thanks @IgnacioHeredia for the feedback. This is one of the core improvements we're hoping to make as part of the next update. The idea would be to free the graph from the constraints of screen size; the result will probably be the ability to zoom in and out much further. @Myllaume has started working on it a while ago, zooming has already been improved in 2.0 compared to previous versions. But it's not trivial. We'll report our progress here.

infologie commented 1 year ago

Hi @IgnacioHeredia. Version 2.1 has just been released and improves the graph view a bit. The graph is no longer cut off at the edges of the window, it is now displayed on an infinite canvas. Zooming and centering remain an issue, so I'm leaving this open for now. But we are making progress!

infologie commented 11 months ago

@IgnacioHeredia This has been addressed in v2.4. Navigation should be much smoother now!