Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Stroke with dasharray is not displayed on an SVG node. (Read 54 times)
nullable
Full Member
***
Offline


I Love MindFusion!

Posts: 134
Joined: Aug 25th, 2022
Stroke with dasharray is not displayed on an SVG node.
May 22nd, 2026 at 6:59am
Print Post  
Hello, MindFusion team. I wanted to report a behavior when an SvgNode does not draw dashes for the given svg. Please use the attached project and inspect the attached svg for your analysis.
  

SvgExportIssues_001.rar ( 1551 KB | 4 Downloads )
Back to top
 
IP Logged
 
nullable
Full Member
***
Offline


I Love MindFusion!

Posts: 134
Joined: Aug 25th, 2022
Re: Stroke with dasharray is not displayed on an SVG node.
Reply #1 - May 22nd, 2026 at 6:59am
Print Post  
SVG file
  

test_003.svg ( 16 KB | 11 Downloads )
Back to top
 
IP Logged
 
nullable
Full Member
***
Offline


I Love MindFusion!

Posts: 134
Joined: Aug 25th, 2022
Re: Stroke with dasharray is not displayed on an SVG node.
Reply #2 - May 22nd, 2026 at 7:01am
Print Post  
Screen from the app.
  

uGxVLscz5I.png ( 32 KB | 2 Downloads )
uGxVLscz5I.png
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3486
Joined: Oct 19th, 2005
Re: Stroke with dasharray is not displayed on an SVG node.
Reply #3 - May 22nd, 2026 at 8:53am
Print Post  
We do pass stroke-dasharray="0, 2" from the SVG file to WPF as a DashStyle, but WPF appears to interpret the zero-length gap as a continuous line. We were unable to quickly find clear information on how SVG specifies zero gaps should be handled, our developer will investigate this further next week.

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


tech.support

Posts: 3486
Joined: Oct 19th, 2005
Re: Stroke with dasharray is not displayed on an SVG node.
Reply #4 - May 22nd, 2026 at 9:29am
Print Post  
Now seeing that the dashed line's color is white, so the zero is probably dash length and not gap one, and we might have to add some dash caps to show white dots over the solid black line behind.

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