circo.1   [plain text]

.TH CIRCO 1 "21 November 2003"
circo \- preprocessor for circular layout of graphs
\fBcirco\fR [\fB\-G\fIname=value\fR]
[\fB\-l \fIlibfile\fR]
[\fB\-o \fIoutfile\fR]
.I circo
draws graphs using a circular layout (see 
Six and Tollis, GD '99 and ALENEX '99, and
Kaufmann and Wiese, GD '02.)
The tool identifies biconnected components and draws the nodes of 
the component on a circle. The block-cutpoint tree 
is then laid out using a recursive radial algorithm. Edge 
crossings within a circle are minimized by placing as many edges on
the circle's perimeter as possible.
In particular, if the component is outerplanar, the component will
have a planar layout.
If a node belongs to multiple non-trivial biconnected components,
the layout puts the node in one of them. By default, this is the first
non-trivial component found in the search from the root component.
Input files must be formatted in the
.I dot
attributed graph language.
By default, the output of
.I circo
is the input graph with layout coordinates appended.
To make PostScript, use the \fB\-Tps\fP option.
FrameMaker MIF (\fB-Tmif\fP), HPGL (\fB-Thpgl\fP),
JPEG (\fB-Tjpeg\fP), SVG (\fB-Tsvg\fP),
and GIF (\fB-Tgif\fP) are other choices.
Here is a brief synopsis of the graph language.
\fBgraph \fIname\fP { \fIstatement-list\fP }\fR is the top level graph.
Statements may be:
\fBnode [\fIname\fB=\fIval\fB];\fR
\fBedge [\fIname\fB=\fIval\fB];\fR
Set the default graph, node, or edge attribute \fIname\fP to \fIval\fP.
Any subgraph, node, or edge specified after one of these statements
inherits these attributes.
\fBn0 [\fIname0=val0,name1=val1,...\fB];\fR
Creates node \fBn0\fP if it does not exist,
and sets its attributes according to the optional list. 
\fBn0 \-\- n1 \-\- \fI...\fB \-\- nn [\fIname0=val0,name1=val1,...\fB];\fR
Creates edges between nodes \fBn0\fP, \fBn1\fP, ..., \fBnn\fP and optionally
sets the given attributes.  Creates nodes as necessary.
\fBsubgraph \fIname\fB { \fIstatement-list \fB}\fR
Creates a subgraph.  A subgraph may appear in place of
an individual node within an edge statement.
The \fBsubgraph \fIname\fR part is optional. If missing,
the subgraph is given an internal name.
While attribute names and values may be arbitrary strings,
certain fixed attributes control \fIcirco\fP's layout algorithm,
as next described.
Refer to \fIdot\fP(1) for options to control the layout size.
In addition, \fIcirco\fP recognizes the following:
\fBroot=\fInodename\fR. Specifies the name of a node occurring in the
root block. If the graph is disconnected, the \fBroot\fP node attribute
can be used to specify additional root blocks.
\fBmindist=\fIvalue\fR. Sets the minimum separation between all nodes. If not 
specified then \fIcirco\fP uses a default value of 1.0.
\fBsplines=\fItrue/false\fR. If set to true, \fIcirco\fP will use the
graphviz path planning library to draw edges as splines avoiding nodes.
If the value is false, or some nodes overlap,
edges are drawn as straight line segments connecting nodes.
This is also the default style.
\fBroot=\fItrue/false\fR. This specifies that the block containing the given 
node be treated as the root of the spanning tree in the layout. 
Refer to \fIdot\fP(1) for options to control node labels, shapes,
sizes, colors, fonts, etc.
Refer to \fIdot\fP(1) for options to control edge line style and labels.
\fB\-V\fP (version) prints version information and exits.
Emden R. Gansner <>
.BR dot (1),
.BR fdp (1)
.BR neato (1)
.BR twopi (1)