You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A. Filter out subdirectories:
I would like to filter out (remove) the nodes for notes in particular subdirectories. Ideally with the same behaviour as tags today (UI checkbox activation / deactivation using the name of the folder f.e.)
B. Decorate subdirectory nodes:
If the above is not possible, I would like to differentiate the nodes for notes in particular subdirectories.
I don't know if that is a better way, but I am using some python scripts for that, and they can be added as pre-commit scripts (if you use git for versioning)
I am curious to see your script @Casyfill, sounds interesting.
The way I was originally thinking about it was to expose that via some sort of configuration/API, so that an actual piece of JS code can "decorate" the nodes (either the notes themselves, or when they are converted into the graph).
Basically it would be similar to what the python script does, but on the fly (and ephemerally)
This seems like a very nice feature to have. Have played around with mass modifications through sed on all files in a folder to prepend a type: whatever, but it causes a lot of header pollution (given that you generally don't need headers in foam), and it feels a bit redundant. If the graphing lib had some kind of setting to populate types from $foldername then this would be very powerful zero configuration categorisation system (at least for people who use more than one folder).
Workaround with sed
style node type in foam.graph.style and mass modify with a one-off script:
cd recaps
sed -i '1 i\---\ntype: recap\n---\n'*.md
..then create your docs from templates with the type header set.
I would also be very interested in this feature.
I save daily notes in a folder. These are merely temporary todos. I save Persistent Information outside this folder.
The daily notes are not connected and overcrowd the graph view.
The example functionality from Obsidian
On the Foam Graph:
A. Filter out subdirectories:
I would like to filter out (remove) the nodes for notes in particular subdirectories. Ideally with the same behaviour as tags today (UI checkbox activation / deactivation using the name of the folder f.e.)
B. Decorate subdirectory nodes:
If the above is not possible, I would like to differentiate the nodes for notes in particular subdirectories.
A. Filter out subfolders
If we have the folder structure:
When a user runs the command "Foam: Show Graph":
B. Decorate subdirectory nodes
The idea is to be able to define types of notes just by the folder they are in, instead of using the syntax:
Once the type is defined, css can be applied as it currently is for note types
I'm happy to elaborate further if this is of interest.
Thanks!
The text was updated successfully, but these errors were encountered: