How to set path of picture dynamically?

Hi,

How to set path of below picture dynamically?

$go(go.Picture,
new go.Binding(“source”,“path”))

Yes, that will work. Just call Model.setDataProperty within a transaction when you want to change the data.path.

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