cepsdev/machines4ceps

Visualization of state machines on a terminal using ANSI Escape Sequences.

cepsdev opened this issue · 1 comments

Projects which appear useful:

Running ceps with the --pr option set produces (example taken from examples/first_steps/basic_uml_state_diagram_with_actions.ceps)

State Machine basic_example:
  Actions:
    send_lower_case_scan_code:
      print("basic_example.send_lower_case_scan_code()\n")
    send_upper_case_scan_code:
      print("basic_example.send_upper_case_scan_code()\n")
  States:
    Initial, default, caps_locked
  Transitions:
    Initial --▶ default
    default -CAPS_LOCK-▶ caps_locked
    caps_locked -CAPS_LOCK-▶ default
    default -ANY_KEY/send_lower_case_scan_code();-▶ default
    caps_locked -ANY_KEY/send_upper_case_scan_code();-▶ caps_locked