Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Winforms diagram loading output anchor problem (Read 2284 times)
Ktmr
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 24
Joined: Mar 27th, 2020
Winforms diagram loading output anchor problem
Jan 15th, 2021 at 11:59am
Print Post  
Hi,

I have two output points on the node.

When I load the diagram from string, the links at the output points appear from one point. How can I solve this problem?

Thanks
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: Winforms diagram loading output anchor problem
Reply #1 - Jan 15th, 2021 at 1:21pm
Print Post  
Hi,

The built-in SaveTo/LoadFrom methods only save pattern' Id in the file and later load it by calling AnchorPattern.FromId method. So you'll have to register your AnchorPattern objects before loading any files, e.g. in application's startup code.

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