macOS
brew install xdotlocal Homebrew formula metadata
brew
Interactive viewer for graphs written in Graphviz's dot language. Version 1.6 via Homebrew; verified from local package data.
install
brew install xdotlocal Homebrew formula metadata
sudo apt install xdotDebian stable package indexes · xdot · source: deb.debian.org
nix profile install nixpkgs#xdotnixpkgs package indexes · xdot · source: raw.githubusercontent.com
sudo pacman -S xdotArch Linux sync databases · xdot · source: geo.mirror.pkgbuild.com
overview
Interactive viewer for graphs written in Graphviz's dot language
history
xdot.py is an interactive GTK/Cairo viewer for graphs written in Graphviz DOT. It runs Graphviz to produce xdot drawing commands, then renders and navigates the result as a desktop viewer or embeddable Python widget.
The project started in December 2007 with early commits for click handling, parser cleanup, and separating the graph widget from the window. Its README explains the core design: use Graphviz xdot output as an intermediate format and render it with Python GTK bindings and Cairo.
xdot.py matured through small releases rather than a large rewrite. Tags show 0.4 in 2009, 0.5 in 2013, 1.0 in 2018, and later 1.x releases into the mid-2020s. Git history also records the GTK3 port in 2013, Python 3 enforcement in 2017, automatic PyPI release uploads in 2017, and PyGObject being listed explicitly as a dependency in 2023.
The README status note is unusually candid: the script became more popular than expected, met the original maintainer needs, and needed broader community maintenance or an official fork. That helps explain why xdot.py has persisted as a useful but conservative viewer in the Graphviz ecosystem.
xdot.py was adopted by developers who generate DOT graphs from compilers, profilers, build systems, static analysis tools, and documentation pipelines and need an interactive viewer rather than a static PNG or PDF. The README highlights zooming, keyboard and mouse navigation, URL events, animated jumps, and highlighting nodes and edges under the mouse.
The project is distributed through PyPI, Linux distribution packages, and Homebrew. Its adoption is bound to Graphviz itself: Graphviz documents xdot as an extended DOT output that carries detailed drawing information, and xdot.py uses that as its rendering substrate.
From the command line, users run xdot with a DOT file or standard input. By default it filters through Graphviz dot, while -n tells xdot.py to assume input is already in xdot format, such as output from dot -Txdot.
As a library, applications can embed the xdot widget to display generated graphs inside their own Python GTK interfaces. That made it useful for tools that already generate DOT internally and want inspection, zoom, search, or clickable graph nodes.
xdot.py is the package index answer to a specific Graphviz pain point: DOT is everywhere, but static image output is awkward for large graphs. It is a small GUI utility whose dependencies explain a lot about desktop Python packaging: Graphviz, GTK, PyGObject, Cairo, and NumPy all have to line up.
For package nerds, it is also a bridge between CLI graph generators and interactive desktop inspection. Installing xdot often means turning a pile of .dot files from other tools into something navigable.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
xdot | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/jrfonseca/xdot.py
install metadata
| Package key | brew:xdot |
|---|---|
| Version | 1.6 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/xdot |
| Homepage | https://github.com/jrfonseca/xdot.py |
| Repository | https://github.com/jrfonseca/xdot.py |
| Upstream docs | https://github.com/jrfonseca/xdot.py#readme |
| License | LGPL-3.0-or-later |
| Source archive | https://files.pythonhosted.org/packages/32/68/13f80d47bffda03eaf05bd076d1b2ef9a1cf39b461b37e32f303bcf048de/xdot-1.6.tar.gz |
| Dependencies | adwaita-icon-theme, graphviz, gtk+3, numpy, py3cairo, pygobject3, python@3.14 |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | xdot |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
xdot 1.4-1
interactive viewer for Graphviz dot files
https://github.com/jrfonseca/xdot.py
sudo apt install xdotxdot
nix profile install nixpkgs#xdotxdot 1.3-1
interactive viewer for Graphviz dot files
https://github.com/jrfonseca/xdot.py
sudo apt install xdotxdot 1.6-1
Interactive viewer for graphs written in Graphviz's dot language
https://github.com/jrfonseca/xdot.py
sudo pacman -S xdotsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.