let connectors: ConnectorModel[] = [
{ id: 'connector1', sourceID: 'node1', targetID: 'node3', segments: [{type: 'Orthogonal', length: 90, direction: 'Bottom'}], type: 'Orthogonal' },
]; |
Hi Kannan,We does not have support for automatic line routing feature. We have already considered this as a feature request. To overcome this, please enable port to port connection to the node or set length ,direction and type to the connector segments. Please find below code example for how to set segments for connector.
let connectors: ConnectorModel[] = [{ id: 'connector1', sourceID: 'node1', targetID: 'node3', segments: [{type: 'Orthogonal', length: 90, direction: 'Bottom'}], type: 'Orthogonal' },];Regards,Ramya T