A cursory search of the forum history shows that a number of users would be keen on having a node graph that automatically represents the link relations between documents, which would help navigating a “personal wiki” of notes, e.g. built using the Zettelkasten method.
Given that a lot of users have requested something similar to this, is this something in the roadmap? I also note that there have recently emerged a number of tools that offer this so clearly there is growing demand in the wider market for such functionality (e.g. Roam Research and Obsidian below)
It is a bit of a shame, particularly there appears to be a lot of demand from users, and as well as that other applications are implementing this that are targeting a similar userbase as DEVONthink.
I hope it can be considered for development at some point down the line, even if there are other priorities?
I wonder if it would be possible to write something up to access the necessary data from DT and then generate the graph view outside of it, using some software or script.
Indeed, this type of graph view would be really really interesting to have in DT. It is perhaps the only feature this other apps have that is not possible to recreate within DT.
There are several interesting sub-graphs to visualize:
links between items (in content or metas, explicit or inferred)
hierarchies (tags / groups structure)
…
And through the graph many properties (and their evolution) of items could be visualized.
Possible implementation outline:
An applescript crawls (part of) a DT DB and exports items as nodes and rels/links as edges in JSON, which then is made explorable as a graph in an HTML thx to a JS lib like sigma.js.
This would have the advantage to be generated and consumed directly in DT.
Scalability and speed would be the bottlenecks here.
Or export for external consumption like w gephi, would bring more graph display and analysis power, but coming w a higher learning curve.
From my POV, it would be interesting to be able to query via devon search based on the connectedness index, e.g. add an additional argument to search connectedness_index > 3 looking for notes which are connected/linked to e.g. at least 3 other notes. I can imagine practical use of this feature.
Well, given the links in the OP, that’s five requests in 16 years, so that might not actually be “a lot of demand”?
If you index the folder(s) that you’ve configured as Obsidian’s “vault(s)” then you can work with the files in DEVONthink, and use them also in Obsidian including the Obsidian graph view.
2322 Items, 3180 parent-child relationships generated in less than 2 mins, (limited to a depth of 4 edges from root of one of my biggest and broadest DT knowledge base)
that’s around 20 items parsed per second (note when run from script debugger it’s muuuuch slower)
the graph is still very messy: no distinction of groups and docs, no hovering fcts, etc.
Next possible devs:
make the graph explorable from within DT
improve graph interactions and readbility
faster crawling by abandoning recursion and moving to a queued crawling scheme
I’d also add that there is a lot more than 5 threads out there. I simply copied the first few in the search and believed that was sufficient to make the point that it has been suggested numerous times already. The number of replies to this thread, and in the other threads, is quite clear in demonstrating a high level of user demand.
It’s great that people are coming up with workarounds (which again shows the demand for this) to prove the concept, but to make this a fluid way to trawl through one’s notes then I think it ought to be native. I thought, naively perhaps, that because there is a similar visualisation already present in Concordance that this would not be too much of a technical challenge to implement within DEVONthink.
The existing Edit > Insert > Item Link… feature makes it really easy to insert links to other documents, and an interactive Node Graph of these links would be a great user experience for navigating the database in a non-hierarchical way.
@benoit.pointet, thanks for sharing! I just tried it out and there is something hindering UTF-8. Accents and non-latin characters rendered as ?. I will take a look at it again latter tonight.
I’m not sure if development staff at DEVONthink make time and resource plans based on forums, but I’ll give my personal opinion that this is not worth the time – if there are better priorities serving more customers under consideration. The illustrations here are blobs, to my eyes. Easy to do or not, I would rather see ongoing improvements to the general UI, scripting infrastructure, etc., than pictures of blobs with minimal information content.
Don’t take that wrong. By not liking it, I’m not disparaging the concept – just expressing a point of view.