Dotted line connection


I saw that exists a Sequence Flow that is represented with a solid line and arrowhead and shows in which order the activities will be performed.

But I would like to know if exists a dotted line, to represent Business Process Modeling Notation (BPMN)


Just set the StrokeDashArray of the link’s Path shape.

Look at the Table sample for an example of this.

Thank you !! I saw StrokeDashArray now.

But can I use 2 types of connection ( LinkTemplate ) in a diagram as a real BPM diagram ? Because in FlowChart example, I saw that I can set StrokeDashArray for LinkTemplate and use it… But link will be dotted or not, can I mix it ina diagram? How to do it?

<go:Diagram x:Name=“myDiagram” Grid.Column=“2”
NodeTemplateDictionary="{StaticResource NodeTemplateDictionary}"
LinkTemplate="{StaticResource LinkTemplate}" />

Basically there are two ways to do this.

For simple parameterization, add a property to your data and data-bind the element property to your data property. There are lots of examples of this in the samples. The GoXamIntro document also talks about it.

You might find that you would prefer to define your own data-binding converter. There are examples of this too. We provide some commonly used converters, which are also used in the samples.

The other way to do this is to use separate DataTemplates. This makes the most sense when there are structural differences between the ways that you want a Part to appear. It can be easier to define two or three different simple DataTemplates instead of one very complex one. Simple templates are created faster too. You use data category names to select DataTemplates. Again this is introduced in GoXamIntro, and there are many examples of this in the samples.

Walter, thank you very much…, I will read this document to help me too.