Graph view node colours/icons based on front-matter

Assuming the API supports it, the ability to customise the graph nodes’ colours and text would make it easier to separate what cards (markdown files) are used for what. For example, we may have front-matter indicating that the card relates to a person, and another to a concept/definition, another to Map of Concepts (MOC) etc. We could prefix each category by an icon, and change the node colour. Like the example below:

customise-obsidian-graph-view

This could be realised by mapping a front-matter parameter (category) to a set of colours and optionally icons, or alternatively mapping to tags.

19 Likes

I love this idea! It would make the graph view so much more useful for browsing.

6 Likes

Is this been solved? Very useful for me to set the icon of the node in the graph

3 Likes

I’d really like to be able to set the icon used for each node in the graph view. Is there any way to do that?