I am trying to add a new node from the ngAfterViewInit hook of the consumer component and it doesn’t seem to work.
It works only when I wrap the code inside a setTimeout.
demo: Angular GoJs - StackBlitz
// Wrapping the below line in settimout will add the node properly
Please, let me know if I am missing anything here.