Skip to content

Custom shapes for the creation of UML diagrams with Diagrams.net

License

Notifications You must be signed in to change notification settings

experimental-software/drawing-uml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drawing UML

custom shape libraries for draw.io that help with the creation of UML diagrams

Context

The Unified Modeling Language (UML) has been created in the 1990s as unification of the Booch method, the object-modeling technique (OMT), and object-oriented software engineering (OOSE). Later on, it was adopted by the Object Management Group (OMG) for standardization. UML diagrams can be used for sketching, creating blueprints, and as a programming language (see Fowler, p. 2). This project is focused on the sketching use case, as a tool to manage complexity in the context of reverse engineering, design, and discussion of complex software systems.

The Diagrams.net application (fka. draw.io) is a free general-purpose drawing tool that has a few shapes with which UML diagrams can be painted. This repository contains a collection of shape libraries with a customized set of UML shapes.

Quickstart

The simplest way to use the custom shape libraries from this repository is to copy one of the links below this paragraph to the clipboard, then visit the website app.diagrams.net, click the "Decide later" button when being asked where to store the diagram, and import the library via the menu entry "File > Open Library from > URL...".

Use Case DiagramComponent DiagramDeployment DiagramState Machine Diagram

drawing-uml-usage-demo.mp4

Advanced usage

The Diagrams.net app can also be downloaded and installed as a desktop app: drawio-desktop. In this case, it may be convenient to download the custom shapes and import them for the device as described below.

(1) Download the custom shape libraries

The custom shape libraries can be downloaded by clicking on this link or by executing either of these Shell commands in the terminal:

Download with git clone via SSH
git clone [email protected]:experimental-software/drawing-uml.git
Download with git clone via HTTPS
git clone https://github.com/experimental-software/drawing-uml.git
Download ZIP archive with curl
curl https://codeload.github.com/experimental-software/drawing-uml/zip/refs/heads/main \
  --output drawing-uml.zip
unzip drawing-uml.zip -d .

(2) Open the app

The app can be opened directly in the browser at app.diagrams.net or after downloading it from the drawio-desktop GitHub releases.

(3) Create a new diagram

(4) Import a library

The libraries from this repository can be imported via the menu entry "File > Open library from > Device".

Alternative projects

References

Draw.IO

Books on UML

About

Custom shapes for the creation of UML diagrams with Diagrams.net

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published