- Would like to set the node icon color with a JSON attribute. Is this possible
If you pass color as a property of a node in JSON (say, this property is 'color'), the data goes to node's model. That is, you should define node's color in one of explicit ways.
The easiest way around this is to put this piece of code into topology config:
'nodeConfig': {
'color': 'model.color'
}
Also enhance the nodeConfig.
Comments
0 comments
Please sign in to leave a comment.