plot "filename" with lines title "This is a file"
set xlabel "foo"
set ylabel "bar"
set datafile separator ","
dot file.dot -Tsvg -o output.svg
digraph graph_name {
A [label="Node A"] // sample comment
B [label="Node B"]
A->B [label="commands", fontcolor=red]
X->Y->Z
}
name | desc |
---|---|
bgcolor | background color |
tooltip | mouseover functionality for SVG |
URL | clickable link |
label | node content |
labelURL | |
image | sets image as node content - JPEG, PNG, GIF, BMP, SVG, or Postscript, image must contain size info |
shape | shape of the node |