Skip to content

Gaphor

Desktop modeling tool for UML, SysML, RAAML and C4 diagrams, scriptable in Python

Permissive (OSI) · Apache-2.0
  • macOS
  • Linux

Listed by , founder & editor

72

Health

Active

Overview

Stars

2,293

Last commit

7 days ago

Nov 2026

Repository age

17 years

since Jun 2009

Latest version

3.3.2

May 2026

Contributors

–

10 active in 90 days

Releases

3

last 12 months

Language

Python

Gaphor is a modeling application for UML, SysML, RAAML and C4. It is written in Python with a GTK interface and Cairo rendering. It implements a full UML 2 data model, so diagrams are real models, not just drawings.

When you start, you pick a template: generic, UML, SysML, RAAML or C4. Gaphor selects the matching profile, and you can switch profiles later. A model browser lists every element you place. Gaphor is also a Python library, so you can script it or work with models in Jupyter notebooks.

It does not generate diagrams from source code or code from diagrams, though plugins can extend it. Installers exist for Windows and macOS, and it is on Flathub, Homebrew and PyPI. It is licensed Apache-2.0 and has been developed since 2009.

Who it's for

Systems engineers doing model-based work

It supports SysML and RAAML templates alongside UML.

Skip if: You need code generation from models.

Software architects documenting systems

The C4 and UML templates cover architecture views in a real model.

Skip if: You only want quick freeform sketches.

Python users who script models

Gaphor works as a library in scripts and Jupyter notebooks.

Skip if: You prefer a browser-based tool with live collaboration.

The problem it solves

Drawing UML or SysML in a generic diagram tool gives you pictures with no underlying model. Gaphor keeps a true model behind every diagram.

Strengths

  • Fully compliant UML 2 data model
  • Templates for UML, SysML, RAAML and C4
  • Usable as a Python library and in Jupyter
  • Apache-2.0 license, developed since 2009

Trade-offs

  • No code generation from diagrams
  • No diagram generation from source code
  • Desktop app only, no hosted version

Gaphor replaces

Frequently asked questions

Is Gaphor free?

Yes. It is open source under Apache-2.0.

Which platforms are supported?

Windows and macOS installers are provided, and it is on Flathub for Linux. A PyPI package also exists.

Which languages can I model in?

UML, SysML, RAAML and C4.

Can I script it?

Yes. It works as a Python library, including in Jupyter notebooks.

Other Microsoft Visio alternatives

Compare all 5 Microsoft Visio alternatives →

Similar tools in Diagramming and whiteboard tools

draw.io

Diagramming and whiteboard tools

Browser-based diagram editor for flowcharts, UML and network diagrams you can self-host

9.6k 1.4k 6 days ago Active Apache-2.0

Replaces Miro

OpenBoard

Diagramming and whiteboard tools

Interactive whiteboard app for classrooms on Windows, macOS and Debian

3.1k 540 10 days ago Active GPL-3.0

Azimutt

Diagramming and whiteboard tools

Database schema explorer and ERD tool for teams with large, messy databases

2.2k 144 3 months ago Dormant MIT

Freeplane

Diagramming and whiteboard tools

Free Java mind mapping desktop app with scripting, for personal and work notes

4.5k 508 yesterday Active GPL-2.0

Replaces Xmind

UMLet

Diagramming and whiteboard tools

Lightweight UML drawing tool for quick diagrams, with export to PDF, SVG and EPS

1.6k 321 13 months ago Dormant GPL-3.0

asciiflow

Diagramming and whiteboard tools

Browser-based editor for drawing ASCII diagrams you can export as plain text

6k 423 4 months ago Dormant MIT