1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Place the cursor inside "graph" to get some refactoring
options
graph {
# To refactor nodes, place the cursor left to a node
name
a -- b
a -- c;
a -- d;
# Hover over color names to get a color picker
b -- b [color=blue]
b -- d [color="#ff0000"];
# Get completion when assigning a shape or color
b [shape=box, color=yellow];
a; # You can remove optional ; by placing the cursor
left to a semicolon
}