own starting and terminating states. Third, the icon of the state diagram(1) Status: Rounded Rectangle(2) Convert: Implement arrows(3) Event: Conversion Description text(4) Starting state: Ball(5) Termination status: Arrow with a circle pointing to the arrow IV, State diagram descriptionState diagrams describe the various states of model elements in the system life cycle, where the model elements contain o
) operator to explain that the interactive box will think that this information is unimportant, so ignore them (directly do not draw it out), or you can use the consider (emphasis) operator to explain that the interactive box that only this information is important, and therefore will show them.
Ref (Reference)
Used to point to an interactive situation as defined in another diagram. We'll make it a box that covers the lifeline of th
In object-oriented processing. The core of the class diagram, which provides the primary rules for defining and using objects.It is the descriptive description of the class, the interface and the relationship between them, which shows each class in the static structure of the system, the model. First, class diagram1. ClassA class is the basis for a class diagram that defines a set of objects with state and
After a bit of searching, Android Studio can automatically help us to generate UML class diagram, simply fantastic Http://www.gcssloop.com/course/UsePlantUMLInAS (Win), the specific approach to the blog address. The test is not based on the Java file automatically generated, but need to write their own dot syntax related code, such as, then give up1.UML Plotting
there is no loop in the instance diagram. In other words, it can only be a one-way relationship.
Figure F
Synthesis (composition)
Synthesis ( fig. G) is a special form of aggregation, implying "local" within the "whole" life-cycle responsibility. Synthesis is also not shared. Therefore, while the part does not necessarily have to be destroyed with the destruction of the whole, the whole is either responsible for maintaining a partial survival state o
without an arrow, an arrow pointing to a use case, and an arrow pointing to a role. No matter whether there are arrows or not, these lines are used to connect roles (villains) and use cases (circles), indicating what use cases a role can "do.A line with arrows indicates the flow of data during the interaction between the role and the system. If the arrow points to a use case, the role needs to input data to the system. If the arrow points to the role, the system outputs data to the role.The lin
Activity diagram, her English name is active Diagram, a workflow that describes the implementation of a business use case, which is one of the none of the diagrams used in the UML family to model dynamic aspects of the system.
To give a simple example, to build a work flow for example, first of all, we have to select an address, and then commissioned an architec
Object Class diagram: Class, attribute, connection (Association, generalization, aggregation, combination, dependency), interface, and constraint.
(Note: static attributes are underlined)
Interface ). The operation set used to describe a service of a class or component.
Data Type (datatype ). A type whose values are unchangeable, including simple built-in types (such as numbers and strings) and enumeration types (such as Boolean ).
Associ
, after reading the above description, we should understand the relationship between the relationships and specific to the code is how, so-called repetition, is only the above extension, such as A and B has a "1-to-many" of the repetition, there is a list in a, which holds the B object's n references , that's it.Well, to here, already put the above diagram of the relationship is finished, I hope you can have some gains, I also spent a lot of time ah (
In all UML diagrams, the most easy to understand is the use case diagram, which is also a UML diagram with the least elements, and also the most handy one for product managers.
I. Purpose
The use case diagram is often used to describe the requirements, so that users c
From: http://blog.csdn.net/onetree2010/article/details/6197463
In Visio, the relationship between the package and the class is the inclusion relationship. After the class is dragged into the folder of the package, the relationship is established. The binary Association symbol can be set to aggregation and synthesis.Interface: hollow circle + straight line (Tang Lao duck class implements 'talking thup ');Dependency: dotted line + arrow (relationship between animals and air );Association: solid l
embodiment": member variable"Arrows and points": solid lines with hollow diamonds, diamonds pointing to the whole5. Combination (composition)"Combinatorial relationship": the relationship between the whole and the part, but part cannot leave the whole and exist alone. If the company and the Department is a whole and part of the relationship, no company there is no department.A combinatorial relationship is a relationship that is stronger than the aggregation relationship, which requires that an
embodiment": member variable"Arrows and points": solid lines with hollow diamonds, diamonds pointing to the whole5. combination (composition)"Combinatorial relationship": the relationship between the whole and the part, but part cannot leave the whole and exist alone. If the company and the Department is a whole and part of the relationship, no company there is no department.A combinatorial relationship is a relationship that is stronger than the aggregation relationship, which requires that
Reference: http://hi.baidu.com/1987raymond/blog/item/ae2030f35223d5c70b46e041.html
A component diagram, also known as a component diagram, shows the organization and dependencies between a group of parts for source code, executable release, physical database, and adjustable system modeling.
This article introducesVs2010Component diagram inUML component Divisor.
I
In UML class diagrams, the following relationships are common:
Generalization (generalization)
Implementation (Realization)
Association (Association)
Aggregation (Aggregation)
Combination (composition)
Dependency (Dependency)
The order of strength of the various relationships:Generalization = implementation > Composition > Aggregation > Association > dependenciesFirst, generalization (generalization):The inheritance r
Before learning UML class diagrams, recommend a good website with lots of open source projects: Http://www.oschina.net/project. Also recommend an open source project: STARTUML, all of the following class diagram and the diagram between the classes are drawn with STARTUML. Let's take a sample before learning UML: Comme
Recently has been learning the basic knowledge of UML, after watching the video, and did not have a good summary, in the process of drawing found a lot of problems, the following is the process of reading their own summary of the UML use case diagram of a little knowledge, share with you.
First, the concept
A use case diagram
The activity diagram is another common tool used by UML to model the dynamic behavior of the system. It describes the activity sequence and shows the control flow from one activity to another. An activity chart is essentially a flow chart. The activity diagram focuses on the control flow from one activity to another. It is an internal processing-driven process. T
diagram.The following fragment types can be used to change this interpretation:
Fragment type
Name
Description
Consider
Consider
Specifies the list of messages described by this fragment. Other messages can occur on a running system, but this is not a very meaningful description.Type the list in the Messages property.
Ignore
Ignore
A list of messages not described in this fragment. These messages can occur in a running syst
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.