Hello,
I made my custom figure with two hybrid ports and a label using draw2d.SVGFigure.extend function. When I tried to update that label in console, it doesn't reflect changes automatically in canvas. It only works if I manually drag and drop/doubleClick that figure.
The command I used in Chrome console:
canvas.figures.data[0].label.text = 2
But if I add a node using draw2d.shape.node.Start() in console, it automatically reflects back in the canvas.
Hello, I made my custom figure with two hybrid ports and a label using draw2d.SVGFigure.extend function. When I tried to update that label in console, it doesn't reflect changes automatically in canvas. It only works if I manually drag and drop/doubleClick that figure. The command I used in Chrome console: canvas.figures.data[0].label.text = 2
But if I add a node using draw2d.shape.node.Start() in console, it automatically reflects back in the canvas.
Thanks in advance