-
-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MINOR] Make following in local mode zoom to node if it is in the local graph #76
Comments
There is a setting which almost does what you want, under "Behavior" > "Follow Emacs by..." and select "Opening the local graph". This will not zoom the visible node, but at least will stay in the local view. Alternatively, you can use The current "zoom" behavior came about because I couldn't decide how to reconcile both options without adding yet another (apparently not very easily discoverable) toggle: if you are in the local view, how should org-roam-ui zoom to nodes? Sometimes you want/some people want it to zoom to the node visible in the local graph (if it is), but I personally like the global zooming behavior more most of the time, and often want to escape from the local view. About adding the nodes you find to the graph, do you mean that you would like to add the node and its neighbors if they are connected, or also if they aren't? Also, given your second request (about tag filtering) you might be using an old version of orui, tag filtering has been implemented for a couple of weeks at least (check "Filter"). EDIT: Looking at your graph (you have the "background fades with highlighting" feature), you should already have tag filtering. I should probably add a changelog to org-roam-ui itself, it is kind of difficult to know when new things are added. |
By the way, do you think the wording for that option (Follow Emacs by...) is clear enough? Maybe you did already see it but did not know what it did (or maybe it doesn't work for you). I now see that it's a bit (read, very) janky as well, I'll try to improve it. |
A decent compromise. Thank you 😄.
At the moment clicking on it adds its neighbours, but what I meant is that focused-mode should be a little more overbearing. That is to say when I focus on a node, I don't want to be taken back to the full node at list until I make the active decision to. So if I configure it so that double clicking on a node focuses on it, and then I use emacs to goto a different node then I want that node to pop into view alongside the already focused nodes even if they aren't related. I think this'll make exploration much nicer, in so far as if there's a few related topics you want to focus on you can focus on those nodes all together even if they don't have links between them or a shared tag. But perhaps this is indicative of bad design and they should be tagged or linked. Tagging is a little too permissive in my experience because I tag liberally. Linking is better but sometimes there's no direct link to be made and even then having a large graph with everything linked together is harder to move around and navigate. In my case links show the connection between nodes but when a node has more than 3-5 links it becomes hard to make sense of the ties between them (at least to me). I'd also like to mention I think the current way of exiting focused view is a little too permissive. You just click on the canvas (not on a node) and you get taken out of focused view. I have a tendency to click on the background of things just to scroll or move and then not do that because I realise what I wanted to see was already in view or something like that. It might be nice to add a little X icon alongside the settings menu when focused that lets you exit focus.
Yes I discovered that after raising the issue (and looking through some of the other issues which're still open, where you mentioned it was being worked on). A ChangeLog would probably make that easier to find although I should've looked through the commit history to make sure. That's my bad, apologies.
I found it kind of janky, but I can't really think of an alternative that gets the point across. Maybe "Follow with emacs"? |
**Have you checked whether this feature is not already on the project board?
Yes
Is your feature request related to a problem? Please describe.
At the moment I'm loving the ability to focus in on nodes by clicking on them with the UI.
However one minor gripe I have is that whenever I follow a node in emacs I'm immediately taken out of this focused view back to a vastly more messy view, even when the node I followed in emacs was one I could already see in the focused org-roam-ui tab.
Describe the solution you'd like
I'd like it if the node I follow in emacs is visible in the focused view of the org-roam-ui tab then that node is expanded by org-roam-ui just like if I had clicked on it in the tab.
Tangentially, this would probably make this a Major feature instead of minor, I'd also like it if I follow a separate node to one that's currently visible that node and its neighbours are inserted into the focus view instead of me being taken back to the all-nodes view. This would make navigating very large knowledge bases much less taxing because at the moment every time I follow a new node I get a barrage of unrelated nodes also visible. Plus one feature I missed from the old org-roam-graph extension was that you could filter by tag which would both show you all nodes relevent to a specific topic and the relations between them. I'm aware that's being worked on but in the mean-time it would be nice to be able to just pick a handful of nodes and focus solely on them even when they aren't all related to each other.
Describe alternatives you've considered
Additional context
Add any other context or screenshots about the feature request here.
How the UI looks when focused on a specific node:
How it looks when I follow a related node in emacs.
The text was updated successfully, but these errors were encountered: