Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Link shape automatically changes to Bezier, cannot change back (Read 1693 times)
Mnemon
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 2
Joined: Sep 19th, 2017
Link shape automatically changes to Bezier, cannot change back
Jan 25th, 2018 at 2:51pm
Print Post  
Hi.
In some situations links, which have Shape set to Polyline automatically changes to Bezier and you cannot override this by setting the shape style again. This happens while setting the Destination property. I cannot narrow down exactly in what circumstances it happens. Any clues?
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Link shape automatically changes to Bezier, cannot change back
Reply #1 - Jan 25th, 2018 at 3:46pm
Print Post  
Hi,

When you set Origin = Destination I guess, creating a self-loop which is rendered using the Bezier shape. Try handling the DiagramBase.SetSelfLoopShape event to assign it a different shape.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Mnemon
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 2
Joined: Sep 19th, 2017
Re: Link shape automatically changes to Bezier, cannot change back
Reply #2 - Jan 25th, 2018 at 4:07pm
Print Post  
That's a good point  Shocked thanks!
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Link shape automatically changes to Bezier, cannot change back
Reply #3 - Jan 25th, 2018 at 5:32pm
Print Post  
Or you could prevent users from creating such links altogether by setting AllowSelfLoops = false;

Regards,
Slavcho
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint