In custom shape node, in order to dynamically pass the color and border color of the node into ctxRenderer method, so that the display properties of the node can be dynamically changed, I did not find suitable input parameters and could only use a custom string segmentation method:
In custom shape node, in order to dynamically pass the color and border color of the node into ctxRenderer method, so that the display properties of the node can be dynamically changed, I did not find suitable input parameters and could only use a custom string segmentation method:
I can't find any better way to achieve this .