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. Image for the cookie policy date
close icon

Double line links

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

3 Replies

MW Melba Winshia Syncfusion Team 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


SA Sandip 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


MW Melba Winshia Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon