I am facing a peculiar issue -
I am using gojs with gojs-react with state sync between the react state and gojs implemented using handleModelChange incrementalChange event.
The scenario I am facing is -
I have nodes and links added using
diagram.commit then synced up to the react state with
skipsDiagramUpdate set to
Now say we added nodes - A and B and links A->B and B->C
NOTE: Node C is not added to the diagram at this point.
Later we add Node C using
diagram.commit expecting the B->C will now show up but it is not showing.
I checked both the GoJS links using
findLinkByExample the B->C exists and also in the react-state. But, the link isn’t showing in canvas.
Any idea or debug technique will be of immense help here.