Hi,
Re: Activity diagram: Showing inputs via API calls
When I model an input to an activity diagram, I add a parameter on the left border (straddles”) and so I get a clear visual indication of input entering the activity via this graphic “pipe”.
With my platform (Sparx EA), this parameter then appears also as a code parameter in the behavior heading of the owning block. So far has been so good.
But of course that is not the only way that an activity can obtain input. The activity can also input data by making API calls to other blocks, e.g., Y.getdata().
Question: Is there any special way that you show this input via an API call? Or do you just add an action on the control flow whose name is “Get Y data”? And so on for all other gets? (And you can group them.)
Thanks,
Avi
On 6 Jul 2021, at 04:01, avi-mak <amak...@gmail.com> wrote:
--
--
You received this message because you are subscribed to the Google
Groups "SysML Forum" group.
Public website: http://www.SysMLforum.com
To post to this group, send email to sysml...@googlegroups.com
To unsubscribe from this group, send email to
sysmlforum+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sysmlforum?hl=en_US?hl=en
---
You received this message because you are subscribed to the Google Groups "SysML Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sysmlforum+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sysmlforum/8f17da67-5c3c-43b8-97e8-e297d0fb137cn%40googlegroups.com.
When an activity has “mixed inputs” (i.e., inputs coming from both i/p parameters and also API calls), from a quick look you notice the parameterized inputs but not the API inputs. (Very important for novices and those you are trying to impress.)
So since you say you just add an action to do “get data”, my sugestion to add some visual obviousness and consistency is as follows:
