Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic We want to change node connection method. (Read 2249 times)
Darby_Roh
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: May 23rd, 2011
We want to change node connection method.
Nov 14th, 2012 at 6:08am
Print Post  
Hello.

We developed IVR flow designer using your framework.

Our customer wanted to change node connection method in the diagram.
Specifically, we want to create two functions(Select Node Mode,Connect to Node Mode) in the diagram.
"Select Node Mode" is the only select node. This is impossible to connect to another node.
"Connect to Node Mode" is activated to anchor point at selected node. This is possible to connect to another node.

Do you think this is possible?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: We want to change node connection method.
Reply #1 - Nov 14th, 2012 at 9:14am
Print Post  
Hi,

Try setting the Behavior property to Modify for select mode and DrawLink for connect mode. To stop modification of nodes if necessary, handle the NodeStartModifying event and set e.Cancel.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Darby_Roh
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: May 23rd, 2011
Re: We want to change node connection method.
Reply #2 - Nov 16th, 2012 at 8:27am
Print Post  
Thank you for answer.

I have one more question.
I know that selected node can't connect to another node.
I want that selected node can connect to another node.
How can I solve this?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: We want to change node connection method.
Reply #3 - Nov 16th, 2012 at 11:38am
Print Post  
There shouldn't be anything preventing you from connecting a selected node to another one. Just make sure you start drawing the link from outside selection handles. You might try changing your nodes' HandlesStyle values to one that provides smaller area for moving / resizing the node, leaving more space for link drawing.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint