Erdiagram and UML diagram

Source: Internet
Author: User

ErFigure: Entity-Contact Diagram(Entity-relation di.pdf)Used to create a data model,This is a conceptual design stage in the introduction to database systems,ErA graph provides a method to represent entities (that is, data objects), attributes, and associations. It is used to describe the conceptual model of the real world.

 

CompositionE-RThe basic elements of a graph are entities, attributes, and links. The representation is as follows:

Solid shape: indicates the entity name in a rectangle;

Attribute: It is represented by an elliptical or rounded rectangle and connected to the corresponding object with an undirected edge. The multi-value attribute is connected by two lines. The main attribute name is underlined;

Contact: It is represented by a diamond. The contact name is specified in the diamond box, and the contact type is connected to the relevant entity by the undirected edge.

InE-RThe figure must clearly indicate1Many-to-many relationship,1Pair1Relationship and many-to-many relationship.

1Pair1Link is written in the direction of two physical connections.1;

1For multiple links1Written by one party1, Write by multiple partiesN;

Multiple-to-many relationships are written in the direction of the two physical connections.N, m

 

 

 

 

 

UML:

The first use case diagram (Use Case digoal)

The second type is static digraphs, including class graphs, object graphs, and packet graphs.

The third type is the behavior diagram (behavior digraphs)

Interactive digraphs)

The fifth type is the implementation graph (Implementation divisor ).

Use case diagram: By the participants (Actor), Use cases (Use Case) And the relationship between them constitute a dynamic view used to describe system functions called the use case diagram

The Use Case chart is composed (Actor), Use cases (Use Case), System boundary, Arrow, Function composition, using the drawing method to complete

 

Flowchart: The rounded rectangle indicates start and end ". Rectangle indicates the Action Plan, common work links, and diamond indicates the problem judgment or determination (review/approval/review). parallelogram indicates the input and output, and arrow indicates the flow direction.

 

 

 

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.