# 使用Graphviz模块绘制图形

[graphviz](http://www.graphviz.org/)是非常流行的流程图软件，可以通过程序驱动。在python中，有

## 在线graphviz服务

* [Gravizo](http://www.gravizo.com/)

[Gravizo](http://www.gravizo.com/)提供了在线转换graphviz的功能，可以结合gitlab来使用。参考 [How to include graphviz graphs in github README.md](https://github.com/TLmaK0/gravizo)。

不过，这个方法对于私有网路部署gitlab使用不是很友好，也是一个收费服务。

* [开源graphviz-server](https://github.com/omerio/graphviz-server)

[graphviz-server](https://github.com/omerio/graphviz-server)是一个基于java的开源显现Graphviz服务，可以通过HTTP POST方式请求并返回图形。

## 参考

* [Getting started with Graphviz and Python](http://matthiaseisen.com/articles/graphviz/)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://huataihuang.gitbook.io/cloud-atlas-draft/develop/python/startup/python_graphviz.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
