Assigning arrows between 2 rectangles.

I want to know how can I add more than one arrow between 2 rectangles , connect them to different ports ,so the arrows will not be on top of each other



example.zip

4 Replies

SR Shavit Roee January 20, 2008 10:13 AM UTC

hello again
I have added multiple ports to my rectangles, but as long as the EnabledCentralPort = true, all the lines are connected to it and appear on top of each other which in not good.
I realy like the behaivior of the diagram with the EnableCenterPort = true (marking the recatngle red on connection) is there any way of connecting the line with the same behavior on the added ports.



MW Melba Winshia Syncfusion Team January 22, 2008 12:03 PM UTC

Hi Shavit,

Thank you for your interest in Syncfusion Products.

I am afraid that I was not able to reproduce the issue. Also I have created a simple sample to test this issue and it is available in the following link:

http://websamples.syncfusion.com//samples/Diagram.Windows/F71114/main.htm

Please have a look at the above sample and if still the issue exists, could you please try reproducing it in the above sample and send us the modified sample so that we could sort out the cause of the issue and provide you a solution?

Thanks,
Melba



MM Michael M. February 12, 2008 12:50 PM UTC

Hallo i have the same problem like described in the entry above. The problem is not to connect them from code behind. The error appears if i want to connect two elements with LinkTool. EnableCentrePoint=True does not allow to connect Ports other than the centerPort, because when mouse is entering a element the link allways jumps the centrePort.
Is there any possiblity to get a behavior like:
- enter a element and move with mouse over a port and then the element should be highlighted, but the link should connected to port under mouse (not centerPort)



MW Melba Winshia Syncfusion Team February 14, 2008 07:43 AM UTC

Hi Michi,

Thank you for the update.

When the EnableCentrePoint property is set as true for node, it will not allow connecting other ports other than the centerPort. If your intention is to connect the link to other ports under mouse, then the EnableCentrePoint property must be set as false.

Please let me know if you have any other concerns.

Thanks,
Melba



Loader.
Up arrow icon