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

Connecting between two nodes

Thread ID:





62887 Jun 25,2007 11:26 AM UTC Jun 26,2007 03:53 AM UTC WinForms 2
Tags: Diagram
Asked On June 25, 2007 11:26 AM UTC

I am using the Essential Studio Diagram, and i was trying to connect two node together using a line.

The exception throw is SystemArgumentException occured in Syncfution.Diagram.Base.dll

I had been working around for hours but no solution. Hope you could help me to look it to it. The C# project file is attached here as well.

Thank you.



Meera Fathima [Syncfusion]
Replied On June 25, 2007 11:47 AM UTC

Hello Carso,

Thank you for using Essential Diagram.

It seems the both the head endpoint and tail endpoint of the line connector have the same value and hence the application raises exception. To overcome this issue you need to set the nodes( which are connected using the connector) pinpoint value.

I have added the pinpoint value for circle and polygon node. Below is the modified code snippet for your reference.

// Circle
Syncfusion.Windows.Forms.Diagram.Ellipse circle = new Syncfusion.Windows.Forms.Diagram.Ellipse(0, 0, 96, 72);
circle.PinPoint = new PointF(50, 50); // Set the Pinpoint value.
circle.Name = "Circle";
circle.FillStyle.Type = FillStyleType.LinearGradient;
circle.FillStyle.ForeColor = Color.AliceBlue;
circle.ShadowStyle.Visible = true;

// Polygon
PointF[] pts ={ new Point(6, 36), new Point(48, 6), new Point(90, 36), new Point(48, 66) };
Polygon polygon = new Polygon(pts);
polygon.PinPoint = new PointF(100, 200); // Set the Pinpoint value.
polygon.Name = "Polygon";
polygon.FillStyle.ForeColor = Color.DarkSeaGreen;
polygon.FillStyle.Color = Color.DarkSeaGreen;

// Connector
LineConnector line = new LineConnector(circle.PinPoint, polygon.PinPoint);


I hope the above details are helpful to you. Please let me know if you have any more questions.


Replied On June 26, 2007 03:53 AM UTC

Thank you, now i can connect the nodes.


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

or the page will be automatically redirected to 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