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.

Place ports for a node via visual tool

Thread ID:

Created:

Updated:

Platform:

Replies:

96794 Oct 6,2010 11:07 AM Oct 25,2010 06:55 AM Windows Forms 7
loading
Tags: Diagram
Witold Slirz
Asked On October 6, 2010 11:07 AM

Hi,
The only way to add ports to a node in the Symbol Designer is to define "Ports collection" property.
But users would like to add connection points using visual tool, just by simple click in a desired place in Symbol Editor.

How to do it?




Pandi Murugan A [Syncfusion]
Replied On October 8, 2010 01:04 AM

Hi Witold,

Thank you for your interest in Syncfusion Products.

We have created a simple sample to depict how to create and add new ports to a symbol during run time and the same can be downloaded from the below link.

Sample-1709928619.zip

Using the Ports property in the property editor, different types of ports can be added to a selected node. Alternatively, you can select a node and right-click on it to add new port.Kindly try the above sample and let me know if it helps.

Please let me know if you have any concerns.

Regards,
Pandi Murugan A


Witold Slirz
Replied On October 8, 2010 03:46 AM

Works like a charm
Thanks


Pandi Murugan A [Syncfusion]
Replied On October 8, 2010 11:46 PM

Hi witold,

Thank you for your feedback.

Please get back to us if you have any queries.

Regards,
Pandi Murugan A


Witold Slirz
Replied On October 20, 2010 03:32 PM

Hi,
I've found that this trick does not work in general.
For a while if I create a group (almost all symbols are groups obviously) and place a port onto one of the elements, then when Im trying to connect this group to another one symbol the connection line tries to connect group's central port instead.

To create a connection using manually created port it's needed to ungroup symbol, place connections, group symbol again.

How to workaround this?




Pandi Murugan A [Syncfusion]
Replied On October 21, 2010 09:11 PM

Hi Witold,

Thanks for using Syncfusion Products.

Since the Node's EnableCentralPort boolean property is true by default, when you establish the connection between two nodes/groups, the connection always starts from their central port. In order to avoid this, you have to set the EnableCentralPort as false for all groups/nodes and sub groups/nodes. We have created a simple sample to demonstrate this and the same can be downloaded from the below link.

http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=Sample-462447853.zip

Please let me know your concerns.

Regards,
Pandi Murugan A



Witold Slirz
Replied On October 23, 2010 06:57 AM

Thanks, but this workaround does not work.
I've created DT incident indeed


Pandi Murugan A [Syncfusion]
Replied On October 25, 2010 06:55 AM

Hi Witold,

Thank you for your update.

Since you have created a separate Direct Track incident for this issue,please have a follow up with that incident for further concerns about the reported issue.

Please let me know your concerns.

Regards,
Pandi Murugan A




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.

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.

;