Foam comes with a graph visualization of your notes.
To see the graph execute the Foam: Show Graph
command.
With the graph you can:
shift
pressed while selecting) nodes by clicking on them, to better understand the structure of your notesctrl
or cmd
By default the Foam graph will use the VsCode theme, but it’s possible to customize it with the foam.graph.style
setting.
A sample configuration object is provided below, you can provide as many or as little configuration as you wish:
"foam.graph.style": {
"background": "#202020",
"fontSize": 12,
"highlightedForeground": "#f9c74f",
"node": {
"note": "#277da1",
"placeholder": "#545454",
"feature": "green",
}
}
note
defines the color for regular nodesplaceholder
defines the color for links that don’t match any existing note. This is a [[placeholder]] because no file with such name exists (see [[wiki-links]] for more info).feature
shows an example of how you can use note types to customize the graph. It defines the color for the notes of type feature
Rendering context...