add new chinese translations
This commit is contained in:
25
pages.zh/common/osage.md
Normal file
25
pages.zh/common/osage.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# osage
|
||||
|
||||
> 从 `graphviz` 文件渲染一个 `clustered` 网络图像。
|
||||
> 布局:`dot`、`neato`、`twopi`、`circo`、`fdp`、`sfdp`、`osage` 和 `patchwork`。
|
||||
> 更多信息:<https://graphviz.org/doc/info/command.html>。
|
||||
|
||||
- 生成一个 PNG 图像,文件名基于输入文件名和输出格式(大写 -O):
|
||||
|
||||
`osage -T {{png}} -O {{path/to/input.gv}}`
|
||||
|
||||
- 生成一个 SVG 图像,指定输出文件名(小写 -o):
|
||||
|
||||
`osage -T {{svg}} -o {{path/to/image.svg}} {{path/to/input.gv}}`
|
||||
|
||||
- 以 PS、PDF、SVG、Fig、PNG、GIF、JPEG、JSON 或 DOT 格式渲染输出:
|
||||
|
||||
`osage -T {{format}} -O {{path/to/input.gv}}`
|
||||
|
||||
- 使用 `stdin` 和 `stdout` 渲染一个 GIF 图像:
|
||||
|
||||
`echo "{{digraph {this -> that} }}" | osage -T {{gif}} > {{path/to/image.gif}}`
|
||||
|
||||
- 显示帮助信息:
|
||||
|
||||
`osage -?`
|
Reference in New Issue
Block a user