In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "EA drawing UML activity diagram how to define activities", the content is easy to understand, clear, hope to help you solve doubts, the following let the editor lead you to study and learn "EA drawing UML activity diagram how to define activities" this article.
Define activities
There are two ways to define activities, directly defining and defining structured activities. We continue to take defining a univariate quadratic equation as an example to illustrate the method of defining activities and using activities.
Direct definition
Direct definition follows these steps:
Drag the following Activity icon in the activity diagram toolbar to the activity diagram screen.
Open the context menu of the activity and select [New Child Element]-[Activity Parameter] project to add activity parameters and set its properties.
Define composite structure diagram
Drag the following Activity icon in the activity diagram toolbar to the activity diagram screen.
Open the context menu of the activity and select [New Child Diagram]-[Composite Structure Diagram] to create a composite structure diagram. At this point, the activity is as follows:
Use activity
Direct use
After defining the activity directly, you can connect the control flow and object flow on the parameter node like the input and output pins. This is the scene from the previous article.
Invoke activity
No matter which way an activity is defined, the representation in the ProjectBrowser of EA is the same.
Drop as: select Invacation (Action).
Name: enter the name of the call, which is equivalent to an alias.
Structual: there are three options
Select:EA will then display the following [Strutual Element] dialog box, from which you can select the desired pin.
The activity generated by both definitions has the same representation when it is adjusted, but when you double-click the composite call activity symbol, the activity that defines the composite structure diagram represents the activity diagram at the next level. Activities that are directly defined only display the properties dialog box.
Almost a decade ago, the first time I took a large-scale project that followed the development process strictly, I used a flowchart. This is what I said when I told you the difference between actions and activities:
If it represents a function (including operation, method) call, use an activity, and if it is a simple processing, use an action.
Today, from the point of view of the UML activity diagram, this is not an accurate statement.
The function call is the action in the activity diagram, not the activity, but the part of the function definition.
The above is all the contents of the article "how to define activities in EA drawing UML activity diagrams". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.