digraph jobStatus {

  graph [splines="spline" mclimit=1.0 ratio=auto rankdir=LR]

  created [shape=box];
  waiting;
  paused;
  ready;
  running;
  completed;
  removed [shape=box];
  created -> waiting [weight=100.0];
  created -> created [label=".pause() /\n.resume()"]
  waiting -> ready [weight=100.0];
  ready -> running [weight=100.0];
  running -> completed [weight=100.0];
  completed -> removed [weight=100.0];
  ready -> paused [label=".pause()"];
  waiting -> paused [label=".pause()"];
  paused -> waiting [label=".resume() /\n.save()"];
  paused -> paused [label=".depends() /\n.priority() /\n.retry() /\n.repeat() /\n.delay() /\n.after()"];
  paused -> cancelled [label=".cancel()"];
}
