Changing graph nodes text color
See original GitHub issueHi! Thanks for this useful library.
I’d like to be able to change the text color in my graphs. I naively trie:
classDef controller fill:#890620,color:#ebd4cb,stroke:#ebd4cb,stroke-width:1px;
But it doesn’t work unfortunately.
I tried to look for similar issues but not sure there are. Those looks similar but no example were provided so i’m not sure it is the same need:
I really need this feature so i would PR the project if anyone point me out where I can change it since the codebase is huge and I did not found were the styling things takes place.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:12
- Comments:26 (4 by maintainers)
Top Results From Across the Web
Graph nodes different to text colour - Help - Obsidian Forum
To easily change the color of nodes, just add a group under “groups” in the graph view. This was first released in v0.11.0....
Read more >fontcolor | Graphviz
fontcolor. Color used for text. type: color, default: black. Valid on: Edges; Nodes; Graphs; Clusters.
Read more >Changing the text color of the nodes - MSDN - Microsoft
I'm wondering if it's possible to change the text color of the nodes in the Drawing.Graph() instance? I tried changing the value of...
Read more >can we change the color of node in react + graph
Just add color property. Working Demo const graph = { nodes: [ { id: 'Node 1', label: "Node 1", title: "node 1 tootip...
Read more >Browser styling - Neo4j
You can click the Movie label in the graph and change the color, size, and captions of all nodes labeled with Movie ....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think Mermaid should allow changing the text color on a per-node basis.
In the example below, the diagram would look a lot better if the
MySQL
text was white:It is still an issue…