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:
http://help.syncfusion.com/ug_73/diagramWPF/defaultWPF.htmlNavigate 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:
http://help.syncfusion.com/ug_73/diagramWPF/defaultWPF.htmlNavigate to : ConceptsAndFeatures-->Event Mechanism
Please let us know if there are any concerns.
Regards,
Nikhil,
Syncfusion WPF team