natefrisch01 / Graph-Link-Types

Link types for Obsidian graph view.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plain text metadata breaks links

Stabington opened this issue · comments

I noticed some notes did not show relations in the graph view, and narrowed it down to having plain text metadata above the "relation" links in the note.
This also applies to inline links.

The bottom relation does not render in graph;
Screenshot_2024-03-12_12-37-54

But if I change the "Type" property to a link;
Screenshot_2024-03-12_12-42-19

Ah thank you, I'll have to add some additional logic to make sure it doesn't stop on the first metadata that isn't a link. Thanks for pointing this out!

commented

To add to this, I noticed the same issue, except I have metadata properties that can be empty. All links in metadata after the empty property will not populate on the local graph.

Note 'foo' is missing connecting to Linux Personal Notes:

image

Thanks for this plugin! If I get time I could probably take a look at resolving this.

Thanks for letting me know! I plan to rewrite the code that handles processing the links... obsidian has a lot of different ways it stores them, and I need to handle it in a less convoluted way in order handle special characters, same file names in different folders, and stuff like this.