Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic I have a new question about link! (Read 2028 times)
chowy
Junior Member
**
Offline


I Love MindFusion!

Posts: 72
Joined: May 8th, 2017
I have a new question about link!
Aug 10th, 2017 at 3:47am
Print Post  
When the diagramlink intersects, draw the arc. But when I drag the link line, sometimes draw an arc, sometimes draw a straight line. My operation made gif dynamic picture. I wondered how it had been drawing arcs all the time.
  

linkCross.gif ( 151 KB | 89 Downloads )
linkCross.gif
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3152
Joined: Oct 19th, 2005
Re: I have a new question about link!
Reply #1 - Aug 10th, 2017 at 6:31am
Print Post  
It seems you've implemented your own full-segment drag interaction. Are you calling link's UpdateFromPoints method after changing control point coordinates?
  
Back to top
 
IP Logged
 
chowy
Junior Member
**
Offline


I Love MindFusion!

Posts: 72
Joined: May 8th, 2017
Re: I have a new question about link!
Reply #2 - Aug 10th, 2017 at 7:30am
Print Post  
Slavcho wrote on Aug 10th, 2017 at 6:31am:
It seems you've implemented your own full-segment drag interaction. Are you calling link's UpdateFromPoints method after changing control point coordinates?

I called UpdateFromPoints (false) in the UpdateModify and CompleteModify methods
« Last Edit: Aug 10th, 2017 at 8:54am by chowy »  

LinkCross2_001.gif ( 260 KB | 90 Downloads )
LinkCross2_001.gif
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3152
Joined: Oct 19th, 2005
Re: I have a new question about link!
Reply #3 - Aug 11th, 2017 at 10:21am
Print Post  
Please check if this build fixes it -
https://mindfusion.eu/_temp/wpfdiag_arcs.zip

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