Files
tldr/pages.zh/common/circo.md

806 B
Raw Blame History

circo

graphviz 文件渲染一个 圆形 网络图像。 布局:dotneatotwopicircofdpsfdposagepatchwork。 更多信息:https://graphviz.org/doc/info/command.html

  • 渲染一个 PNG 图像,文件名基于输入文件名和输出格式(大写 -O

circo -T {{png}} -O {{path/to/input.gv}}

  • 渲染一个 SVG 图像,指定输出文件名(小写 -o

circo -T {{svg}} -o {{path/to/image.svg}} {{path/to/input.gv}}

  • 以 PS、PDF、SVG、Fig、PNG、GIF、JPEG、JSON 或 DOT 格式渲染输出:

circo -T {{format}} -O {{path/to/input.gv}}

  • 使用 stdinstdout 渲染一个 GIF 图像:

echo "{{digraph {this -> that} }}" | circo -T {{gif}} > {{path/to/image.gif}}

  • 显示帮助信息:

circo -?