makeTwoWay方法在vue项目中不生效

makeTwoWay方法在vue项目中不生效,
我按照https://gojs.net/latest/samples/orgChartEditor.html例子配置,数据更新了,但是页面中gojs中的元素的数据没有更新,有人遇到过同样的情况么?
并且我用debug版本也没有报错

If you are using vue.js, have you seen the sample Minimal GoJS Sample in Vue.js ? If you edit the text of a node, you can see that through the TwoWay Binding on the TextBlock.text property, the node data property data.text is updated.

If this is not the problem that you are experiencing, could you please be more specific about what the problem actually is? How can I reproduce the problem?

我通过vue例子中的方法可以实现更新,但是备注说不建议这种方法
this.myDiagram.startTransaction()
// This is very general but very inefficient.
// It would be better to modify the diagramData data by calling
// Model.setDataProperty or Model.addNodeData, et al.
this.myDiagram.updateAllRelationshipsFromData()
this.myDiagram.updateAllTargetBindings()
this.myDiagram.commitTransaction(‘updated’)

我用setDataProperty方法设置以后,通过myDiagram.model.toJson()得到的数据是变了,但是图形上的展示的数据没有变化

The advantage of calling Model.setDataProperty is that it supports undo/redo. Just calling update… will not do so.

However either method should update the state of the GraphObjects that has data Bindings. Model.setDataProperty calls an update… method.