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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Line connector issues

Thread ID:





74164 Jun 2,2008 10:58 AM Jun 4,2008 12:18 AM Windows Forms 3
Tags: Diagram
Mark Attridge
Asked On June 2, 2008 10:58 AM

I am using version 6.2 of the Diagram control in VB (Windows Forms version).

I am having some issues with the line connectors between two rectangles. When I create an ortogonal connector, it joins the two central points as expected, with the line beginning at the rectangle's edge.

However, if I begin moving (dragging) one of the rectangles around the model, the line connector tends to get redrawn incorrectly and will originate from the actual central point (and obscuring text within the rectangle), rather than beginning at the rectangle's edge.

I've attached a sample image so you can see the behaviour I am experiencing.

Is this a bug, or do I need to code some workaround or set some property in order to fix the problem?

Thank you


J.Nagarajan [Syncfusion]
Replied On June 3, 2008 02:33 AM

Hi Mark ,

You can resolve this issue by sending the connector to back of the connected nodes. Please use the below code snippet.

OrthogonalConnector line = new OrthogonalConnector(m_rect.PinPoint, m_rect1.PinPoint);

Please refer to the attached sample for more details.


Let me know if this helps.


Mark Attridge
Replied On June 3, 2008 10:36 AM

Thanks for the sample code. It does work better for me now.

However, I can still reproduce one case where the connector is not drawn properly, as it becomes obscured by the rectangle.

I've attached another screen shot with a sample of what I'm seeing.

Can this be considered a bug? Or is there another property I need to set on the orthogonal connector to make it connect properly?

Thanks so much.


J.Nagarajan [Syncfusion]
Replied On June 4, 2008 12:18 AM

Hi Mark ,

I have tested this issue in our latest version and it seems to be a bug. We have logged defect report in this regard and forwarded this issue to our developers for more analysis. I will get back to you with more details regarding this issue on or before June 6th 2008.

Thanks for your patience.



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.

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