Changing color of nodes #205
-
Hey there, am not really great programmer but i would like to change color some types of nodes.. is there any way how to do it ? Best would be to split nodes into groups and each group would have different color. Am using VueJS_v.2.9.6 and quasar v.3.2.9. |
Beta Was this translation helpful? Give feedback.
Answered by
newcat
Jul 30, 2022
Replies: 1 comment 2 replies
-
You can use CSS for that, by creating classes for your node type. Let's say you have a .node.--type-AdditionNode,
.node.--type-SubtractionNode {
background: green;
}
.node.--type-DisplayNode {
background: red;
} |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
OutLandishnessSad
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use CSS for that, by creating classes for your node type. Let's say you have a
AdditionNode
and aSubtractionNode
, which you want to color green, as well as aDisplayNode
which you want to be red: