digraph G { // Options // theme = warm // usage = // default settings of graphs graph [ rankdir = LR, color = "#804000", bgcolor = "#fffff7", fontcolor = "#000000", fontsize = 12, style = dashed, gradientangle = 65, splines = ortho, ]; // default settings of nodes node [ shape = box, style = "filled,rounded", height = 0.3, fontsize = 10, // theme color = "#c07000", fontcolor = "#000000", fillcolor = "#ffffff:#ffffc0", gradientangle = 295 // left, top -> right, bottom ]; // default settings of edges edge [ color = "#704000", fontcolor = "#704000", fontsize = 10, arrowsize = 0.6 ]; //-------------------------- // default graph ---- begin //-------------------------- graph [rankdir=TB]; A [label="Can it work?"]; B [label="Did you touch it?"]; C [label="Does anybody know that?"]; Z1 [label="It's OK! Don't touch it."]; Z2 [label="Oh! You are such a fool."]; A -> Z1 [label="Yes"]; A -> B [label="No"]; B -> Z1 [label="No"]; B -> C [label="Yes"]; C -> Z1 [label="No"]; C -> Z2 [label="Yes"]; //-------------------------- // default graph ---- end //-------------------------- }