mermaid-js / mermaid

Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
https://mermaid.js.org
MIT License
72.73k stars 6.63k forks source link

Arrows should Come out in upward and Downward direction from decision Node #566

Closed vikram-rawat closed 6 years ago

vikram-rawat commented 7 years ago

graph LR A[Hard edge] -->|Link text| B(Round edge) B --> C{Decision} C -->|One| D[Result one] C -->|Two| E[Result two]

tylerlong commented 6 years ago

If there are LOTS of decisions, it's impractical to have all of them upward / downward: https://mermaidjs.github.io/mermaid-live-editor/#/edit/Z3JhcGggTFIKQVtIYXJkIGVkZ2VdIC0tPnxMaW5rIHRleHR8IEIoUm91bmQgZWRnZSkKQiAtLT4gQ3tEZWNpc2lvbn0KQyAtLT58T25lfCBEW1Jlc3VsdCBvbmVdCkMgLS0-fFR3b3wgRVtSZXN1bHQgdHdvXQpDIC0tPnxUaHJlZXwgRltSZXN1bHQgdGhyZWVdCkMgLS0-fEZvdXJ8IEdbUmVzdWx0IGZvdXJd

image