digraph statemachine {
  rankdir=LR;
  node [shape=rounded, style=filled, fillcolor=white, fontname="Arial"];
  edge [fontname="Arial", fontsize=10];

  _start [shape=circle, label="", fillcolor=black, width=0.1];
  _start -> SUBMITTED;
  CANCELED [fillcolor=lightgray];
  FULFILLED [fillcolor=lightgray];
  SUBMITTED -> PAID [label="OrderEvents.PAY", style="solid", color="black"];
  PAID -> FULFILLED [label="OrderEvents.FULFILL", style="solid", color="black"];
  SUBMITTED -> CANCELED [label="OrderEvents.CANCEL", style="solid", color="black"];
  PAID -> CANCELED [label="OrderEvents.ABCD", style="solid", color="black"];
}

