Binding width property with model.width data

Is it possible to bind textBlock or shape width, height with model’s data? If yes how? Very new to GoJS.

$(go.TextBlock, { margin: 5, width: 100 }, --> instead of hardcoding 100
Model array -> { key: “123”, names: ["$50.66"], linkNameUp: “”, linkNameDown: “”, parent: “”, width: 50, height: 20 },

Yes, just add a data binding. You should read the intro page on data bindings, along with other intro pages relevant to your app.

new go.Binding("width")