This is a creation in
Article, where the information may have evolved or changed.
Using tool GO-PACKAGE-PLANTUML to analyze the source code of Go project, generate UML class diagram automatically
PLANTUML Tools Introduction
PLANTUML supports converting "text-describing UML class diagrams" to class diagrams in picture form.
Examples of class diagrams use are as
When you use Microsoft Visio to draw a use case diagram today, you find that the include relationship is not found in the Visio UML use case, which is the "arrow" + "Finally, a workable solution was found:First: Open the UML Model diagram, software and database, Microsoft visio-> newThen select "
Document directory
The UML use case diagram contains three relationships: (include), (extend), and (generalization ).
Overview
The Use Case attempts to summarize the relationship between roles and systems in the use case, and describes the functional requirements of the system, the interaction between roles and systems, and the system response.
Official definition: Use Cases define a set of use cases,
The UML diagram and code expression of the relationship between classes and classes in java. If you need it, refer to it. There is a relationship between the class and the class:
Generalization)
Dependency)
Association)
Aggregation)
1. Generalization)
Definition:Represents the inheritance relationship between classes, the inheritance relationship between interfaces, or the Implementation relations
Finally began to refactor, the machine room reconstruction can be said to be a very important at this stage of our small project, because it relates to our time to learn all kinds of knowledge; First we use the knowledge of the soft workers, to do the work of writing documents before development, followed by the UML diagram, and then the main development environment of our refactoring is VS, It involves the
UML Class diagram: To understand the class diagram of the lines between the various classes, what the arrow means is enough to deal with day-to-day work and communication, and we should be able to match the meaning of the class diagram to the final code; With this knowledge, there is no problem with the design pattern
The interaction diagram is used to describe how objects interact in the system, that is, how a group of objects transmit messages.
An interaction diagram consists of a group of objects and their relationships, including: What objects are required, what messages are sent between objects, what roles start a message, and how messages are sent in what order.
Interaction graph classification:
Interaction graphs
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
The existence of UMLClass diagram is a UML diagram with high frequency, which is used to describe the classes contained in the narrative system and the relationship between them, to help people to simplify the understanding of the system, is also an important product of the system analysis and design phase, but also the system coding and testing of the important
1. UML Class Diagram Foundation--the representation method of various relations
2. Automated remote control UML diagram
Main requirements for automated remote control:
1. Telnet to the client without entering a password. Allows you to log in multiple units simultaneously
Client, you can also log on to the cli
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
Use case diagram (Use Case daigrams)
The Use Case view of UML is the view of the external feature description of software products. It describes the demand for software products from the user's perspective rather than the developer's width, and analyzes the functions and dynamic behavior required by the product.
The use case diagram in
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
Relationship between classes (1)In a software system, classes do not exist independently. Classes and classes have various relationships. for different types of relationships, UML provides different representations.1. AssociationAssociation is the most common relationship between a class and a class. It is a structured relationship used to indicate the relationship between a Class Object and another class object, such as cars and tires, masters and ap
Unified Modeling Language (UML. It includes the following important functions:
Visualizing)
Specifying)
Construting)
Document creation (documenting)
UML includes:
User case diagrams)
Class Diagrams)
Sequence Diagram (sequence diagrams)
Collaboration diagrams)
Activity diagram (activitiy diagrams)
Component
message.Arrow point to: Point to the message receiverB. Generalization (inheritance)Is the commonly understood inheritance relationship, where the child use case is similar to the parent use case, but behaves more specifically, and the child use case inherits all the structures, behaviors, and relationships of the parent use case. A child use case can use a section of the parent use case, or it can be overloaded. The parent use case is usually abstract.Arrow pointing to: pointing to the parent
learn the specific parameters of phpuml through phpuml-help.
With xmi, how can we convert it into a UML diagram?
Visio2007 does not support importing XMI. I found another tool: Altova MapForce, which supports conversion from XMI to UML diagrams and needs to be registered, however, a 30-day license is provided (if you have a better replacement solution, please ad
OverviewTime series diagrams (Sequence Diagram) describe the chronological order in which messages are routed between objects, which are used to denote the order of behavior in a use case.The time series diagram contains 4 elements, namely the object (OBJCE), the Lifeline (Lifeline), the message, and the activation (Activation).Time series diagrams in UML are rep
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
artifacts must be on the nodes that correspond, rather than being isolated. iv. Explanation of the deployment diagram(1) Node: the common name of the compute resource. Includes processors and devices. Where the processor is the hardware structure that can execute the program, such as computers and servers. A device is a service that is performed externally through an interface, such as a printer. Each node should give the appropriate tag description,
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.