Visio Drawing Event diagrams

Source: Internet
Author: User
transferred from: http://www.cnblogs.com/kissazi2/archive/2012/06/12/2546353.html   Why do you want to draw an event diagram?

For programmers, we need to know what a single event (or function) needs to be driven (or what the object passes in), and who will be treated (such as returning a result to an object, or adding or deleting a database). An event diagram is a streaming diagram that describes the context of an event. The input source and output source are explicitly indicated in the event diagram.

how to draw an event diagram with Visio2010.

1, because the event diagram is essentially one of the flow chart. So select the data flow model diagram.

2, because the concept is related to the data flow context diagram, the concept is not clear, click here

Create an event diagram

The following is a purchase system of the shopping subsystem as an example to explain.

because you are dealing with a database, the name of the table in the database. Because the class diagram is too large for our analysis process is not much help, this is not put on the class diagram.

User Information Table UserInfo: Stores the user's basic information and the corresponding user type.

Order Vendor Correspondence Table Salelist: corresponds to the supplier and his order.

Permission table: Authority

Order Form Purchaserecords: The main record of an order of goods and purchase of users, orders related information.

Commodity table Goodinfo: The main record of the goods related information.

Evaluation Form Comment: The main record of a product in the corresponding comments.

start creating an event diagram. Steps

1. Distinguish between internal and external

2. The event needs to respond to what the object's request

3. What results and destinations must be output by the event

Here is the chart of events we have made. (because it is relatively simple, here only the steps, not the decomposition of the steps.) This is the event diagram that submits the order.

You can see that the event graph and context diagram are similar.

However, the context diagram is for the entire system, and the external agent is a member, supplier, etc. that deals with the entire system.

The event diagram is for an event where an external agent is the person or object within the system that is associated with the event.

In addition, the event graph is more granular and has been refined to deal with an object within the system, a table in the database.

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.