Skip to content

How to change node/edge/text color dynamically #762

Answered by planger
sathya-1994 asked this question in Q&A
Discussion options

You must be logged in to vote

You could do that by creating custom view implementations that read certain attributes from the input GModel node (e.g. an attribute specifying the color code) and directly output it into the SVG elements' style attributes.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tortmayr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants