Hi!
I'am currently evaluating the diagram component however, I face some problems when binding values in the template.
I have created a ngtemplate as following:
<ng-template #nodeTemplate let-data>
<div>
........
<div>Input: {{ data.addInfo?.prop1}}</div>
<div>Output: {{ data.addInfo?.prop2}}</div>
........
</div>
</ng-template>
The nodes are created successfully but when I change the addInfo properties at runtime(from code) the changes are not shown i the diagram. The width is updating as expected.
var node: Node = event.source;
node.width = node.width + 100;
node.addInfo.prop1 = "hello";
this.diagram.dataBind();
Thanks!
/Viktor