natefrisch01 / Graph-Link-Types

Link types for Obsidian graph view.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FR]: Augment default arrow indicator behavior to make relationships clearer

FeralFlora opened this issue · comments

I've ran into an issue, when trying to use the display of arrows to make the direction of relationships clear. However, in many cases, notes link both ways. For example, in one note, there may be a property called "origin" that links to a note which is the origin of this note (the note where the current note was created). And in the origin note, there may be a link to the first note that doesn't describe the relationship - just some paragraph that mentions the other note.

In the graph, the label will say origin, but the arrows will point both ways, which in some cases can make it hard to tell which note gave rise to which.

My proposal is to augment the arrow behavior in the cases where there are relationships with labels, so that the arrows only point away from the note that specifies the relationship. Take the example above, the arrow would only point from the note that has the origin property to the other note (the origin note). Even if the other note links back (without a relationship label), this arrowhead is not displayed.

I'm not sure if this is possible, or if my proposal is a viable solution for all situations - probably not.

@natefrisch01 Sorry for posting without the details, added them above after the fact. Let me know what you think!

This is a great idea, thanks for pointing it out! Have you looked at, issue #8? Let me know what you think of that solution for when there are bidirectional arrows.