adrai / adrai/flowchart.js

Direction doesn't always work

Aperta
#142 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
8.7k
Fork
1.2k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Thanks for making this, it's awesome. I'm having an issue where I can't control the direction for a condition outcome.

```
st=>start: Autobuy Triggered
e=>end: Sold

match=>operation: Match Partners
sell=>operation: Attempt Sale
portal=>end: Portal
fail=>end: Fail

matches=>condition: Have Matches?
sold=>condition: Sold?
more=>condition: More Matches?
cascade=>condition: Cascade?

st->match->matches
matches(yes,left)->sell->sold
matches(no)->portal

sold(yes)->e
sold(no)->cascade

cascade(yes)->more
cascade(no,bottom)->fail

more(yes,top)->sell
more(no)->portal

```
more(yes,top)->sell is coming out of the bottom and needlessly crossing another line

Is it something I'm doing wrong?

Thanks

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.