adrai / adrai/flowchart.js

Direction doesn't always work

Offen
#142 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
8.7k
Forks
1.2k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.