Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic link issues (Read 5152 times)
Pratik
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 27
Joined: May 15th, 2014
link issues
May 15th, 2014 at 11:48am
Print Post  
See the below image when i draw two links between two node i got link drawn on each other but i want both link sepratly
  

1_004.png ( 47 KB | 104 Downloads )
1_004.png
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: link issues
Reply #1 - May 15th, 2014 at 12:55pm
Print Post  
Try handling the LinkCreated event as in http://mindfusion.eu/Forum/YaBB.pl?num=1266388133/8#8

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


I Love MindFusion!

Posts: 27
Joined: May 15th, 2014
Re: link issues
Reply #2 - May 16th, 2014 at 5:09am
Print Post  
It will not work for me.
see my problem is shown in first image

and i want solution shown in second image when i draw link
  

1_005.png ( 51 KB | 47 Downloads )
1_005.png
2_002.png ( 3 KB | 178 Downloads )
2_002.png
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: link issues
Reply #3 - May 16th, 2014 at 7:48am
Print Post  
That's exactly what that code does:


Have you set the first method as handler for DiagramView.LinkCreated? Or if you need to apply it for links that you create from code, refactor the LinkCreated handler to take a single link argument and call it after CreateDiagramLink.

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


I Love MindFusion!

Posts: 27
Joined: May 15th, 2014
Re: link issues
Reply #4 - May 20th, 2014 at 9:27am
Print Post  
I want allow user to draw only two link between node not more then two link .. Smiley
  
Back to top
 
IP Logged
 
Pratik
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 27
Joined: May 15th, 2014
Re: link issues
Reply #5 - May 20th, 2014 at 10:28am
Print Post  
As shown in below image i want to allowed user to draw only two link between node and not allowed to draw 3rd link between this two node. Roll Eyes
  

Untitled_006.png ( 1 KB | 150 Downloads )
Untitled_006.png
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: link issues
Reply #6 - May 20th, 2014 at 10:39am
Print Post  
In Canvas mode you could disable additional links from LinkCreatingScript. This is not supported in ImageMap mode, so you might have to delete extra links after the fact, from LinkCreated handler on server side.

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


I Love MindFusion!

Posts: 27
Joined: May 15th, 2014
Re: link issues
Reply #7 - May 20th, 2014 at 11:40am
Print Post  
Thank for  reply
so in image map i have to delete extra link there is no way to handle it..
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint