I'm trying to get serialization/deserialization to work.
I am currently serializing the sourceId and targetId as well as the id of connection itself.
When I rehydrate, I need to make sure that all connections are attached to the exact same endpoints on an element as the were when persisted.
In looking at the connection event, it's not obvious what all parts I need to persist to make sure I can rebuild everything properly.
I'm not currently needing to store anything related to the style of the endpoints/anchors, only that elementA(out:endpointX) was connected to elementB(in:endpointX).
Can someone provide a summary of what properties need to be captured and how to reinitialize on load?
Thanks!
Will