You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is probably due to some limitations in websocket implementation in the browser environment.
But we experienced that WebSocketDiagramServer silently drops messages when they go beyond a certain size. This is problematic for 'real world' diagrams. For example we found that it stopped working when we started having fairly simple graphs that have more than a dozen or so nodes. It worked fine when we only had 10 nodes or so.
Took quite a bit of guessing and trial and errror as we received no clear error messages about the packets being too large, but websockets kept getting closed shortly after the client/browser side had sent out the message that contains the 'bounds' of elements. This message never was received on the server side.
We solved this eventually by subclassing WebSocketDiagramServer and re-implementing it's sendMessage method to chop any messages larger than 4000 chars into smaller chunks and re-assembling them on the server side.
The text was updated successfully, but these errors were encountered:
This is probably due to some limitations in websocket implementation in the browser environment.
But we experienced that WebSocketDiagramServer silently drops messages when they go beyond a certain size. This is problematic for 'real world' diagrams. For example we found that it stopped working when we started having fairly simple graphs that have more than a dozen or so nodes. It worked fine when we only had 10 nodes or so.
Took quite a bit of guessing and trial and errror as we received no clear error messages about the packets being too large, but websockets kept getting closed shortly after the client/browser side had sent out the message that contains the 'bounds' of elements. This message never was received on the server side.
We solved this eventually by subclassing WebSocketDiagramServer and re-implementing it's
sendMessage
method to chop any messages larger than 4000 chars into smaller chunks and re-assembling them on the server side.The text was updated successfully, but these errors were encountered: