i m working on a diagram in angular i need incremental json the diagram is a tree model so there are no links but on running this
this.diagram.addModelChangedListener(
e=>{
if (e.isTransactionFinished) {
// this records each Transaction as a JSON-format string
this.showIncremental(this.diagram.model.toIncrementalJson(e));
}
})
i get error