HEmile / juggl

An interactive, stylable and expandable graph view for Obsidian. Juggl is designed as an advanced 'local' graph view, where you can juggle all your thoughts with ease.
https://juggl.io/
GNU General Public License v3.0
646 stars 41 forks source link

Notes with the same name, but different paths, shown as same node in graph #81

Open mattdenner opened 3 years ago

mattdenner commented 3 years ago

I have several notes in my vault that have the same name but are in different paths, e.g. A/Thing and B/Thing. This is because they may be the same name but have different meanings in different contexts. I noticed that, if I have a note that connects these, then I only see a singular node in the Juggl graph, e.g. I only see one Thing node.

To demonstrate this issue at the extreme I create 3 files, all with the same name but at different paths, and connected them together. I've included a screenshot of this setup, with the corresponding Juggl graph. Notice that there is a single Thing node in the graph, even though there are 3 different files.

Screenshot 2021-09-04 at 16 40 44

I would have expected 3 nodes. I have attached a screenshot where I renamed the individual files to unique names to show what I would have expected the Thing graph above to show.

Screenshot 2021-09-04 at 16 39 34

I cannot see a setting that would control this behaviour. I believe this is a bug.

This is with Juggl 1.1.1, Obsidian v0.12.12, on a Mac.

HEmile commented 3 years ago

Ah, interesting, I suppose that's true. I'll think about solving this... Unfortunately, that'd require a breaking change for Juggl.