Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions wpf/Diagram/BPMN-Shapes/BPMN-Activity.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ BpmnNodeViewModel node = new BpmnNodeViewModel()
};

// Add the node into the Node's collection.
(Diagram.Nodes as NodeCollection).Add(node);
(diagram.Nodes as NodeCollection).Add(node);

{% endhighlight %}
{% endtabs %}
Expand Down Expand Up @@ -97,7 +97,7 @@ BpmnNodeViewModel node = new BpmnNodeViewModel()
};

// Add the node into the Node's collection.
(Diagram.Nodes as NodeCollection).Add(node);
(diagram.Nodes as NodeCollection).Add(node);

{% endhighlight %}
{% endtabs %}
Expand Down Expand Up @@ -154,7 +154,7 @@ BpmnNodeViewModel node = new BpmnNodeViewModel()
};

// Add the node into the Node's collection.
(Diagram.Nodes as NodeCollection).Add(node);
(diagram.Nodes as NodeCollection).Add(node);

{% endhighlight %}
{% endtabs %}
Expand Down Expand Up @@ -201,7 +201,7 @@ BpmnNodeViewModel node = new BpmnNodeViewModel()
};

// Add the node into the Node's collection.
(Diagram.Nodes as NodeCollection).Add(node);
(diagram.Nodes as NodeCollection).Add(node);

{% endhighlight %}
{% endtabs %}
Expand Down Expand Up @@ -257,7 +257,7 @@ BpmnNodeViewModel node = new BpmnNodeViewModel()
};

// Add the node into the Node's collection.
(Diagram.Nodes as NodeCollection).Add(node);
(diagram.Nodes as NodeCollection).Add(node);

{% endhighlight %}
{% endtabs %}
Expand Down Expand Up @@ -304,7 +304,7 @@ BpmnNodeViewModel node = new BpmnNodeViewModel()
};

// Add the node into the Node's collection.
(Diagram.Nodes as NodeCollection).Add(node);
(diagram.Nodes as NodeCollection).Add(node);

{% endhighlight %}
{% endtabs %}
Expand Down Expand Up @@ -351,7 +351,7 @@ BpmnNodeViewModel node = new BpmnNodeViewModel()
};

// Add the node into the Node's collection.
(Diagram.Nodes as NodeCollection).Add(node);
(diagram.Nodes as NodeCollection).Add(node);

{% endhighlight %}
{% endtabs %}
Expand Down Expand Up @@ -396,7 +396,7 @@ BpmnNodeViewModel node = new BpmnNodeViewModel()
};

// Add the node into the Node's collection.
(Diagram.Nodes as NodeCollection).Add(node);
(diagram.Nodes as NodeCollection).Add(node);

{% endhighlight %}
{% endtabs %}
Expand Down
6 changes: 3 additions & 3 deletions wpf/Diagram/BPMN-Shapes/BPMN-Connectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ SfDiagram diagram = new SfDiagram();
TargetPoint = new Point(200, 100)
};
// Add the BpmnFlowViewModel into the Connectors's collection.
(Diagram.Connectors as GroupCollection).Add(flow);
(diagram.Connectors as GroupCollection).Add(flow);

{% endhighlight %}
{% endtabs %}
Expand Down Expand Up @@ -106,7 +106,7 @@ SfDiagram diagram = new SfDiagram();
TargetPoint = new Point(200, 100)
};
// Add the BpmnFlowViewModel into the Connectors's collection.
(Diagram.Connectors as GroupCollection).Add(flow);
(diagram.Connectors as GroupCollection).Add(flow);

{% endhighlight %}
{% endtabs %}
Expand Down Expand Up @@ -157,7 +157,7 @@ SfDiagram diagram = new SfDiagram();
TargetPoint = new Point(200, 100)
};
// Add the BpmnFlowViewModel into the Connectors's collection.
(Diagram.Connectors as GroupCollection).Add(flow);
(diagram.Connectors as GroupCollection).Add(flow);

{% endhighlight %}
{% endtabs %}
Expand Down
2 changes: 1 addition & 1 deletion wpf/Diagram/BPMN-Shapes/BPMN-Data-Object.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ BpmnNodeViewModel node = new BpmnNodeViewModel()
};

// Add the node into the Node's collection.
(Diagram.Nodes as NodeCollection).Add(node);
(diagram.Nodes as NodeCollection).Add(node);

{% endhighlight %}
{% endtabs %}
Expand Down
2 changes: 1 addition & 1 deletion wpf/Diagram/BPMN-Shapes/BPMN-Data-Store.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ BpmnNodeViewModel node = new BpmnNodeViewModel()
};

// Add the node into the Node's collection.
(Diagram.Nodes as NodeCollection).Add(node);
(diagram.Nodes as NodeCollection).Add(node);

{% endhighlight %}
{% endtabs %}
Expand Down
4 changes: 2 additions & 2 deletions wpf/Diagram/BPMN-Shapes/BPMN-Event.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ BpmnNodeViewModel node = new BpmnNodeViewModel()
};

// Add the node into the Node's collection.
(Diagram.Nodes as NodeCollection).Add(node);
(diagram.Nodes as NodeCollection).Add(node);

{% endhighlight %}
{% endtabs %}
Expand Down Expand Up @@ -96,7 +96,7 @@ BpmnNodeViewModel node = new BpmnNodeViewModel()
};

// Add the node into the Node's collection.
(Diagram.Nodes as NodeCollection).Add(node);
(diagram.Nodes as NodeCollection).Add(node);

{% endhighlight %}
{% endtabs %}
Expand Down
12 changes: 6 additions & 6 deletions wpf/Diagram/BPMN-Shapes/BPMN-Expanded-Sub-Process.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ BpmnGroupViewModel group = new BpmnGroupViewModel()
IsExpandedSubProcess = true
};
// Add the group into the Group's collection.
(Diagram.Groups as GroupCollection).Add(group);
(diagram.Groups as GroupCollection).Add(group);

{% endhighlight %}
{% endtabs %}
Expand Down Expand Up @@ -144,7 +144,7 @@ BpmnGroupViewModel group = new BpmnGroupViewModel()
// Add the connector into the Connector's collection.
(group.Connectors as ConnectorCollection).Add(flow);
// Add the group into the Group's collection.
(Diagram.Groups as GroupCollection).Add(group);
(diagram.Groups as GroupCollection).Add(group);

{% endhighlight %}
{% endtabs %}
Expand Down Expand Up @@ -212,7 +212,7 @@ BpmnGroupViewModel group = new BpmnGroupViewModel()
LoopActivity = LoopCharacteristic.Standard
};
// Add the group into the Group's collection.
(Diagram.Groups as GroupCollection).Add(group);
(diagram.Groups as GroupCollection).Add(group);

{% endhighlight %}
{% endtabs %}
Expand Down Expand Up @@ -270,7 +270,7 @@ BpmnGroupViewModel group = new BpmnGroupViewModel()
IsCompensationActivity = true
};
// Add the group into the Group's collection.
(Diagram.Groups as GroupCollection).Add(group);
(diagram.Groups as GroupCollection).Add(group);

{% endhighlight %}
{% endtabs %}
Expand Down Expand Up @@ -320,7 +320,7 @@ BpmnGroupViewModel group = new BpmnGroupViewModel()
IsAdhocActivity = true
};
// Add the group into the Group's collection.
(Diagram.Groups as GroupCollection).Add(group);
(diagram.Groups as GroupCollection).Add(group);

{% endhighlight %}
{% endtabs %}
Expand Down Expand Up @@ -367,7 +367,7 @@ BpmnGroupViewModel group = new BpmnGroupViewModel()
SubProcessType = SubProcessType.Event
};
// Add the group into the Group's collection.
(Diagram.Groups as GroupCollection).Add(group);
(diagram.Groups as GroupCollection).Add(group);

{% endhighlight %}
{% endtabs %}
Expand Down
2 changes: 1 addition & 1 deletion wpf/Diagram/BPMN-Shapes/BPMN-Gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ BpmnNodeViewModel node = new BpmnNodeViewModel()
};

// Add the node into the Node's collection.
(Diagram.Nodes as NodeCollection).Add(node);
(diagram.Nodes as NodeCollection).Add(node);

{% endhighlight %}
{% endtabs %}
Expand Down
4 changes: 2 additions & 2 deletions wpf/Diagram/BPMN-Shapes/BPMN-Group.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ BpmnGroupViewModel group = new BpmnGroupViewModel()
UnitHeight = 250,
};
// Add the group into the Group's collection.
(Diagram.Groups as GroupCollection).Add(group);
(diagram.Groups as GroupCollection).Add(group);

{% endhighlight %}
{% endtabs %}
Expand Down Expand Up @@ -129,7 +129,7 @@ BpmnGroupViewModel group = new BpmnGroupViewModel()
// Add the connector into the Connector's collection.
(group.Connectors as ConnectorCollection).Add(flow);
// Add the group into the Group's collection.
(Diagram.Groups as GroupCollection).Add(group);
(diagram.Groups as GroupCollection).Add(group);

{% endhighlight %}
{% endtabs %}
Expand Down
2 changes: 1 addition & 1 deletion wpf/Diagram/BPMN-Shapes/BPMN-Shapes.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ BpmnNodeViewModel node = new BpmnNodeViewModel()
};

// Add the node into the Node's collection.
(Diagram.Nodes as NodeCollection).Add(node);
(diagram.Nodes as NodeCollection).Add(node);

{% endhighlight %}
{% endtabs %}
Expand Down