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

LineConnector with FirstSegmentLength and LastSegmentLength

Thread ID:





98740 Mar 24,2011 05:35 PM UTC Apr 4,2011 06:55 AM UTC WPF 1
Tags: Diagram
Mary Fontana
Asked On March 24, 2011 05:35 PM UTC

I have attached a diagram example that I am trying to create with your wpf diagram tool.

I did one example of this using Straight LineConnector and adding IntermediatePoints to each line (from 2 to 4 points for each line).

I am now modifying it to use ConnectionPorts.

I would like to know before I get started if I can do this using ConnectionPorts with Orthogonal LineConnector and LineConnector's FirstSegmentLength LastSegmentLength.

If I do this I think I need to add Intermediate points to prevent the lines from overlaping other nodes. But I dont know if that works If I use FirstSegmentLength and LastSegmentLength.

It doesnt matter if the lines overlap, but I need to prevent the lines from being drawn over other nodes.

I appreciate any suggestions on the best way to implement this.


Maria Amal Raj T [Syncfusion]
Replied On April 4, 2011 06:55 AM UTC

Hi Mary,

The FirstSegmentLength is used for to maintain a specific distance between the First IntermediatePoint of LineConnector and the HeadNode’s ConnectionPort, and the LastSegmentLength is used for to maintain the distance between the Last Intermediate point of LineConnector and the TailNode’s ConnectionPort respectively. But these two properties are applicable only for Orthogonal lines connected to Ports of the Node.

Currently there is no option to determine and prevent Overlapping between LineConnector and Node.

And we have confirmed the problem which you have mentioned in your last update to be a feature and it will be implemented in our future release. If you interested in getting more information for this feature, then you may create a Direct-Trac incident under the following link.


Maria Amal Raj T,
Diagram WPF & Silverlight 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