-
Notifications
You must be signed in to change notification settings - Fork 28
Home
Mark Farragher edited this page Dec 22, 2022
·
7 revisions
Welcome to the obsidiantools wiki!
These are some differences in how the NetworkX graph in this package appears versus the graph in the Obsidian app, which I don't want to change as I think these differences are more intuitive for graph analysis:
- The graph will include 'self loops', but the Obsidian app does not show these. For example, if note
foo
has a wikilink[[foo#bar]]
, then the graph will show afoo->foo
link, but the Obsidian app would not show a 'self loop'. - The package will show
foo
inbacklinks_index
/wikilinks_index
keys, as 'note names', if both these conditions hold: i)foo
file doesn't exist yet; ii) the only wikilinks in the vault to the note are via a header (e.g.[[foo#bar]]
). In the Obsidian app, the graph will have the non-existent note labelled asfoo#bar
, but I think it's more intuitive to think of all the MD files in the graph as a notes, rather than having notes and note sections as graph node labels.
The graph won't reflect the Obsidian app's graph if you use relative paths to notes in your wikilinks like [[.foo]]
& [[..bar]]
.
That's a bit too complex for the package to cover. The package tries to capture behaviour of the 'Shortest path when possible' setting for new links.