Giter Club home page Giter Club logo

Comments (4)

blester125 avatar blester125 commented on May 18, 2024

It's not the best solution, but if you have org-roam-ui setup to follow you in emacs (with the following in your config)

(setq org-roam-ui-follow t)

The graph will zoom into the node you are looking at in emacs. Sometimes I've had to jump to a different note and back a few times, but this is how I have been finding nodes in the graph lol.

I do think something in the ui itself would be nice, I'd assume the type-ahead search wouldn't end up customizable as it is in emacs tho.

from org-roam-ui.

tefkah avatar tefkah commented on May 18, 2024

I opened this issue in the org-roam-server (org-roam/org-roam-server#114) about how to locate specific nodes in the graph.

One of the workarounds was to establish a fixed random seed in the graph to always see the very same graph every time we refresh the browser.

I don't know if any of those solutions is possible. I just put it here to start a discussion.

Best.

As @blester125 says, this is the best solution atm, but we plan to add something like a node search at some point. Otherwise, in my experience the graph layout is completely deterministic, and the nodes always fall in the same place given that no new nodes/links have been added. This is no great solution, and we plan to be able to "save" the graph layout after settling, so upon reload it does not explode but just shows you your previous graph. This would also allow us to make adding new nodes less dramatic on save (although that could probably be handled anyway with some rewriting)

from org-roam-ui.

maikol-solis avatar maikol-solis commented on May 18, 2024

Thank you @blester125 and @ThomasFKJorna for the reply.

Yes, I haven't considered that org-roam-ui-follow could serve as a locator in the graph while we jump across node in org-roam. I will exploit more this feature.

My only concern was if the graph was completely random at start (org-roam-server was it), but given the answer of Thomas, I think that it's enough to close the issue.

Thanks again.

from org-roam-ui.

Atreyagaurav avatar Atreyagaurav commented on May 18, 2024

I was thinking making a dropdown with all the nodes as options (alphabetically), So you can choose from there and it'll be previewed and highlighted instead of having to manually search things with your eyes or through a text search might be good enough. Would it be too hard to implement?

You can possibly just use the functionality of follow-emacs to just focus on the node selected in the dropdown, and then also keep that dropdown updated when you click on the nodes in the graph or in emacs.

from org-roam-ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.