LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

osage

Graphviz layout engine for clustered graphs

TLDR

Layout clustered graph as PNG
$ osage -Tpng [graph.gv] -o [output.png]
copy
Generate SVG output
$ osage -Tsvg [graph.gv] -o [output.svg]
copy
Generate PDF output
$ osage -Tpdf [graph.gv] -o [output.pdf]
copy
Set graph packing mode
$ osage -Gpackmode=columns [graph.gv] -Tpng -o [output.png]
copy

SYNOPSIS

osage [options] [files...]

DESCRIPTION

osage is a Graphviz layout engine for clustered graphs. It recursively lays out cluster subgraphs using an array packing algorithm, treating each cluster as a rectangle to be packed. At each level, the internals of each cluster subgraph are laid out first, then clusters and nodes are positioned relative to each other.
The graph attributes pack and packmode control the layout at each level. Edges are routed after all nodes and clusters are positioned, based on the splines attribute.

PARAMETERS

-T format

Output format (png, svg, pdf, dot, ps, etc.)
-o file
Output file
-G attr=val
Set graph attribute (e.g., pack, packmode)
-N attr=val
Set default node attribute
-E attr=val
Set default edge attribute
-K layout
Override layout engine
-O
Automatically generate output filename based on input
-v
Verbose mode
-V
Print version and exit

CAVEATS

Edges are ignored during the packing phase and only routed afterward. Best suited for graphs where the cluster structure is more important than edge routing.

SEE ALSO

dot(1), neato(1), patchwork(1), fdp(1)

Copied to clipboard
Kai