@JP wrote:
For existing diagram for some of the nodes have location binding format like:
new go.Binding("location", "loc").makeTwoWay() //so in diagram json it binded as {...., "loc":{"class": "go.Point","x": 624,"y": 529},...}
I have larges diagrams and now I have need to change this to below format without affecting the existing diagrams.
new go.Binding("location", "loc", go.Point.parse).makeTwoWay(go.Point.stringify)Is that possible convert the existing diagram json binding properties
"loc":{"class": "go.Point","x": 624,"y": 529} to "loc":"624 529"
Posts: 1
Participants: 1