# 使用 Homebrew 安装 graphviz2drawio

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

## 安装

```sh
sudo av install brew:graphviz2drawio
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install graphviz2drawio
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:graphviz2drawio
- **软件包管理器:** Homebrew
- **版本:** 1.2.0
- **来源摘要:** Convert graphviz (dot) files into draw.io / lucid (mxGraph) format
- **主页:** <https://github.com/hbmartin/graphviz2drawio/>
- **最后更新:** 2026-07-13T00:21:00Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- graphviz2drawio (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.2.0
## 项目历史与用法

graphviz2drawio is a focused converter for turning Graphviz DOT files into draw.io, diagrams.net, Lucidchart, or mxGraph-style editable diagrams. It sits in the practical space between generated diagrams and manual editing.

### 项目历史

The project began as a Python command-line utility around 2018, with the PyPI release history listing 0.0.1 on August 19, 2018 and the GitHub README describing the goal as conversion from Graphviz DOT into editable draw.io and Lucid formats.

Its 2024 release series added visible conversion improvements: edge layout work, clusters and subgraphs, image nodes, Graphviz shapes, stdout support, Homebrew installation, and then a 1.0.0 release. The 1.1.0 release in 2025 added stronger cluster/subgraph handling, cloud architecture diagram support, encoding handling, and Python 3.14 compatibility.

### 采用历史

Adoption is niche but useful: it appears in PyPI, conda-forge, and Homebrew packaging because teams often generate dependency graphs or architecture sketches with Graphviz but need an editable diagram for review, documentation, or handoff.

The package is most relevant when Graphviz is already in a workflow and the final artifact must be modified in diagrams.net or Lucidchart instead of treated as a static SVG or PNG.

### 使用方式

The README and PyPI page document CLI usage that passes one or more DOT files and writes XML output, with options for output paths and stdout. The package can also be used as a Python library via its conversion function.

Because Graphviz layout is upstream of the conversion, graphviz2drawio users typically install Graphviz itself first, then run the converter on DOT or PyGraphviz graph objects.

### 为什么软件包爱好者会关心

Package maintainers care about graphviz2drawio because it bridges generated and manually editable diagram ecosystems without replacing Graphviz. It is a small CLI where packaging metadata, Python version support, and the Graphviz dependency determine whether it feels frictionless.

Its Homebrew formula is notable for a Python tool that is also useful to non-Python diagramming workflows.

### 时间线

- 2018: PyPI records the 0.0.1 release.
- 2020: PyPI records the 0.2.0 release after the first 2018 series.
- 2024: 0.3.0 through 1.0.0 releases expand conversion support and packaging.
- 2025: 1.1.0 adds cluster/subgraph improvements, Diagrams package support, encoding handling, and Python 3.14 compatibility.

### Related projects

- Graphviz: graphviz2drawio consumes Graphviz DOT input and depends on Graphviz concepts and layout output.
- draw.io / diagrams.net and Lucidchart: the editable diagram targets named by the project.
- PyGraphviz: the PyPI documentation lists PyGraphviz as part of the conversion stack.

### 来源

- <https://github.com/hbmartin/graphviz2drawio>
- <https://github.com/hbmartin/graphviz2drawio/releases>
- <https://pypi.org/project/graphviz2drawio/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Combined YAML source

View the package source record on GitHub. [combined/graphviz2drawio.yml](https://github.com/mxcl/pkgdb/blob/main/combined/graphviz2drawio.yml)


## 来源

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