GAPHOR(1)
π GAPHOR π
okay bestie, so gaphor is a Simple GUI UML and SysML modeling tool β that's the whole vibe in one line, and honestly? it ate. this page lives in the User Commands chapter of the manual, so you know it's official official. π
πΈ SYNOPSIS πΈ
gaphor [-h] [-V] [COMMAND [OPTIONS] [ARGUMENTS...]]
like. that's the whole summoning ritual. no cap. β¨
π¦ DESCRIPTION π¦
So Gaphor is a simple-but-actually-super-powerful modeling tool for UML, SysML, RAAML and C4 β yes, all four, she's versatile like that. π
It hooks you up with two things:
- a whole graphical interface (the pretty part π¨)
- a collection of command-line utilities (the terminal-girl part π )
Here's the tea: if you don't pass any command at all, the GUI β that's gui β just starts up on its own. No arguments, no problem, she's already opening. π«Ά
Also, at some point you're gonna need to set up that schema, once, with:
gaphor install-schemas
and if you're installing it system-wide, do it as root. (yes, that root. the sudo one. respect her. π)
β¨ OPTIONS (global) β¨
Heads up bestie, these ones are global, which means they have to show up before any command. Put them after the command and it's giving... nothing. π
-h,--helpβ pops up a help message and dips out.-V,--versionβ prints the version number, then exits. iconic.
π COMMANDS π
π gui [-g] [--gapplication-service] [model ...]
Launches the graphical user interface. main character entry point fr fr.
-g,--greeterβ shows the new model greeter dialog (this is the move when you're not handing her a model file).--gapplication-serviceβ internal flag for GApplication activation. that's it, that's the whole thing, don't worry about it.modelβ one or more Gaphor model files to open.
π export [-u] [-o dir] [-f fmt] [-r regex] model [model ...]
Exports diagrams from a model out to files. very "send it to me in a usable format" of her. π
-u,--use-underscoresβ swaps spaces for underscores in the output filenames. aesthetic + also saves you from quoting hell.-o,--dirdirectory β output directory (default is the current directory, chill of her).-f,--formatformat β output format:pdf(that's the default),svg,png, etc.-r,--regexregex β only exports diagrams whose qualified name matches the regex, and it's case-insensitive. picky in a good way. π§
π html-report [-o dir] model [model ...]
Generates an HTML report from a model. yes ma'am, documentation that slaps. πβ¨
-o,--dirdirectory β output directory for the report.
π exec script
Executes a Python script inside the Gaphor environment (so you get access to the Gaphor API π₯).
(No extra options beyond the global logging flags. that's the whole row.)
π install-schemas [--schemas-dir path] [--glib-compile-schemas path]
Installs the GSettings schema that you need for saving preferences. do this once and never think about it again. π§
--schemas-dirpath β directory to install the XML schema file.--glib-compile-schemaspath β path to theglib-compile-schemastool.
π self-test [-V]
Runs Gaphor's internal self-tests and exits. she's doing her own vibe check. π
-V,--versionβ prints the version and exits (overrides test execution β so no tests run, just the version, okay?).
π«Ά the common options
Okay so every single command also accepts these, and you drop them directly after the command name:
-v,--verboseβ verbose logging. she's telling you everything.-q,--quietβ suppresses informational messages, so you only see warnings and errors. minimalist queen.--profilerβ runs the command under Python'scProfileprofiler. for when you need to know where the time went. β±οΈ
π FILES π
~/.config/gaphorβ per-user configuration. your personal little corner of Gaphor. π
πΈ Upstream Documents πΈ
You can find the upstream documentation at https://docs.gaphor.org/en/latest. bookmark it bestie, iykyk. π
π BUGS π
Found something busted? Report issues at https://github.com/gaphor/gaphor/issues. they wanna hear it, fr fr.
π AUTHORS π
Arjan Molenaar and contributors. See https://gaphor.org.
β COPYRIGHT β
Apache License 2.0.
π quick reminder for the group chat: global options go before the command, common options go right after the command name. get that order wrong and it's not gonna work. no cap.
okay that's the whole page!! π and for the cute sign-off: this is Gaphor, dated 2026-05-08 β so if you're reading this in the future, hi, hope you're slaying. bye bestie, go model something iconic. β¨ππ¦
π¦ where this page comes from
- ubuntu stonking: gaphor 3.3.2-2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms