The Mercurial wiki allows easily adding graph diagrams to pages. To draw a graph like this:

add a section like this:

{ { {#!dot
    digraph G {
      rankdir=LR
      node [shape=box]
      a -> b -> c -> d -> e
      d->f
    }
} } }