flowchart.js icon indicating copy to clipboard operation
flowchart.js copied to clipboard

Neither operation or parallel can point to condition

Open lrprawira opened this issue 5 years ago • 3 comments

Here is my script that the parallel/operation refuses to point to a condition (rule to eval)

rule=>parallel: Write Rules
eval=>condition: Evaluate
baderr=>operation: Analyze Errors
study=>operation: Study the problem
aunch=>operation: Launch

eval(yes, top)->launch
eval(no, bottom)->baderr->study->rule
rule->eval

lrprawira avatar Feb 13 '20 07:02 lrprawira

This works:

st=>start
rule=>parallel: Write Rules
eval=>condition: Evaluate
baderr=>operation: Analyze Errors
study=>operation: Study the problem
launch=>operation: Launch

st->eval(yes)->launch
eval(no, bottom)->baderr->study->rule
rule(path1)->eval

adrai avatar Feb 13 '20 14:02 adrai

Is it impossible without start? The flowchart isn't supposed to have start block.

lrprawira avatar Feb 15 '20 17:02 lrprawira

never used without a start and an end... feel free to create a PR if you want to adapt it

adrai avatar Feb 15 '20 17:02 adrai