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.

Home Page:https://cosma.arthurperret.fr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Enhancement] Center graph on node after search

IgnacioHeredia opened this issue · comments

Which part of Cosma is your request about?

  • GUI version (Electron-based app)
  • CLI version (command-line tool)
  • cosmograph (records & cosmoscope creation)
  • cosmoscope (exported graph & records)
  • documentation
  • other

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

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.

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