react-diagrams
react-diagrams copied to clipboard
Diagram from deserialization using wrong Link model?
You can see that my diagram uses "MyRightAngleLinkModel",
After serialization/deserialization, the existing links are right but the new ones are default...
I can notice that my portmodel also defaults back, as mine can connect out to out, after deserialization I can't anylonger
I tried deregistering the default factory with no results.... (this.diagramEngine.getLinkFactories().deregisterFactory('default'))
HI @rzfzr , did you found any solution for this?
I haven't yet
@ShrutiChandak19 I tried figuring it out again and gave up... I bet it is something wrong with the deserialization process itself, not some options we can change. I won't have a save/load function in my app.
@rzfzr yeah even I am thinking the same. There is some issue with deserialization process itself because after that only I'm getting issue.