How to save collate angle?

before saving collate position

after loading

please tell me how to load this collate position same again?

code is
`
var CollateTemplate =
GO(go.Node, “Auto”, nodeStyle(), {resizable: true, resizeObjectName: “Collate”, rotatable: true},
GO(go.Shape, “Collate”,
{name: “Collate”, width: 40, height: 60, fill: “#F48FB1”},
new go.Binding(“desiredSize”, “size”, go.Size.parse).makeTwoWay(go.Size.stringify)),
{
toolTip: // define a tooltip for each node that displays the color as text
GO(go.Adornment, “Auto”,
GO(go.Shape, {fill: “#FFFFCC”}),
GO(go.TextBlock, {textAlign: “center”, margin: 7},
new go.Binding(“text”, “tooltip”))
) // end of Adornment
});

        myDiagram.nodeTemplateMap.add("Collate", CollateTemplate);`

You have declared it to be rotatable, but you do not have a TwoWay Binding on the Node.angle to save the angle in the model.

can you please show me how to apply this property?

http://gojs.net/latest/intro/dataBinding.html#TwoWayDataBinding

Also, search the samples for go.Binding("angle"

new go.Binding(“angle”, “angle”).makeTwoWay()
it still not solved my problem

After the user has rotated the node, do you not see an angle property on the corresponding node data object with the appropriate value?

If you do, is that property saved in your database so that the value is restored before loading?

How is your situation different from the many other samples that use TwoWay Binding to save user-modified property values?

walter sir can you plz tell me how can get angle value which user defined on collate before saving?

You already gave one answer.

it worked when i bind with node. i was binding it inside “Collate” that’s why it was not working. thank you.