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

Customer/Multi colored lines

Hi everyone,

I am trying to make 2 lines going to from the same source to the same destination stop overlapping each other. To do this, preferably I would like to have a line that has multiple colors, to do this my guess is I need to implement/override the part that does the drawing and replace this with my own graphic.
However although looking through the API I am not sure which functions I need to override.

An alternative method would be if 2 lines going between the same node could automatically spaced so they don't overlap or interfere with each other.

Any help trying to solve this problem would be great

Cheers
Cameron




1 Reply

DM Dinesh M Syncfusion Team March 16, 2010 10:45 AM UTC

Hi Cameron,

This could not be achieved easily by overriding the existing functionality and the only workaround is to use the custom ports. Information about custom ports can be obtained from the following online UG.

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

Regards,
Dinesh

Loader.
Live Chat Icon For mobile
Up arrow icon