Selected note shown highlighted on the Local Graph

Use case:

I select a densely-connected note with the Local Graph open on screen.

  • With Depth 1, I can see all nodes directly connected with it.
  • With Depth 2, the graph can become so dense that I no longer know which is my current note on the graph, and I need to hover over the graph to find it.
  • With Depth 3 or more, the task becomes even more difficult.

Here’s an example (with Depth 2):

2020-12-07 21_30_36-Obsidian v0.9.17 - Main

Ideally, you should be able to know which is your selected note just by looking at the graph.


Proposed solution 1:

When the graph Depth is greater than 1, the current note and its direct connections could be highlighted by default, as if you’re hovering the mouse over it (but without actually hovering over it).

Something like this (without the cursor):

2020-12-07 21_31_00-Obsidian v0.9.17 - Main


Proposed solution 2:

The selected note could simply be a different color on the graph.

Something like this:

2020-12-07 21_30_36-Obsidian v0.9.17 - Main


The first one looks better (I think).
The second one is simpler.

24 Likes

would like this feature too

1 Like

This is something I’d really like to see too.

I think the easiest way would be to add a css class to the current node so that this can be styled differently based on the theme (or using CSS snippets).

Personally I would change the color of both the current node, and the title of the current node.

3 Likes

I agree, this feature would be very useful.

This feature would be very useful to review notes

@danitrusca I had a similar feature request at Give the center node of the local graph a distinct color - #3 by JonathanBuchh

In my post, I proposed to give the center node a different color by enhancing the Group filter. I think this proposal can be a good supplement for the 2nd solution you proposed.

I think we are asking for the same feature, may be the two feature requests can be merged into one, so that the attention can be focused and this feature may have a greater chance to be implemented.

What do you say?

I don’t mind.

Please implement this!

I’d really appreciate a plugin that does that, maybe blurring or coloring the highlighted note

One workaround I found useful is increasing all the forces to 100%, it’s pretty clear what you have selected, although not perfect

1 Like

Use case or problem

A practical issue is that with a local graph looks like the following, it is almost not able to figure out where is the center node without scarifying the valid group filters, as mentioned in: Is it possible to give the center node in the local graph a different color?.

I made a test using the Group filter (which does not work):

In the figure above, I’d like to put all of the nodes with the name starting with “test” into a group and give them a red color. However, as you can see, the center node of this local graph, i.e. the node of “test node” is not affected by the Group Filter.

Proposed solution

IMHO, if the center node is neither affected by the filer and nor the group filter, this center node is different from the other nodes. In other words, this center node is actually in a group which contains only the center node. So why not give this group a distinct color, different from the default node color? It can be enabled by a setting or be enabled by using CSS snippet.

Current workaround (optional)

There is currently no workaround, or it will be captured in Is it possible to give the center node in the local graph a different color?

Related feature requests (optional)

FYI:
There is also a bug report related to this topic: Graph filters don't apply to current note in local graph - #7 by JonathanBuchh

It was moved to bug grave yard. However, I didn’t see any clue why that post is moved to bug graveyard.
Anyway, if the moderator think this issue is a new feature deserving a feature request, here it comes.

5 Likes

+1 I would love this feature as well!

Just found a feature request that is the same:

Thank you for the information.

I’ve send the PO a message asking for merging the two feature requests.

There could be a special option for targeting the central node in the Groups query fields:

  • tag:#aaa - colors all notes with the aaa tag
  • central-node - colors the central node
2 Likes

It might be worth merging and raising visibility with this issue, too: Global graph view: open with currently active note highlighted Yes, It states the “global” graph, but at the time of the request, the local graph didn’t exist.

Ultimately, it sounds like we all want the same thing: visibility of the active note in the graph view. A lot of the suggestions here would address all 3 requests. I love the idea of having a group query for the active note, but would settle for a CSS override if that were easier for devs to implement.

Recently, I’ve been thinking of this request with a geographic metaphor: think of each note as an address, the local graph is like a map of the city, and the global graph, well, a globe. It would be very useful to have that address marked on the local map and the globe. Who doesn’t love a “you are here” marker to orient themselves?

Compared to when the linked request was first made, there’s a number of features that make this request seem very close. :crossed_fingers: Hopefully, these requests together can get more visibility and make it happen.

2 Likes

This is also the function I want

I would love to use this too! :+1:

will be implemented in 0.12.12

1 Like

That’s beautiful news!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.