Possibility to create "repelling link"?

Use case

I have a vault that aims at networking/managing. I have set several note types: person, team, meeting and theme, among others, and with rigorous properties involving internal links, the current Obsidian provides me with a wonderful graph view, with one color per type and grouping naturally the person working on the same theme, having already met, etc…
The thing is, I’d like to record information about people not liking each other/that should not work together/that had an argument one day, stuffs like that. Currently I have two options for this:

  1. I write a sentence in person A’s note with a link to person B, explaining the problem. But in the graph, they would appear closer to each other.
  2. I write this sentence without a link, and the graph would not account for this disagreement.

I think it would be amazing to maintain a link, but signifying that it aims at repelling the two notes rather than actually linking them.

Proposed solution

Concept

I believe this should not be so difficult to implement, because I think the existence of the “repel force” setting in the graph view should rely on some implicit “repelling” relations, deduced from the existing/non-existing links between notes. Here, the feature would imply having the possibility to set up explicit repelling relations with some kind of syntax.

Syntax

I think a smart syntax could work with a prefix to the link syntax [[note]]. I think it would have been relevant to use ![[note]] but it’s already used for previewing… So i don’t know (I might also be unaware of other features using this syntax…) maybe ~[[note]], or %[[note]].

Rendering

I don’t have any idea of how the link should look like in the editing/reading view. The light accent color is already used for missing links… A natural option would be to have another color set for it, but this would involve setting up a second accent color?
The other way would be to keep the same color, but add a symbol, similarly as we add a symbol when an external link is written. The chosen symbol could be a asterisk or something.

Related feature requests

Add link weights between linked notes graph view

I have suggested a syntax for graph link types:

I your case that could be:

-{Attraction: -50}->[[Person B]]
1 Like

Thanks for sharing this plugin, I did not know about it!

Is the feature you’re talking about officially released though? I can only add a word over the link using this syntax related:: [[person B]] with the Graph Link Types plugin.

Anyways I’d be interested in a more “handy” way of doing the repelling feature I’m talking about, i.e., not using metadata. So I’ll let the topic open, in case someone comes up with something else.

You’re welcome.
Unfortunately this feature does not exist yet.

1 Like