Having an issue with data binding in the Diagram component. Adding an element to the bound shapes array does nothing. Adding it using addShapes works, although there is an inconsistency when the visual function gets called; the dataItem comes in options whereas when initializing it comes on options.dataItem.dataItem.
In addition, replacing the entire array seems to take effect, but seems to ignore the layout subtype. It's set to right but it does down.
See this example that show these issues:
https://stackblitz.com/edit/angular-qnmebrsa-ttiqwi6b?file=src%2Fapp%2Fapp.component.ts