Bỏ qua để tới nội dung chính
Đăng nhập với Microsoft
Đăng nhập hoặc tạo một tài khoản.
Xin chào,
Chọn một tài khoản khác.
Bạn có nhiều tài khoản
Chọn tài khoản bạn muốn đăng nhập.
Tiếng Anh
Chúng tôi rất tiếc. Bài viết này không có bằng ngôn ngữ của bạn.

Add multiplicity notations to your Visio UML diagram to specify the quantity relationship between the objects.

In this article

Set the multiplicity value

  1. In Visio, on the File menu, click New > Software, and then click UML Database Notation.

  2. Choose between Metric Units or US Units, and click Create.

  3. From the UML Database Notation stencil, drag an Entity shape onto the drawing page.

  4. Drag another Entity shape onto the drawing page to create a second entity.

  5. Drag a Relationship shape onto the drawing page to create the relationship line.

  6. To connect the entities, drag the left end of the relationship line to the first entity, and glue it to an attribute, a connection point, or the entire entity. Drag the other end of the relationship line, and glue it to the second entity.

  7. Right-click the Relationship shape, and click Show Multiplicity.

    Click Show Multiplicity

  8. Click the first multiplicity field, and type in the value.

    Click the first multiplicity field, and type in the value.

  9. Enter the multiplicity value in each field. Right-click unwanted fields and select Delete.

  10. Set the UML relations notation symbols on both ends of the relationship line:

    • Right-click the relationship line, click Set Begin Symbol, and choose from the list.

    • Right-click the relationship line again, click Set End Symbol, and choose from the list.

    Set the UML relations notation symbols on both ends of the relationship line.

Top of Page

Change the appearance of the UML notation

  1. Right-click the relationship line, and click Format Shape.

  2. Click Line in the right pane to expand the list.

  3. Change the color of the relationship line by clicking the icon next to Color, and selecting a color.

  4. Click Begin Arrow size or End Arrow size to change the size of the Begin and End symbols.

  5. Add text by selecting the relationship line and typing the text.

Top of Page

Bạn cần thêm trợ giúp?

Bạn muốn xem các tùy chọn khác?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Thông tin này có hữu ích không?

Điều gì ảnh hưởng đến trải nghiệm của bạn?
Khi nhấn gửi, phản hồi của bạn sẽ được sử dụng để cải thiện các sản phẩm và dịch vụ của Microsoft. Người quản trị CNTT của bạn sẽ có thể thu thập dữ liệu này. Điều khoản về quyền riêng tư.

Cảm ơn phản hồi của bạn!

×