Example 1

Code

[graphviz]
....
digraph G {
  rankdir = LR;
  A [label = "", shape = circle];
  B [label = "Hello, world!", shape = box];
  C [label = "", shape = circle];
  A -> B -> C;
}
....

Result

Diagram