I am attempting to partition a decision node based on environment attributes. The process I am modeling is slightly different depending if a variable scope is public or private.
I am trying to associate the related Map Variables
action in the Pipeline
partition but cannot determine the best way to model this. Should I use a fork node only for this specific action or instead add the action for both decision flows into the existing Pipeline
partition?
-
You want to use object nodes instead. Your decision is not a hexagon but a diamond shaped element (so not correct UML).user188153– user1881532020年01月09日 22:47:51 +00:00Commented Jan 9, 2020 at 22:47
-
1It looks OK to me. If you want to use swimlanes (it's ugly) have a look at planttext.com/…Fuhrmanator– Fuhrmanator2020年01月10日 06:05:54 +00:00Commented Jan 10, 2020 at 6:05
-
By the way, I got back the PlantUML source from your imgur PNG using exif.regex.info/exif.cgiFuhrmanator– Fuhrmanator2020年01月10日 06:07:20 +00:00Commented Jan 10, 2020 at 6:07
-
@qwerty_so PlantUML puts the decision in the diamond making it a hexagon.Fuhrmanator– Fuhrmanator2020年01月10日 06:13:45 +00:00Commented Jan 10, 2020 at 6:13
-
@Fuhrmanator I thought so (seen that in another question). Doesn't make it right, though.user188153– user1881532020年01月10日 08:25:25 +00:00Commented Jan 10, 2020 at 8:25
1 Answer 1
Rather than swim lanes (which are purely graphical annotations) you would use Partitions which are concrete UML elements. You can classify these partitions (e.g. with components representing the environment in question).
Further I suggest to use Pins and an ObjectFlow where objects (like the YAML) are sent along actions.