Open ghost opened 6 years ago
Ran into the same issue while generating a diagram from a custom JSON model. First rendition works but after updating the diagram model the links are missing.
@varakh Did you find any workaround?
Thanks a lot @varakh! Works like a charm now.
Hi,
thanks for the library.
I have a save button which saves json from the diagram with diagamModel.serializeDiagram(). If I try to load this JSON (via a button), no links are shown at first. If I press the button twice, links are shown. I think this should work? console.log outputs both with links attribute.
Any idea?
PS: I have 2 Node Types: Start, End.
PSS: I think that this has something to do with https://github.com/woodenconsulting/react-js-diagrams/blob/master/src/widgets/LinkLayerWidget.js#L18 Links are just removed. Is there any workaround? Maybe delay link draw until all ports are present?