I’m trying to find a good way to separate the model data from the view specific properties. In order to remember things such as size, location, angle etc. I’m currently saving them with the model using two way data binding.
Are there already solutions for how these things can be kept well seperated? Some sort of MVVM architecture perhaps? Unfortunately databinding can’t be done on nested object properties eg.
new go.Binding("text", "model.Name"); of course I could use a convertor, but it would only work in one direction. The Inspector also wouldn’t work anymore.
Just wondering if anyone has already put some thought into this.