Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Control linking itself (Read 1451 times)
SandeepGowda
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Jan 6th, 2009
Control linking itself
Mar 12th, 2009 at 7:03am
Print Post  
Hi,
Can we control/validate linking Shape nodes itself,ie.. source and Destination of Links point to same Shape node.

regards
Sandeep

  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Control linking itself
Reply #1 - Mar 12th, 2009 at 9:00am
Print Post  
Hi Sandeep,

Diagram.setAllowSelfLoops(false) to disable that completely, or handle the linkCreating and linkModifying events if you need to disable that only for some nodes.

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