How to Create a Uml Class Diagram Using MS Word

Written by shreya mehta
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Create a Uml Class Diagram Using MS Word
(Hemera Technologies/ Images)

Unified Modeling Language (UML) diagrams are used to depict entities, their attributes, and operations. A class diagram represents the structure of each entity and it's relationship with other entities. Each class consists of three sections: name of entity, attributes, and methods. A class diagram can easily be created in Microsoft Word 2007.

Skill level:

Other People Are Reading


  1. 1

    Open a new document in Microsoft Word 2007. Go to the "Insert" tab. Click on the "Text Box" button. Choose "Simple Text Box."

  2. 2

    Type the name of the entity, such as "Student". Repeat step 1 and add a text box below the Student text box. Resize the text box using your mouse so that it is aligned with the Student box.

  3. 3

    List the attributes of the entity followed by the return type. In our example, type the following attributes: student Id : Integer firstName : Char lastName : Char

  4. 4

    Add and align another text box below the attributes box. Type the methods or operations in this box followed by the return type, such as getAverageGrade() : Integer. Create the rest of the entity classes. Examples of other entities include "Course" and "Teacher".

  5. 5

    Add association lines between classes to illustrate the relationship between two classes. Go to the "Insert" tab and click on the "Shapes" button. Select a straight line and insert it between the "Students" and "Course" entities.

  6. 6

    Add role and multiplicity information. Double click above the line, next to the Student box. Type "0..*" to indicate a student can be enrolled in zero or more courses. Double click below the line and type the role "enrollsIn". Repeat these steps for the remaining relationships.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.