Skip to content

Controlling graph node colors from tags#11886

Open
lhewett946 wants to merge 6 commits intologseq:test/dbfrom
lhewett946:graph_node_colors
Open

Controlling graph node colors from tags#11886
lhewett946 wants to merge 6 commits intologseq:test/dbfrom
lhewett946:graph_node_colors

Conversation

@lhewett946
Copy link
Contributor

This pull request adds the ability to set the color used for nodes in the graph based on the tag that is applied to them, or in the case of MD graphs the value of a property named in the config.edn file.

Currently the colors are set through a map in the config.edn for both MD and DB graphs, but ideally I think there would be a way to do it through the UI. However, I don't have the knowledge to implement such a thing myself right now (although if I get time I will keep learning and may eventually add this to the PR).

I've seen a number of threads on the Logseq forum and a number of messages in the Discord about being able to control colors of the nodes in the graph view, so I hope this PR will go some way towards implementing this as a feature.

@tiensonqin tiensonqin self-assigned this Jun 8, 2025
@tiensonqin tiensonqin added the :type/enhancement Enhancement to product. Does not affect the overall basic use. label Jun 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:type/enhancement Enhancement to product. Does not affect the overall basic use.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants