Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Kulagin on June 21, 2019, 10:20:44 pm
-
I'm trying to add swimlanes to the activity diagram, like this: (https://i.imgur.com/1N0wD8F.gif)
And I don't understand how to do it in EA. I found it in user guide(Swimlanes (https://sparxsystems.com/enterprise_architect_user_guide/14.0/modeling_tools/swimlanes.html)) but I don't understand how to make it work.
Here's what I tried so far:
https://www.youtube.com/watch?v=Z1OnYUbTfXc
So how do I create swimlanes in EA?
-
You don't add swimlanes to an Activity but Activity Partitions.
Simply select it from the toolbox and put it on the diagram.
Swimlanes in EA are a different (only graphical) thing that don't have any "real" model value.
They should only be used to make a diagram visually more attractive, not for anything meaningful.
Geert
-
Ok, thanks. I'll try that.
-
You don't add swimlanes to an Activity but Activity Partitions.
Simply select it from the toolbox and put it on the diagram.
Swimlanes in EA are a different (only graphical) thing that don't have any "real" model value.
They should only be used to make a diagram visually more attractive, not for anything meaningful.
Geert
Ok, I did that and here's what I get:
(https://i.imgur.com/DJ3wFS8.png)
How do I rotate it by 90° clock-wise so text appears at the top and is horizontal? So it looks like on the screenshot below. It also looks like it doesn't add a line at the end of the activity partition? How to add a line at the end of activity partition, so the shape is complete?
I went through every single option in properties of this element and didn't find these options. I just want to make it look normal, like this:
(https://i.imgur.com/1N0wD8F.gif)
-
Ok I found how to rotate it, I had to click on this icon:
(https://i.imgur.com/m6aX0Q2.png)
But how do I complete the shape? Because without the line at the end it is incomplete.
-
An ActivityPartition doesn't have such a line at the end.
The way EA does it is correct (I just checked the UML specs and all the examples there don't have that bottom line either)
Geert
-
Just as a side note: your example model from the last picture would never work.
q.
-
Just as a side note: your example model from the last picture would never work.
Yeah, an Enterprise Architect supporting a project team - it would never happen :-)
-
lol, no. Actually it's semantically incorrect as it has blocking waits. The central Model action has 5 incoming edges but only the start fires a token. None of the others have any token available. This is not an AD but a Powerpoint presentation (aka nonsense or: where came all those Indians from? So many arrows...)!
q.
-
lol, no. Actually it's semantically incorrect as it has blocking waits. The central Model action has 5 incoming edges but only the start fires a token. None of the others have any token available. This is not an AD but a Powerpoint presentation (aka nonsense or: where came all those Indians from? So many arrows...)!
If you read it as BPMN (with lanes) it's worse. Each activity will start for a single incoming event and on completion will activate all outgoing relationships.
-
The rules for ADs are the same here as in BPMN. That's why I said it's actually Powerpoint.
q.
-
The rules for ADs are the same here as in BPMN. That's why I said it's actually Powerpoint.
or "an engagement model" <shudders>
-
The rules for ADs are the same here as in BPMN. That's why I said it's actually Powerpoint.
They are very different.
An ExecutableNode shall not execute until all incoming ControlFlows (if any) are offering tokens.
Uncontrolled flow means that, for each token arriving on any incoming Sequence Flows into the Activity, the Task
will be enabled independently of the arrival of tokens on other incoming Sequence Flows.
Reading it as a UML Activity Diagram means that nothing ever happens. Reading it as a BPMN Process means unbounded exponentially increasing work.
-
Well, yes, admittedly I have no big plan of BPMN. Anyhow, the OP is talking about AD (that's what the title says). So telling it would not comply with a BPMN is a bit off. At least.
q.