this code on go-debug.js, throw error.
// define the Node template
diagramA.nodeTemplate =
$go(go.Node, "Auto",
new go.Binding("location", "loc", go.Point.parse).makeTwoWay(go.Point.stringify),
$go(go.Picture,
{
width: 50, height: 50,
errorFunction: function(pic, e) {
pic.diagram.commit(function() {
pic.source = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==";
}, null); // null means temporarily set skipsUndoManager to true
}
},
new go.Binding("source"),
)
);
// Create the Diagram's Model:
var nodeDataArray = [
{ key: 1, "source":"dummy.jpg"},
];
diagramA.model = new go.GraphLinksModel(nodeDataArray);
diagramA.model.nodeKeyProperty = "key";
diagramA.model.linkKeyProperty = "key";
that error is
this maybe related to