pkg.soopen package index

brew / 排名 3503

使用 Homebrew, apt, Nix, pacman 安装 xdot

查看 xdot 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install xdot

local Homebrew formula metadata

概览

软件包摘要

Interactive viewer for graphs written in Graphviz's dot language

命令和别名

  • xdot

历史

项目历史与用法

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.

时间线

  • 2007-12-22: First public commits for the interactive viewer.
  • 2009-08-09: 0.4 tag.
  • 2013-04-03: GTK3 port appears in Git history.
  • 2017-05-16: Python 3 use asserted in Git history.
  • 2018-09-12: 1.0 tag.
  • 2024-05-14: 1.4 tag.
  • 2025-12-08: 1.6 tag.

Related projects

  • Graphviz: layout engine and xdot output producer used by xdot.py.
  • Graphviz xdot format: extended DOT drawing-language output consumed by the viewer.
  • ZGRViewer: another Graphviz/DOT viewer linked by the README.
  • dot2tex: related converter for Graphviz output into TeX drawing formats, linked by the README.

来源

  • Git history and tags: https://github.com/jrfonseca/xdot.py
  • Graphviz DOT/xdot output docs: https://graphviz.org/docs/outputs/canon/#xdot
  • Graphviz xdot attribute type docs: https://graphviz.org/docs/attr-types/xdot/
  • README, jrfonseca/xdot.py: https://github.com/jrfonseca/xdot.py#readme

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
xdot可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.6
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:xdot
版本1.6
软件包管理器Homebrew
主页https://github.com/jrfonseca/xdot.py
仓库https://github.com/jrfonseca/xdot.py
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

xdot 1.4-1

interactive viewer for Graphviz dot files

https://github.com/jrfonseca/xdot.py

sudo apt install xdot
  • Section: python
  • Architecture: all
  • 7 依赖
  • normalized package name match
  • 匹配方式:Xdot
Debian stable package indexes · deb.debian.org · Debian stable package indexes: xdot from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

xdot

nix profile install nixpkgs#xdot
  • normalized package name match
  • 匹配方式:Xdot
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: xdot from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

xdot 1.3-1

interactive viewer for Graphviz dot files

https://github.com/jrfonseca/xdot.py

sudo apt install xdot
  • Section: universe/python
  • Architecture: all
  • 6 依赖
  • normalized package name match
  • 匹配方式:Xdot
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: xdot from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
pacman95%

xdot 1.6-1

Interactive viewer for graphs written in Graphviz's dot language

https://github.com/jrfonseca/xdot.py

sudo pacman -S xdot
  • License: LGPL2.1
  • Architecture: any
  • 7 依赖
  • normalized package name match
  • 匹配方式:Xdot
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: xdot from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation