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] Center graph on node after search #39

Closed IgnacioHeredia closed 11 months ago

IgnacioHeredia commented 1 year ago

Which part of Cosma is your request about?

Describe your request:

Hi,

just another possible improvement for the future.

After doing a search in the Search tab, when you select the record, the graph is not updated. I still lies in the same position. It would be nice to center the graph on the selected record.

As you can see the focused record is not show in the screen:

Screenshot from 2023-05-16 00-00-24

Thanks!

Ignacio

infologie commented 1 year ago

Thanks @IgnacioHeredia for the feedback. This is one of our goals for the next update (two issues, two things that are on the top of our roadmap: you're psychic!). We're supposed to have a feature to center+zoom on a node when pressing C. I think it broke when we made changes to the graph (see #38). The idea is to have it work again and have the same effect automatically on some actions, including selecting a node from a search result. We'll keep you posted here.

infologie commented 11 months ago

@IgnacioHeredia We've made this enhancement in v2.4. Happy testing!