PATCHWORK(1) General Commands Manual PATCHWORK(1) (NAME) patchwork - (treemap) (SYNOPSIS) patchwork [-(G|N|E)name=value] [-Tlang] [-llibfile] [-ooutfile] [-O] [-P] [-v] [-V] [files] (DESCRIPTION) patchwork (squarified treemap) . dot . . area . . . . (OUTPUT FORMATS) Patchwork patchwork "patchwork -Txxx" ( xxx ) . . : "patchwork -Tpng:" : "patchwork -Tpng:gd" . patchwork : -Tps (PostScript) -Tsvg -Tsvgz ( ) -Tfig ( XFIG) -Tmif ( FrameMaker) -Thpgl ( HP) -Tpcl ( Laserjet) -Tpng -Tgif ( ) -Timap ( httpd "href" ) -Tcmapx ( html xhtml). . ':' -Tpng: . (GRAPH FILE LANGUAGE) .gv : [strict] (graph|digraph) name { statement-list } . strict . digraph (edgeop) "->" . graph (edgeop) "--" . (Statements) : name=val; node [name=val]; edge [name=val]; name val . . n0 [name0=val0,name1=val1,...]; n0 ( ) . n0 edgeop n1 edgeop ... edgeop nn [name0=val0,name1=val1,...]; n0 n1 ... nn . . [subgraph name] { statement-list } . n0 ... nn . [subgraph name] . C /*C-like*/ ++C //C++-like . ( C) . . (GRAPH ATTRIBUTES) size="x,y" . page="x,y" PostScript . ratio=f (aspect ratio) f fill compress auto . pagedir=[TBLR][TBLR] . rotate=90 (landscape) . (orientation=land .) center=n . layers="id:id:id:id" (overlay) . PostScript layercolorseq . - . color=colorvalue (bgcolor ). href="url" url (imagemap) PostScript URL URL Acrobat Distiller 3.0 . URL="url" ("URL" "href" .) stylesheet="file.css" (stylesheet) -Tsvg -Tsvgz . . splines. true (spline) . polyline (polyline) . ortho . . splines=false splines=line . false ..SH " (NODE ATTRIBUTES)" height=d width=d . fixedsize=true ( ). shape=record polygon epsf builtin_polygon builtin_polygon : plaintext ellipse oval circle egg triangle box diamond trapezium parallelogram house hexagon octagon note tab box3d component. ( : regular peripheries sides orientation distortion skew.) epsf shapefile EPSF . label=text text \n \l \r . '\N' . '\G' . record { | } . < > . ( node0:port28). fontsize=n n . fontname=name . color=colorvalue style=filled fillcolor . fillcolor=colorvalue style=filled . fillcolor style=filled . fontcolor=colorvalue . colorvalue "h,s,v" ( ) X11 white black red green blue yellow magenta cyan burlywood "#rrggbb" ( ) . style=filled solid dashed dotted bold invis Postscript . layer=id id:id "all" . () . (polygon) : regular=n n x y . (builtin_polygons) . ( ). peripheries=n . builtin_polygons . sides=n . n<3 . builtin_polygons . orientation=f . f . . builtin_polygons . distortion=f ( ) . -1 +1 . builtin_polygons . skew=f ( ) . -1 +1 . builtin_polygons . href="url" URL imagemap PostScript SVG . '\N' '\G' . '\L' . URL="url" ("URL" "href" .) target="target" (client-side imagemaps) SVG URL . URL . "_graphviz" . ( ) target . '\N' '\G' . '\L' . tooltip="tooltip" (tooltip) SVG URL . tooltip tooltip . '\N' '\G' . '\L' . (EDGE ATTRIBUTES) label=text text \n \l \r . '\T' tail_node . '\H' head_node . '\E' tail_node_name->head_node_name '\G' . : tail_node_name--head_node_name . fontsize=n n . fontname=name . fontcolor=colorvalue . style=solid dashed dotted bold invis color=colorvalue . color=colorvaluelist colorvalue ':' . dir=forward back both none . tailclip,headclip=false . href="url" URL imagemap PostScript SVG . '\T' '\H' '\E' '\G' . '\L' . URL="url" ("URL" "href" .) target="target" (client-side imagemaps) SVG URL . ( ) target . '\T' '\H' '\E' '\G' . '\L' . tooltip="tooltip" (tooltip) URL . tooltip . '\T' '\H' '\E' '\G' . '\L' . arrowhead,arrowtail=none, normal, inv, dot, odot, invdot, invodot, tee, empty, invempty, open, halfopen, diamond, odiamond, box, obox, crow. arrowsize (norm_length=10,norm_width=5, inv_length=6,inv_width=7,dot_radius=2) headlabel,taillabel=string . labelfontcolor labelfontname labelfontsize (head) (tail). '\T' '\H' '\E' '\G' . '\L' . headhref="url" URL head imagemap PostScript SVG . '\T' '\H' '\E' '\G' . '\L' . headURL="url" ("headURL" "headhref" .) headtarget="headtarget" (client-side imagemaps) SVG URL (head) . headtarget URL . headtarget ( ) headtarget target . '\T' '\H' '\E' '\G' . '\L' . headtooltip="tooltip" (tooltip) URL head . tooltip headlabel . '\T' '\H' '\E' . '\L' . tailhref="url" URL tail imagemap PostScript SVG . '\T' '\H' '\E' '\G' . '\L' ..PP tailURL="url" ( <> <> .) tailtarget="tailtarget" (target) (client-side imagemaps) SVG URL (tail) . tailtarget URL . tailtarget ( ) tailtarget target . '\T' '\H' '\E' '\G' . '\L' . tailtooltip="tooltip" (tooltip) (tail ports) URL . tooltip taillabel . '\T' '\H' '\E' '\G' . '\L' . labeldistance port_label_distance labelangle ( ). decorate . samehead,sametail . layer=id id:id "all" . () . ( neato) w=f ( ) . 1.0 . len=f . 1.0 . (COMMAND LINE OPTIONS) -G . -N . -E . : -Gsize="7,8" -Nshape=box -Efontsize=8 -lfile PostScript . . -l . -Tlang . -O -T . -ofile file . -x ( ). -Lg (grid) . -LO . -Lni i . -LUi i . -LCv v . -LT[*]v ( ) v . -v () . -V () . -? . (EXAMPLES) graph G { node[style=filled] subgraph cluster0 { subgraph cluster0_0 { style=filled fillcolor=green a b[area=3 fillcolor=yellow] } subgraph cluster0_1 { area=2 bgcolor=yellow } c [style=filled fillcolor=red ] } subgraph cluster1 { e f } } (BUGS) patchwork . . . Patchwork . (AUTHORS) Emden R. Gansner Yifan Hu (SEE ALSO) Graphviz . https://www.graphviz.org/documentation . doc doc/info . dot(1) M. Bruls, K. Huizing and J. van Wijk, "Squarified Treemaps", Proc. Eurographics and IEEE TVCG Symposium on Visualization, 1999, pp. 33-42. 22 April 2011 PATCHWORK(1)