|
Re: Expansion region vs. Combined Fragments [message #1693723 is a reply to message #1693713] |
Mon, 27 April 2015 22:19 |
|
Hi, Philippe,
These are two completely different things. An ExpansionRegion is a
kind of structured node in an Activity. A CombinedFragment is kind of
fragment of an Interaction. It would never be present in an activity.
The Papyrus sequence diagram editor does provide a tool for creation of
combined fragments.
HTH,
Christian
On 2015-04-27 19:33:43 +0000, Philippe de Rochambeau said:
> Hello,
>
> what is the difference between an Expansion Region (available in
> Papyrus) and a Combined Fragment (absent from Papyrus)?
>
> Is the former an earlier incarnation of the latter?
>
> Many thanks.
>
> Philippe
|
|
|
|
Re: Expansion region vs. Combined Fragments [message #1693806 is a reply to message #1693746] |
Tue, 28 April 2015 12:52 |
|
Hi, Philippe,
That feels to me like a good case for the ExpansionNode, which
naturally maps inputs to corresponding outputs. The LoopNode, for
example, would probably be more cumbersome and less expressive.
However, I'm not much experienced with activity modeling. Others on
this forum are (especially our fUML/ALF developers). Hopefully they
can provide more insight.
Cheers,
Christian
On 2015-04-28 05:43:25 +0000, Philippe de Rochambeau said:
> I have created an Activity Diagram in which Program 1 (in Activity
> Partition 1) feeds each line of a CSV file to Program 2 (in Activity
> Partition 2,) which then e-mails it to a recipient.
>
> Is using an Expansion Region the best way to model the "foreach line in
> CSV" that takes place in Activity Partition 1?
|
|
|
Powered by
FUDForum. Page generated in 0.03033 seconds