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

Let "condition" support "true" and "false"

Open 3442853561 opened this issue 8 years ago • 5 comments

like

st=>start
op=>operation: Your Operation
cond=>condition: True or false?
e=>end

st->op->cond
cond(true)->e
cond(false)->op

3442853561 avatar Feb 19 '17 19:02 3442853561

This would be fantastic - if the parser could support generic text, that would be awesome. Like:

cond(toast)->e cond(passed)->deploy cond(weekend)->overtime->beer

asyncjake avatar Jul 24 '18 18:07 asyncjake

That would also solve the language problem, e.g. in German cond(Ja) cond(Nein)

xantilon avatar Aug 31 '18 06:08 xantilon

PR are welcome ;-)

adrai avatar Aug 31 '18 09:08 adrai

I think this would be a perfect issue for Hacktober, could you mark this issue/project for it?

asyncjake avatar Sep 30 '18 23:09 asyncjake

Agree. I have a three branch condition, which I can't render with flowchart.js None of the branches are YES or NO

brennanyoung avatar Apr 29 '19 13:04 brennanyoung