initial work => I would like to contribute that it is easier for you to review external code (some open source project found it harder to review code that doing themself)
maintenance work => it should be rather separated from rest of the code so it should impact codebase too much
Motivation
When organizing note, we can have semantic kind of node.
Eg some note about "Book", some about "Thought", etc...
Allowing the user to see the colors make it easier to find the information on the graph
(You can see in the previous image that foam on vscode already support node coloring since https://github.com/foambubble/foam/pull/438.)
User explanation
type
property in .md fileTechnical explanation
The above example code is:
type
from frontmatter)Why not do this
Unresolved question
Maybe
type
conflict with other property so we may pick another name (eg "graphType" and map over the node to rename it just for the graph)Would you prefer a contribution (later this week) or would you prefer to do it yourself ?