The connector split demo code does not work

When trying to drag a new node onto the connector in order to split the connector as described here, https://ej2.syncfusion.com/angular/documentation/diagram/connectors/#enable-connector-splitting, both the demo and the demo code do not work.


1 Reply

AR Aravind Ravi Syncfusion Team July 22, 2022 06:27 AM UTC

Hi Chaz,


We have created a sample to perform connector split in the diagram. After diagram gets created, diagram created event gets triggered. In that event set the enableConnectorSplit as true. So when dropping a new node onto an existing connector and new connection created between the new node and existing nodes. Please refer to below code snippet and sample


public created() {

    this.diagram.enableConnectorSplit = true;

  }


Sample: https://stackblitz.com/edit/angular-wukrvj?file=app.component.ts


Regards

Aravind Ravi


Loader.
Up arrow icon