An error is being thrown when attempting to update a connector with data persisted during connector creation.
Uncaught TypeError: ej.datavisualization.Diagram.SvgContext.clearSegments is not a function at Object.updateConnector (ej.web.all.min.js:10)
|
Here is an example of the JSON options being passed to updateConnector():
{ "constraints": 23094, "cornerRadius": 0.5, "name": "connectorPsU9", "segments": [ { "direction": "left", "length": 20, "type": "orthogonal" } ], "sourceNode": "Property_2", "sourcePort": "Property_2", "targetNode": "Property_1", "targetPort": "Property_1" }
|
If I leave off the segments property the update succeeds. Is there a way to conveniently update connector segments?