Examples borrowed from this GraphViz Pocket Reference and its underlying Git repository.
Error generating Graphviz image:
Graphviz cannot generate graph
Command: /usr/bin/dot '-Kcirco' '-Tsvg' '-o/data/blog.flirble.org/wp-content/tfo-graphviz/e4a72d37c637c75e9afb795fbcc10ba4.svg'
Output:
There is no layout engine support for "circo"
Use one of:
Original DOT:
1
2 graph {
3 rankdir = LR;
4
5 a -- b;
6 b -- c;
7 a -- c;
8 d -- c;
9 e -- c;
10 e -- a;
11 }
12
|
1 2 3 4 5 6 7 8 9 10 11 12 |
[graphviz lang="circo" href="self" output="svg" class="example1"] graph { rankdir = LR; a -- b; b -- c; a -- c; d -- c; e -- c; e -- a; } [/graphviz] |
Error generating Graphviz image:
Graphviz cannot generate graph
Command: /usr/bin/dot '-Kcirco' '-Tsvg' '-o/data/blog.flirble.org/wp-content/tfo-graphviz/9a84152a35d27f27e7149e923f9866ac.svg'
Output:
There is no layout engine support for "circo"
Use one of:
Original DOT:
1
2 graph {
3 a -- b;
4 b -- c;
5 c -- d;
6 d -- e;
7 e -- f;
8 a -- f;
9 a -- c;
10 a -- d;
11 a -- e;
12 b -- d;
13 b -- e;
14 b -- f;
15 c -- e;
16 c -- f;
17 d -- f;
18 }
19
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
[graphviz lang="circo" href="self" output="svg" class="example2"] graph { a -- b; b -- c; c -- d; d -- e; e -- f; a -- f; a -- c; a -- d; a -- e; b -- d; b -- e; b -- f; c -- e; c -- f; d -- f; } [/graphviz] |
Error generating Graphviz image:
Graphviz cannot generate graph
Command: /usr/bin/dot '-Kcirco' '-Tsvg' '-o/data/blog.flirble.org/wp-content/tfo-graphviz/001ea88d2251d89b985c4223fb1cbe3c.svg'
Output:
There is no layout engine support for "circo"
Use one of:
Original DOT:
1
2 digraph {
3 a -> b;
4 b -> c;
5 c -> d;
6 d -> a;
7 }
8
|
1 2 3 4 5 6 7 8 |
[graphviz output="svg" class="example3"] digraph { a -> b; b -> c; c -> d; d -> a; } [/graphviz] |
|
1 2 3 4 5 6 7 8 9 10 |
[graphviz lang="circo" href="self" output="svg" class="example4"] digraph { a -> b[label="0.2",weight="0.2"]; a -> c[label="0.4",weight="0.4"]; c -> b[label="0.6",weight="0.6"]; c -> e[label="0.6",weight="0.6"]; e -> e[label="0.1",weight="0.1"]; e -> b[label="0.7",weight="0.7"]; } [/graphviz] |
Error generating Graphviz image:
Graphviz cannot generate graph
Command: /usr/bin/dot '-Kcirco' '-Tsvg' '-o/data/blog.flirble.org/wp-content/tfo-graphviz/2cd7b0fa6060296368c696dd93890d04.svg'
Output:
There is no layout engine support for "circo"
Use one of:
Original DOT:
1
2 digraph {
3 a -> b[label="0.2",weight="0.2"];
4 a -> c[label="0.4",weight="0.4"];
5 c -> b[label="0.6",weight="0.6"];
6 c -> e[label="0.6",weight="0.6"];
7 e -> e[label="0.1",weight="0.1"];
8 e -> b[label="0.7",weight="0.7"];
9 }
10
Error generating Graphviz image:
Graphviz cannot generate graph
Command: /usr/bin/dot '-Kcirco' '-Tsvg' '-o/data/blog.flirble.org/wp-content/tfo-graphviz/dbebe10e6bc6fe4eb6d5895923ed8b4e.svg'
Output:
There is no layout engine support for "circo"
Use one of:
Original DOT:
1
2 graph {
3 a -- b[color=red,penwidth=3.0];
4 b -- c;
5 c -- d[color=red,penwidth=3.0];
6 d -- e;
7 e -- f;
8 a -- d;
9 b -- d[color=red,penwidth=3.0];
10 c -- f[color=red,penwidth=3.0];
11 }
12
|
1 2 3 4 5 6 7 8 9 10 11 12 |
[graphviz lang="circo" href="self" output="svg" class="example5"] graph { a -- b[color=red,penwidth=3.0]; b -- c; c -- d[color=red,penwidth=3.0]; d -- e; e -- f; a -- d; b -- d[color=red,penwidth=3.0]; c -- f[color=red,penwidth=3.0]; } [/graphviz] |
Error generating Graphviz image:
Graphviz cannot generate graph
Command: /usr/bin/dot '-Kcirco' '-Tsvg' '-o/data/blog.flirble.org/wp-content/tfo-graphviz/86ed055985d9435b90b7855d367714d0.svg'
Output:
There is no layout engine support for "circo"
Use one of:
Original DOT:
1
2 digraph {
3 subgraph cluster_0 {
4 label="Subgraph A";
5 a -> b;
6 b -> c;
7 c -> d;
8 }
9
10 subgraph cluster_1 {
11 label="Subgraph B";
12 a -> f;
13 f -> c;
14 }
15 }
16
|
1 2 3 4 5 6 7 8 9 10 11 |
[graphviz lang="circo" href="self" output="svg" class="example6a"] digraph { subgraph cluster_0 { label="Subgraph A"; a -> b; b -> c; c -> d; } subgraph cluster_1 { label="Subgraph B"; a -> f; f -> c; } } [/graphviz] |
Error generating Graphviz image:
Graphviz cannot generate graph
Command: /usr/bin/dot '-Kcirco' '-Tsvg' '-o/data/blog.flirble.org/wp-content/tfo-graphviz/f53d6274166be3fe1ddf26eda4f6862c.svg'
Output:
There is no layout engine support for "circo"
Use one of:
Original DOT:
1
2 graph {
3 splines=line;
4 subgraph cluster_0 {
5 label="Subgraph A";
6 a; b; c
7 }
8
9 subgraph cluster_1 {
10 label="Subgraph B";
11 d; e;
12 }
13
14 a -- e;
15 a -- d;
16 b -- d;
17 b -- e;
18 c -- d;
19 c -- e;
20 }
21
|
1 2 3 4 5 6 7 8 9 10 |
[graphviz lang="circo" href="self" output="svg" class="example6b"] graph { splines=line; subgraph cluster_0 { label="Subgraph A"; a; b; c } subgraph cluster_1 { label="Subgraph B"; d; e; } a -- e; a -- d; b -- d; b -- e; c -- d; c -- e; } [/graphviz] |
Error generating Graphviz image:
Graphviz cannot generate graph
Command: /usr/bin/dot '-Kdot' '-Tsvg' '-o/data/blog.flirble.org/wp-content/tfo-graphviz/1ba6010a9b3644181182f4115f7d0199.svg'
Output:
There is no layout engine support for "dot"
Perhaps "dot -c" needs to be run (with installer's privileges) to register the plugins?
Original DOT:
1
2 graph {
3 rankdir=LR; // Left to Right, instead of Top to Bottom
4 a -- { b c d };
5 b -- { c e };
6 c -- { e f };
7 d -- { f g };
8 e -- h;
9 f -- { h i j g };
10 g -- k;
11 h -- { o l };
12 i -- { l m j };
13 j -- { m n k };
14 k -- { n r };
15 l -- { o m };
16 m -- { o p n };
17 n -- { q r };
18 o -- { s p };
19 p -- { s t q };
20 q -- { t r };
21 r -- t;
22 s -- z;
23 t -- z;
24 }
25
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
[graphviz lang="dot" href="self" output="svg" class="example7a"] graph { rankdir=LR; // Left to Right, instead of Top to Bottom a -- { b c d }; b -- { c e }; c -- { e f }; d -- { f g }; e -- h; f -- { h i j g }; g -- k; h -- { o l }; i -- { l m j }; j -- { m n k }; k -- { n r }; l -- { o m }; m -- { o p n }; n -- { q r }; o -- { s p }; p -- { s t q }; q -- { t r }; r -- t; s -- z; t -- z; } [/graphviz] |
Error generating Graphviz image:
Graphviz cannot generate graph
Command: /usr/bin/dot '-Kdot' '-Tsvg' '-o/data/blog.flirble.org/wp-content/tfo-graphviz/fdb2460d44d05fd67dc0127525910f62.svg'
Output:
There is no layout engine support for "dot"
Perhaps "dot -c" needs to be run (with installer's privileges) to register the plugins?
Original DOT:
1
2 graph {
3 rankdir=LR;
4 a -- { b c d }; b -- { c e }; c -- { e f }; d -- { f g }; e -- h;
5 f -- { h i j g }; g -- k; h -- { o l }; i -- { l m j }; j -- { m n k };
6 k -- { n r }; l -- { o m }; m -- { o p n }; n -- { q r };
7 o -- { s p }; p -- { s t q }; q -- { t r }; r -- t; s -- z; t -- z;
8 { rank=same; b, c, d }
9 { rank=same; e, f, g }
10 { rank=same; h, i, j, k }
11 { rank=same; l, m, n }
12 { rank=same; o, p, q, r }
13 { rank=same; s, t }
14 }
15
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
[graphviz lang="dot" href="self" output="svg" class="example7b"] graph { rankdir=LR; a -- { b c d }; b -- { c e }; c -- { e f }; d -- { f g }; e -- h; f -- { h i j g }; g -- k; h -- { o l }; i -- { l m j }; j -- { m n k }; k -- { n r }; l -- { o m }; m -- { o p n }; n -- { q r }; o -- { s p }; p -- { s t q }; q -- { t r }; r -- t; s -- z; t -- z; { rank=same; b, c, d } { rank=same; e, f, g } { rank=same; h, i, j, k } { rank=same; l, m, n } { rank=same; o, p, q, r } { rank=same; s, t } } [/graphviz] |