Diagon is an interactive interpreter that transforms structured textual expressions into ASCII and Unicode diagrams. Rather than constructing every character manually, users describe the information they want to represent and let the program generate the corresponding diagram.
The application is particularly useful for technical documentation, mathematical explanations and diagrams that must remain readable in plain-text environments.
Diagon provides a command-line interface as well as an interactive browser application. The command-line tool can accept expressions through standard input, making it suitable for scripts and other automated workflows.
The project is written in C++ and also exposes its functionality through a JavaScript interface. This allows its diagram generators to be integrated into other applications and development tools.
This is free and open source software.
Key Features
- Transforms structured text expressions into ASCII and Unicode diagrams.
- Generates mathematical notation including fractions, roots and summations.
- Creates sequence diagrams illustrating interactions between participants.
- Produces tree diagrams and hierarchical representations.
- Generates flowcharts and graph visualisations.
- Creates formatted tables and other structured illustrations.
- Supports different character representations for generated diagrams.
- Provides an interactive browser interface.
- Accepts input through a command-line interpreter.
- Offers JavaScript integration for other applications.
- Supports integration with compatible text editors.
Website: github.com/ArthurSonzogni/Diagon
Support:
Developer: Arthur Sonzogni
License: MIT License

Diagon is written in C++. Learn C++ with our recommended free books and free tutorials.
Related Software
| ASCII Art Tools | |
|---|---|
| gif-for-cli | Convert media to animated ASCII art |
| ASCIIQuarium | Embrace marine life from the terminal with beautiful ASCII art |
| Calligraphy | Converts short texts into large, imposing banners |
| CMatrix | Terminal based “The Matrix” |
| Diagon | Transforms markdown-style expression into an ascii-art representation |
| Aewan | Ascii-art Editor Without a Name |
| Steam Locomotive | C program written in 295 lines. It's harmless fun |
| boxes | ASCII box drawing |
| Durdraw | ASCII, Unicode and ANSI art editor |
| FIGlet | Make large letters out of ordinary screen characters |
| pipes.sh | Animated pipes terminal screensaver |
| jp2a | Convert JPEG images to ASCII |
| asciify | Turn images into attractive ASCII art |
| lolcat | Rainbows and unicorns |
| Artem | Convert images to ASCII art |
| TOIlet | Similar in many ways to FIGlet with additional features |
| textdraw | Draw geometric figures and text |
| PyBonsai | Generates procedural ASCII art trees |
| No More Secrets | Recreates the data decryption effect seen in the 1992 film Sneakers |
| Letterpress | Converts your images into a picture made up of ASCII characters |
| draw | Simple drawing tool for the terminal |
| ASCII Art Converter | Converts images into ASCII art |
| cbonsai | Generate bonsai trees |
| cadubi | Creative ASCII drawing utility |
| cacafire | Color ASCII Fire |
| cowsay | Generates ASCII pictures of a cow with a message in a speech bubble |
| Mezzotone | Convert images into ASCII art |
| img2ascii | Command-line tool for converting images to ASCII art |
| gti | Typo-based curio inspired by Steam Locomotive |
| ctree | Christmas tree on your terminal |
| ASCII Draw | Sketch anything using characters |
| catspeak | Like cowsay but catty |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.