UML Tools for Ubuntu

Unified Modelling Language (UML) is a modelling languages. It is typically used in the design phase of object oriented software development process, to express the thought in graphical representation, to visualize the system and so on. UML, created by OMG (Object Management Group), has now become the standard approach to software modelling. In fact, the UML diagrams makes coding part easier in complex systems, so the time you would spent in drawing will save you a lot of time (later, during development/implementation phase). UML diagrams represents – Static as well as Dynamic views of a system, by using UML tools you can draw – class diagrams, activity diagrams, sequence diagrams, use case diagrams etc.

There are various tools available such as IBM Rational Rose, for drawing UML diagrams but in this post you are going to know about some open source modelling tools, that you can use on your Linux based Operating systems e.g Ubuntu 11.04 (Natty Narwhal) /11.10 (Oneiric Ocelot, the code name of upcoming version)/ or older versions such as 10.10/10.04 LTS…, Linux Mint, Fedora, OpenSuse etc.

UML Modelling Tools for Ubuntu (11.04/11.10/10.04/10.10..) or other Linux OS

Here are some of the most popular free and open source UML Modelling softwares that you can use with Ubuntu or other Linux distro, some of them are cross-platform i.e also available for Windows and Mac OS. Try some of them and choose the one which suits you best.

Umbrello UML Modeller

Umbrello is a KDE based software for creating UML diagrams in standard format. It supports a lot of languages and code generation (advanced code generation is available for ruby) is also supported, it has all basic features – that you expect from a UML tool.

umbrello-uml-modelling-tool

Download Umbrello UML Tool or better install it from command line (in Ubuntu or Debian based system) -

sudo apt-get install umbrello

Gaphor

Gaphor is a cross-platform UML tool with simplicity, before installing it be sure to check for its dependencies such as Python (version 2.5 or later).

Download Gaphor

gaphor-uml-tool-for-ubuntu

ArgoUML

ArgoUML is one of the best open source – ‘software modelling tool’ with a lot of advanced features. It is a java based (and of course cross-platform) application.

argouml-snapshot

The supported diagrams are -

  • class diagrams
  • statechart diagrams
  • use case diagrams
  • activity diagrams
  • sequence diagram
  • deployment diagram

Download ArgoUML (Latest version 0.32.2 was released on April, 2011)

Dia

Dia is a GTK based drawing program that can be used for drawing UML diagrams, Flowcharts, Network diagrams etc.

Download Dia

Web Based UML Tools

If you’re not happy with any of the desktop applications, then you can try this online UML Tool  http://www.genmymodel.com/. It’s easy to use, it’s fast and it offers lots ofcool features such as  code generation, collaboration over github and more!

Update #1. Added an online tool to the list of UML programs

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Umbrello UML Modeller Handbook(PDF手册,英文版),内容摘要:Umbrello UML Modeller helps the software development process by using the industry standard Unified Modelling Language (UML) to enable you to create diagrams for designing and documenting your systems. 目录:1 Introduction 7 2 UML Basics 8 2.1 About UML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.2 UML Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.2.1 Use Case Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.2.1.1 Use Case . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.2.1.2 Actor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.2.1.3 Use Case Description . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.2.2 Class Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.2.2.1 Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.2.2.1.1 Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.2.2.1.2 Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.2.2.1.3 Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.2.2.2 Class Associations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.2.2.2.1 Generalization . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.2.2.2.2 Associations . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.2.2.2.3 Aggregation . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.2.2.2.4 Composition . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.2.2.3 Other Class Diagram Items . . . . . . . . . . . . . . . . . . . . . . . 13 2.2.2.3.1 Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.2.2.3.2 Datatypes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.2.2.3.3 Enums . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.2.2.3.4 Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.2.3 Sequence Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.2.4 Collaboration Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.2.5 State Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.2.5.1 State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.2.6 Activity Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.2.6.1 Activity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.2.7 Helper Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.2.8 Component Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Umbrello UML Modeller Handbook 2.2.9 Deployment Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.2.10 Entity Relationship Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.2.10.1 Entity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.2.10.1.1 Entity Attributes . . . . . . . . . . . . . . . . . . . . . . . . 19 2.2.10.1.2 Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.2.11 Extended Entity Relationship (EER) Diagram Concepts . . . . . . . . . . . . 19 2.2.11.1 Specialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.2.11.1.1 Disjoint Specialization . . . . . . . . . . . . . . . . . . . . 20 2.2.11.1.2 Overlapping Specialization . . . . . . . . . . . . . . . . . 20 2.2.11.1.3 Category . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3 Working with Umbrello UML Modeller 22 3.1 User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.1.1 Tree View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.1.2 Documentation and Command History Window . . . . . . . . . . . . . . . . 23 3.1.3 Work Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.2 Creating, Loading and Saving Models . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.2.1 New Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.2.2 Save Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.2.3 Load Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.3 Editing Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.4 Adding and Removing Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.4.1 Creating Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.4.2 Removing Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.4.3 Renaming Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.5 Editing Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 3.5.1 Insert Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.5.2 Deleting Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.5.3 Editing Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 3.5.4 Editing Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.5.4.1 Class General Settings . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.5.4.2 Class Attribute Settings . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.5.4.3 Class Operations Settings . . . . . . . . . . . . . . . . . . . . . . . . 27 3.5.4.4 Class Template Settings . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.5.4.5 Class Associations Page . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.5.4.6 Class Display Page . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.5.4.7 Class Style Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.5.5 Associations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.5.5.1 Anchor Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.5.6 Notes, Text and Boxes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.5.6.1 Anchors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 4 Umbrello UML Modeller Handbook 4 Code Import and Code Generation 30 4.1 Code Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 4.1.1 Generating Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 4.1.1.1 Generation Options . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 4.1.1.1.1 Comment Verbosity . . . . . . . . . . . . . . . . . . . . . . 31 4.1.1.1.2 Folders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 4.1.1.1.3 Overwrite Policy . . . . . . . . . . . . . . . . . . . . . . . 32 4.1.1.1.4 Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 4.1.1.2 Generation Wizard Generation . . . . . . . . . . . . . . . . . . . . . 32 4.2 Code Import . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 5 Other Features 34 5.1 Other Umbrello UML Modeller Features . . . . . . . . . . . . . . . . . . . . . . . . . 34 5.1.1 Copying objects as PNG images . . . . . . . . . . . . . . . . . . . . . . . . . 34 5.1.2 Exporting to an Image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 5.1.3 Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 5.1.4 Logical Folders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Reference: http://docsbay.net/handbook-umbrello-uml-modeller-handbook
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值