Skip to content

Instantly share code, notes, and snippets.

@natbusa
Last active November 7, 2022 06:52
Show Gist options
  • Save natbusa/e97380a88a443c238a5b0930a4091c26 to your computer and use it in GitHub Desktop.
Save natbusa/e97380a88a443c238a5b0930a4091c26 to your computer and use it in GitHub Desktop.
Mermaid tests
%%{ init: { 'flowchart': { 'curve': 'stepAfter' } } }%%
flowchart TD
    A["A"]
    A---B[B] 
    A---C[C]
    A---D[D]
Loading
%%{ init: { 'flowchart': { 'curve': 'linear' } } }%%
flowchart TD
    A["A"]
    A---B[B] 
    A---C[C]
    A---D[D]
    A---E[E]
Loading
@natbusa
Copy link
Author

natbusa commented Nov 7, 2022

90 degree elbows is possible for 3 leaves, but looks weird if 4 or more.
Use option stepAfter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment