adrai / adrai/flowchart.js

Inserting a condition increases "line-length" between all nodes

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

説明

1.) Create a flowchart and specify the "line-length" to a very small number, say "5"
2.) Add a few nodes. Then, the line length will be very short as expected
3.) Add a condition node to the flow (lines are commented out in the code below)
4.) Now, the distance between all nodes (="line-length") has increased by a fixed amount.

```

st=>start: Start|past:>http://www.google.com[blank]
e=>end: End|future:>http://www.google.com
node1=>subroutine: Node 1|past
node2=>subroutine: Node 2|past
node3=>subroutine: Node 1|past
node4=>subroutine: Node 2|past
cond=>condition: Condition

node1->node2->node3
// node3->cond
// cond(yes)->node4

```

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

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

評価

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

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

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