docs: def fmt_transition(t):
      """Format a |Transition|."""
      return "Transition({} {} {})".format(
          fmt_mechanism(t.cause_indices, t.node_labels),
          ARROW_RIGHT,
          fmt_mechanism(t.effect_indices, t.node_labels))