Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic The link line disappears when it intersects with another (Read 1513 times)
Dducky
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 14
Joined: Oct 17th, 2022
The link line disappears when it intersects with another
Aug 8th, 2023 at 5:41am
Print Post  
Please, let me know if it's possible, cuz i can't reproduce it on the demo project.
The link line disappears when it intersects with another, should we somehow ignore this behavior (maybe it's some optimization)?
The line also connected to the intersected point by no reason.

We manually call the DiagramLink.UpdateFromPoints method (always when our link entity points were updated), which works as expected, but when crossing, it attaches the line to the nearest point and breaks the correct display of the lines.

For some reason cannot attach the GIF, so download it here: https://dropmefiles.com/S4NEg
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3439
Joined: Oct 19th, 2005
Re: The link line disappears when it intersects with another
Reply #1 - Aug 8th, 2023 at 1:38pm
Print Post  
It seems to happen when LinkCrossings drawing is enabled, some point filtering code then removes the self-overlapping adjacent segments. I guess you could set DrawCrossings for this specific link to false when you detect that condition, but it also won't draw actual crossing decorations when intersecting other links.

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