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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Orthogonal Line Connections

Thread ID:





90629 Oct 12,2009 09:39 AM UTC Oct 12,2009 12:02 PM UTC WPF 1
Tags: Diagram
Andrei Andriesi
Asked On October 12, 2009 09:39 AM UTC


I am trying to create an orthogonal connection between two nodes in the diagram but I do not find the necessary properties. I need my connection to be routed throw some specific points, points that I can add to my line connection. Is that possible?

I also cannot find any events for the position changing and position changed of a node or line. Is there a way to have this?


Nikhil A [Syncfusion]
Replied On October 12, 2009 12:02 PM UTC

Hi Andrei,

Thanks for your interest in Syncfusion products.

In the current version of Diagram WPF , it is not possible to manually specify points on the line connector to route them accordingly. This feature has already been added to our feature queue and it will be available in our future releases. However custom connection ports can be added to the node and connections can be made to those specific points on the node . For more information on Connection ports please refer our online documentation:


Navigate to : ConceptsAndFeatures-->ConnectionPort.

Essential Diagram WPF provides several events for Nodes and Connections. The NodeDragStart and NodeDragEnd events can be used to achieve you requirement. The NodeDragStart event fires as soon as the user starts to drag the node, i.e. before the position is changed. And the NodeDragEnd event fires soon after the node's position is changed (drag is over).

These events can be specified as follows:

diagramView.NodeDragStart += new NodeEventHandler(diagramView_NodeDragStart);

• And then the event handler can be specified in the code behind as follows.

// Event Handler
void diagramView_NodeDragStart(object sender, NodeRoutedEventArgs evtArgs)
// user specified code

Similarly other events can be accessed.

For complete information on all the events available , please refer our online documentation:


Navigate to : ConceptsAndFeatures-->Event Mechanism

Please let us know if there are any concerns.

Syncfusion WPF team


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon