Files
Diagon/test/Flowchart/example/output
T
Arthur Sonzogni 0a6f1b9bc0 Flowchart improved (#53)
* Link against boost statically.

* Improve FlowChart if/then/else

* Add support for while loop in FlowChart

* Add support for do-loop
2022-12-12 18:30:31 +01:00

37 lines
5.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
┌─────┐
│start│
└──┬──┘
__________▽__________
╱ ╲ ┌──────────────┐
Does it cost > 1000 ? ╲________________________________________________________________________________________│Very expensive│
yes └──────────────┘
╲_____________________
│no
_________▽_________ ___________________
╱ ╲ ╱ ╲ ┌──────────────┐
Does it cost > 100? ╲___________________ Does it cost > 0.5? ╲_______________________________│Very expensive│
yes ╲ yes └──────────────┘
╲___________________ ╲___________________
│no │no
________▽_________ _________▽_________
╱ ╲ ┌───────┐ ╱ ╲ ┌─────────┐
Does it cost > 10? ╲_________│Correct│ Does it cost > 0.1? ╲____________________│expensive│
╲ ╱yes └───────┘ ╲ yes └─────────┘
╲__________________ ╲___________________
│no │no
________▽________ _________▽__________
╱ ╲ ┌─────┐ ╱ ╲ ┌───────┐
Does it cost > 1? ╲___│Cheap│ Does it cost > 0.01? ╲__________│Correct│
╲ ╱yes└─────┘ ╲ ╱yes └───────┘
╲_________________ ╲____________________
│no │no
┌───▽──┐ __________▽__________
│coucou│ ╱ ╲ ┌─────┐
└──────┘ Does it cost > 0.001? ╲___│Cheap│
╲ ╱yes└─────┘
╲_____________________
│no
┌──────▽──────┐
│Take my money│
└─────────────┘