We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Visio like Auto connect behavior for connecting nodes

In order to connect components with connector, we have to drag in the connector in diagram from symbol palette and then bring its head and tail close to the connector. Is it possible to have a visio like auto connect behavior? eg When somebody clicks on port of a node x and while keeping mouse left button down, drag mouse pointer to port of a node y, automatically establish a connector between node x and node y?

1 Reply

RT Ramya Thirugnanam Syncfusion Team November 10, 2015 12:04 PM UTC

Hi Ashish,
Requirement: To Auto connect with Node /Port
We have a support to achieve your requirement. We have provided EnableDrawingTools property in DiagramView to draw Line connector at runtime. We have created a simple sample to represent this. Please refer to the sample from the below link.
Sample Link:121072

Sample details:

In this sample, we have provided Button labeled as “DrawingTools”.The button click will enable to draw LineConnector between Nodes/Ports at runtime.

Live Chat Icon For mobile
Up arrow icon