to see all available graphviz packages.
$ apt-cache search graphviz |grep ^g graphviz - rich set of graph drawing tools graphviz-dev - transitional package for graphviz-dev rename graphviz-doc - additional documentation for graphviz $ apt-cache search graphviz |grep Graphviz dot2tex - Graphviz to LaTeX converter libgraph-easy-perl - Perl module to convert or render graphs (as ASCII, HTML, SVG or via Graphviz) python-pydot - Python interface to Graphviz's dot python-pygraphviz - Python interface to the Graphviz graph layout and visualization package python-yapgvb - Python bindings for Graphviz, using Boost.Python xdot - interactive viewer for Graphviz dot files
$ sudo apt install graphviz
Test, A "Hello World" example made by giving the command:
echo "digraph G {Hello->World}" | dot -Tpng >hello.png
原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。