Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Links not drawn correctly (Read 1785 times)
CODISMA
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 5
Joined: Sep 26th, 2022
Links not drawn correctly
Oct 5th, 2022 at 6:27pm
Print Post  
Hi,
I'm drawing a diagram programmaticaly.

All nodes have an AnchorPattern and I'm using OriginAnchor and DestinationAnchor members of DiagramLink to connect a link from a node to another.

And I'm using RouteAllLinks() method at the end but unfortunately some links are not drawn as they are expected to be (screenshot1).

But If I move one node, the links connected to this node are updated correctly (screenshot2).

Can you help me with that please.

Thanks
  

screen1.jpg ( 109 KB | 82 Downloads )
screen1.jpg
screen2.jpg ( 106 KB | 83 Downloads )
screen2.jpg
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3153
Joined: Oct 19th, 2005
Re: Links not drawn correctly
Reply #1 - Oct 6th, 2022 at 7:27am
Print Post  
Hi,

Try setting diagram.RoutingOptions.Anchoring to Keep or Reassign before calling RouteAllLinks.

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


I Love MindFusion!

Posts: 5
Joined: Sep 26th, 2022
Re: Links not drawn correctly
Reply #2 - Oct 6th, 2022 at 8:32am
Print Post  
Hi Slavcho,
Thanks you for your reply.
I already try this Sad
Thanks
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3153
Joined: Oct 19th, 2005
Re: Links not drawn correctly
Reply #3 - Oct 6th, 2022 at 8:43am
Print Post  
Hi,

Try also setting diagram.LinkRouter to a GridRouter instance.

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