v0.1.3
v0.1.3 supports no simplify
🙏 Thanks Sung-En Chiu.
#6: Let users choose simplify or not
The If and Loop in ast_node.py
have methods called simplify
to simplify the condition sentences that has one-line-body from
while xxx <------
| |
---yes-> loop body in one line
|
|no
v
into a single node:
<loop body> while xxx
Previous versions (starting from v0.0.1) hardcoded this feature. And users has no choice to close it.
This PR makes simplify can be disabled by
Flowchart.from_code(..., simplify=False)
with Python, or--no-simplify
with CLI.