---
name: "nauty-dretodot"
section: "1"
platform: "linux"
package: "nauty"
version: "2.8.9+ds-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nauty-dretodot"
---

# nauty-dretodot(1)

read graphs and initial coloring in dreadnaut format and write in dot format

## NAME

nauty-dretodot - read graphs and initial coloring in dreadnaut format and write in dot format

## SYNOPSIS

**dretodot** \[*-S#:#ixF#o#m#n#r#:#*\[*r#*\]*d#g*\] \[*infile.dre* \[*outfile.dot* \[*outfile.dre*\]\]\]

## DESCRIPTION

-

  Read graphs and initial coloring in dreadnaut format.

Write graphs in dot format to outfile.dot. If outfile.dre is given, write the input graph and the partition, as modified by the **-F** and **-i** options, to outfile.dre. outfile.dre is allowed to be the same file as infile.dre. **-V**    Set max number of vertices (default 1000). **-E**    Set max number of edges (default 5000). **-v**    Set verbose mode (default NO). **-S**#:# Set maximum width and height of the drawing, in inches (default 10 x 6.18). **-i**    Refine the partition before drawing (default NO). **-x**    Draw the orbit partition, computed by Traces. (default NO). **-F**#   Individualize vertex # (and refine the partition). **-o**#   Label vertices starting at # (default 0). This can be overridden in the input. **-m**#   Set the drawing model (see http://www.graphviz.org): 0 (or any value different from 1,...,5)=dot (default 0), 1=neato, 2=fdp, 3=sfdp, 4=twopi, 5=circo. **-n**#   Scale the size of vertices in the drawing (#=0,1,2; default 1). **-r**#:# (**-r**#) Set the vertices to be drawn at the topmost level in a hierarchical (dot model) drawing (default none). Any sequence of **-r**#:# (r#) options is allowed. **-d**#   Draw the graph induced by vertices at topmost level and by vertices at distance # from them; example: ./dretodot **-n2** **-r1** **-r12**:17 **-d2** MyGraph.dre Outfile.dot. **-g**    Highlight the induced subgraph into the whole graph.

Only dreadnaut commands $,$$,g,n,f,",! are recognised; no digraphs.
