adrai / adrai/flowchart.js

Direction doesn't always work

オープン
#142 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
8.7k
フォーク
1.2k
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。