What if I am keeping gojs diagram in a separate component(child) altogether and call it in parent by passing diagram model data from the parent component.
For me, I am facing issues while doing this. In my case, only the last instance of the diagram is getting loaded. My doubt is if I am calling the child component twice by passing model data then the child component should initialize twice(initDiagram() method will hit two times for each child call). But for me, only the last instance of the diagram is! getting loaded.
Note: I am loading the diagram as tabs in the parent component.