Hi,
I would like to have a dash line link in a link that is compose from two (or more) LinkShapes.
I’ve expect to see the link line broke in the pattern of StrokeDashArray but the result was something else.
I’ve reproduce the problem on the piping demo application.
I’ve change the link data template as follows:
<DataTemplate x:Key="PipeTemplate">
<go:LinkPanel go:Part.Reshapable="True"
go:Part.DropOntoBehavior="SplicesIntoLink"
go:Part.Visible="False">
<go:Link.Route>
<go:Route Routing="AvoidsNodes" Curve="JumpOver" Corner="5"
FromEndSegmentDirection="RotatedNodeOrthogonal"
ToEndSegmentDirection="RotatedNodeOrthogonal"
RelinkableFrom="True" RelinkableTo="True"
ToShortLength="5" />
</go:Link.Route>
<go:LinkShape
Stroke="{Binding Path=Link.IsDropOntoAccepted, Converter={StaticResource theStrokeChooser}}"
StrokeThickness="5"
StrokeDashArray="6,2"/>
<go:LinkShape Stroke="Gray" StrokeThickness="3" StrokeDashArray="6,2"/>
<go:LinkShape Stroke="WhiteSmoke" StrokeThickness="1" StrokeDashArray="6,2"/>
<Path go:LinkPanel.ToArrow="Triangle" Fill="Black" />
</go:LinkPanel>
</DataTemplate>
The result looks like this:
I've expect to see the lines broke after each 6 DIP but it's clearly not the result.
Thank you,
Ido.