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

Double line links

Thread ID:

Created:

Updated:

Platform:

Replies:

93854 Apr 8,2010 07:12 AM UTC Apr 12,2010 12:58 PM UTC ASP.NET Web Forms (Classic) 3
loading
Tags: DiagramWebControl
Sandip
Asked On April 8, 2010 07:12 AM UTC

Hi,
We are currently evaluating Syncfusion for our project. I have a doubt regarding links and connectors in Syncfusion diagrams. We have to show couple of equipments connected with pipes in our diagram/model. Can we customise links to show as double-line link (instead of default single line)?

Thanks in advance
Sandip

Melba Winshia [Syncfusion]
Replied On April 9, 2010 07:35 AM UTC

Hi Sandip,

Thank you for evaluating Syncfusion Products.

You can derive LineTool, BezierCurveTool and LineBaseTool class and you can draw the double line in the ProcessMouseUp event of LineBaseTool class. Please refer below sample which illustrates this:

http://help.syncfusion.com/support/Diagram.Windows/F93854_Diagram/main.htm

In this sample, you can set OffsetX / OffsetY values of the Line and BezierCurve by using the comboboxes. You can activate the customized LineTool and BezierCurveTool by using Tool->LineTool and Tool->BezierTool menuitems.

Please let me know if this helps.

Thanks,
Melba

Sandip
Replied On April 9, 2010 10:43 AM UTC

Hi,
Thanks for your quick response. But there is a problem in the solution provided. When double-line link/connector is drawn, the two lines of the links are treated as two separate links/connectors rather than a single link/connector. So when I draw the double line link only one of the lines are getting attached to the required port and the other one remains unconnected. Moreover for editing the connections or links, I have to select individual lines.

I have attached an image of the connectors or links that we are looking for. Please let us know whether we can create similar type of links in syncfusion.

Thanks in advance
Sandip



pipeLinks_2018428b.rar

Melba Winshia [Syncfusion]
Replied On April 12, 2010 12:58 PM UTC

Hi Sandip,

You can group the two lines, so that you can select both nodes instead of selecting individual lines. And also, you can use our Symbol designer to design the custom symbols and lines as per your requirement and you can use those symbols to draw different types of pipelines. Please refer the following link to know more details about symbol designer:

http://help.syncfusion.com/ug_81/WindowsFormsUI_Diagram/SymbolDesigner1.html

Please refer the following simple sample, which uses pipeline symbol palette - user can drag the custom symbols from the palette to create pipelines as shown in attachment.

http://help.syncfusion.com/support/Diagram.Windows/F93854_DiagramForum/main.htm

Please let me know if this helps.

Thanks,
Melba

CONFIRMATION

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

;