π subnode [[@neil/problem with org roams file level graphing]]
in π node [[problem-with-org-roams-file-level-graphing]]
Problem with org-roam's file-level graphing
Slight problem at the mo being that org-roam's file-level graphing doesn't exclude the nodes in your exclude matcher. I started a thread to ask about that.
First thing that I tried was putting ~ ,@(org-roam-graphβexpand-matcher 'file t)~ in org-roam-graph--build-connected-component
. That didn't work, because
(files (or (if (and max-distance (>= max-distance 0))
(org-roam-db--links-with-max-distance file max-distance)
(org-roam-db--connected-component file))
(list file)))
already includes everything in files
, so saying 'and not these other files' after the fact doesn't help. So next I've just simply hacked the SQL in org-roam-db--links-with-max-distance
. Literally changes the raw SQL query. Obviously not sustainable, but gets me through what I want to do for today, and something to return to.
π stoas
- public document at doc.anagora.org/problem-with-org-roams-file-level-graphing
- video call at meet.jit.si/problem-with-org-roams-file-level-graphing