adrai / adrai/flowchart.js

Direction doesn't always work

Open
#142 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8.7k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.