Link shown with dashed line

@walter In myDiagram using link.path.strokeDashArray = [4, 4]; .I have to highligted the strokeDashArray

image
image
the second img highlighted the dashline but it looks link solid highlighted.I want highlighted should be a
image

Is that Link selected? I.e. is it Part.isSelected?

If so, then what is shown is an Adornment that has a solid blue Shape whose Geometry follows the Link’s route. You can customize the Link’s Part.selectionAdornmentTemplate so that its Shape has a Binding of the Shape.strokeDashArray property to result in a dashed blue line.

A completely different implementation choice would be not to use selecton Adornments at all (set Part.selectionAdorned to false) and just bind the Link’s Shape’s Shape.stroke property to be blue when the Link is selected or highlighted.