Bind the Grid shapes?


Suppose I have a theme global variable. I could set it in the modelData and bind the Node Templates with the Model to update theirs appearance.

Using this binding between the Grid and the Model will not work. Because, Models were designed to seperate Node Template and theirs Data I guess. Which is not the same case as for the Grid.

So the only way to update the Grid is by overwrite its value, right ?

Is there any other sort of binding ?

An example here

Yes, that’s right – there’s no binding of the diagram’s infinite grid’s properties.
Either set Diagram.grid with a new grid panel or modify that grid panel.