macOS
brew install graphvizlocal Homebrew formula metadata
sudo port install graphvizMacPorts ports tree · graphics/graphviz/Portfile · 来源: api.github.com
安装
brew install graphvizlocal Homebrew formula metadata
sudo port install graphvizMacPorts ports tree · graphics/graphviz/Portfile · 来源: api.github.com
sudo apk add graphvizAlpine Linux edge package indexes · graphviz · 来源: dl-cdn.alpinelinux.org
sudo apt install graphvizDebian stable package indexes · graphviz · 来源: deb.debian.org
sudo dnf install graphvizFedora Rawhide package metadata · graphviz · 来源: dl.fedoraproject.org
nix profile install nixpkgs#graphviznixpkgs package indexes · pkgs/by-name/gr/graphviz/package.nix · 来源: api.github.com
sudo pacman -S graphvizArch Linux sync databases · graphviz · 来源: geo.mirror.pkgbuild.com
sudo zypper install graphvizopenSUSE Tumbleweed package metadata · graphviz · 来源: download.opensuse.org
choco install GraphvizChocolatey community package catalog · Graphviz · 来源: community.chocolatey.org
scoop install main/graphvizScoop official bucket manifest trees · bucket/graphviz.json · 来源: api.github.com
winget install --id Graphviz.Graphviz -eWindows Package Manager source index · Graphviz.Graphviz · 来源: cdn.winget.microsoft.com
概览
Graph visualization software from AT&T and Bell Labs
历史
Graphviz is one of the durable command-line graph drawing toolkits from the Bell Labs and AT&T research tradition. Its center of gravity is the DOT language and a family of layout engines, especially dot for ranked directed graphs and neato for undirected layouts.
For package-manager users, Graphviz matters because it is both an end-user CLI suite and a system dependency. Many documentation generators, static analysis tools, build systems, notebook workflows, and language bindings call out to dot or link against Graphviz libraries rather than implementing graph layout themselves.
The project's roots go back to research on drawing directed graphs for software engineering and structured data. The Graphviz history discussion by project participants describes the initial kernel as an attempt to draw software-engineering graphs, with ranking via network simplex becoming central to directed graph layout.
AT&T Bell Laboratories research papers from the early 1990s formalized the dot approach. The 1993 directed-graph drawing paper describes a four-pass algorithm for rank assignment, crossing reduction, coordinate assignment, and spline edge routing, and the later Graphviz toolkit paper frames the project as a set of stream-oriented filters, libraries, and interactive front ends.
By the early 2000s, Graphviz had expanded from dot into a family of engines and tools: neato, twopi, circo, fdp, sfdp, gvpr, sccmap, unflatten, and others. The official credits page records the long-running roles of Emden Gansner, Stephen North, John Ellson, Yifan Hu, Eleftherios Koutsofios, Gordon Woodhull, and later maintainers.
Graphviz spread because it fit Unix package culture: users could write a small DOT file, pipe it through a renderer, and get PostScript, SVG, PDF, PNG, image maps, or other output without a heavyweight diagram editor. Its stream model made it easy for other tools to emit DOT as an interchange format.
The official download page documents broad operating-system packaging, including Debian and Ubuntu apt, Fedora and related dnf packages, Windows installers, and GitLab-hosted release artifacts. Homebrew, MacPorts, Nix, Scoop, Chocolatey, distro packages, and language-specific wrappers made Graphviz a common transitive dependency in developer environments.
Typical CLI usage is to save a graph in DOT syntax and run an engine such as dot, neato, fdp, sfdp, circo, or twopi to produce a rendered artifact. Supporting commands such as tred, unflatten, sccmap, gvpack, gvpr, and ccomps make Graphviz useful as a graph-processing toolkit, not only as a renderer.
Graphviz is often installed so other tools can find the dot executable. Python, R, JavaScript, documentation, modeling, reverse-engineering, and CI workflows commonly generate DOT and delegate layout to the packaged Graphviz binary or libraries.
Graphviz is a classic example of a small CLI surface hiding a large native dependency stack: C libraries, plugins, font and image handling, multiple layout engines, and platform-specific packaging decisions. Its formulae and distro packages are watched because many higher-level packages fail in surprising ways when dot is missing.
The package is also a useful test case for long-lived open-source infrastructure moving from research lab origins into modern forge hosting. The official GitLab repository records a project imported into GitLab in 2017, while the documented algorithms and manpages preserve a much older Bell Labs lineage.
安全态势
infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
acyclic | cli | 全局可执行文件 | |
bcomps | cli | 全局可执行文件 | |
ccomps | cli | 全局可执行文件 | |
circo | cli | 全局可执行文件 | |
cluster | cli | 全局可执行文件 | |
dijkstra | cli | 全局可执行文件 | |
dot | cli | 全局可执行文件 | |
dot2gxl | cli | 全局可执行文件 | |
dot_builtins | cli | 全局可执行文件 | |
dot_sandbox | cli | 全局可执行文件 | |
edgepaint | cli | 全局可执行文件 | |
fdp | cli | 全局可执行文件 | |
gml2gv | cli | 全局可执行文件 | |
graphml2gv | cli | 全局可执行文件 | |
gv2gml | cli | 全局可执行文件 | |
gv2gxl | cli | 全局可执行文件 | |
gvcolor | cli | 全局可执行文件 | |
gvgen | cli | 全局可执行文件 | |
gvmap | cli | 全局可执行文件 | |
gvmap.sh | cli | 全局可执行文件 | |
gvpack | cli | 全局可执行文件 | |
gvpr | cli | 全局可执行文件 | |
gxl2dot | cli | 全局可执行文件 | |
gxl2gv | cli | 全局可执行文件 | |
mm2gv | cli | 全局可执行文件 | |
neato | cli | 全局可执行文件 | |
nop | cli | 全局可执行文件 | |
osage | cli | 全局可执行文件 | |
patchwork | cli | 全局可执行文件 | |
prune | cli | 全局可执行文件 | |
sccmap | cli | 全局可执行文件 | |
sfdp | cli | 全局可执行文件 | |
tred | cli | 全局可执行文件 | |
twopi | cli | 全局可执行文件 | |
unflatten | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:graphviz |
|---|---|
| 版本 | 15.1.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/graphviz |
| 主页 | https://graphviz.org/ |
| 仓库 | https://gitlab.com/graphviz/graphviz |
| 上游文档 | https://graphviz.org/documentation |
| 许可证 | EPL-1.0 |
| 源码归档 | https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/15.1.0/graphviz-15.1.0.tar.xz |
| 最后更新 | 2026-07-02T04:55:06Z |
| Pulse | updated |
| 依赖 | cairo, fontconfig, freetype, gd, gdk-pixbuf, gettext, glib, gts, harfbuzz, libpng, librsvg, libtool, pango, webp |
| 构建依赖 | bison, pkgconf |
| macOS 提供的库 | expat |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | graphviz |
| Version Scheme | 1 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
graphviz 2.42.4-3
rich set of graph drawing tools
sudo apt install graphvizgraphviz-doc 2.42.4-3
additional documentation for graphviz
sudo apt install graphviz-doclibcdt5 2.42.4-3
rich set of graph drawing tools - cdt library
sudo apt install libcdt5libcgraph6 2.42.4-3
rich set of graph drawing tools - cgraph library
sudo apt install libcgraph6libgraphviz-dev 2.42.4-3
graphviz libs and headers against which to build applications
sudo apt install libgraphviz-devlibgv-guile 2.42.4-3
Guile bindings for graphviz
sudo apt install libgv-guilelibgv-lua 2.42.4-3
Lua bindings for graphviz
sudo apt install libgv-lualibgv-perl 2.42.4-3
Perl bindings for graphviz
sudo apt install libgv-perllibgv-ruby 2.42.4-3
Ruby bindings for graphviz
sudo apt install libgv-rubylibgv-tcl 2.42.4-3
Tcl bindings for graphviz
sudo apt install libgv-tcllibgvc6 2.42.4-3
rich set of graph drawing tools - gvc library
sudo apt install libgvc6libgvc6-plugins-gtk 2.42.4-3
rich set of graph drawing tools - gtk plugins
sudo apt install libgvc6-plugins-gtklibgvpr2 2.42.4-3
rich set of graph drawing tools - gvpr library
sudo apt install libgvpr2liblab-gamut1 2.42.4-3
rich set of graph drawing tools - liblab_gamut library
sudo apt install liblab-gamut1libpathplan4 2.42.4-3
rich set of graph drawing tools - pathplan library
sudo apt install libpathplan4libxdot4 2.42.4-3
rich set of graph drawing tools - xdot library
sudo apt install libxdot4来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.