← 返回命令列表

Linux command

patchwork 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Create treemap visualization

patchwork -Tpng [data.gv] -o [treemap.png]

Generate SVG treemap

patchwork -Tsvg [data.gv] -o [treemap.svg]

Generate PDF output

patchwork -Tpdf [data.gv] -o [treemap.pdf]

说明

patchwork is a Graphviz layout program for squarified treemaps. Displays hierarchical data as nested rectangles with areas proportional to values. Part of the Graphviz visualization suite.

参数

-T _format_
Output format (png, svg, pdf, etc.).
-o _file_
Output file.
-G _attr=val_
Set graph attribute.
-N _attr=val_
Set node attribute.

FAQ

What is the patchwork command used for?

patchwork is a Graphviz layout program for squarified treemaps. Displays hierarchical data as nested rectangles with areas proportional to values. Part of the Graphviz visualization suite.

How do I run a basic patchwork example?

Run `patchwork -Tpng [data.gv] -o [treemap.png]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -T _format_ do in patchwork?

Output format (png, svg, pdf, etc.).