1.starUML建立类图

小浩 Lv3
  1. 打开starUML,双击Untitled修改名字。

    uml14

  2. 新建类图->Class Diagram

    uml15

  3. 画类图,创建一个Class,右键->Add->Attribute

    image-20240410152752446

  4. 添加属性->在右下角出现的属性进行编辑

    image-20240410153258815

  5. 添加方法->选中类,右键Add->Atrribute

    image-20240410153139634

  6. 填写方法的属性,右键方法->Add->Parameter

    image-20240410155209465

    右下角填写属性 visibility:public前面是➕,visibility:private前面是➖

  • Title: 1.starUML建立类图
  • Author: 小浩
  • Created at : 2024-04-10 15:08:35
  • Updated at : 2024-06-08 13:52:13
  • Link: https://blog.xh8.shop/2024/04/10/1-UML建立类图/
  • License: This work is licensed under CC BY-NC-SA 4.0.
Comments
On this page
1.starUML建立类图