digraph TaskflowExceptionHandling {
  rankdir=TB;
  node [shape=box];

  ExceptionHandling [label="Exception Handling in Taskflow"];

  Scenarios [label="A task throws an exception", shape=diamond];

  Immediate [label="Scenario 1:\nSynchronous Exception Propagation"];
  Propagation [label="Scenario 2:\nAsynchronous Exception Propagation"];
  Silent [label="Scenario 3:\nSilent Exception Propagation"];

  ExceptionHandling -> Scenarios;
  Scenarios -> Propagation;
  Scenarios -> Immediate;
  Scenarios -> Silent;
}
