Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boxed lines instead of curved lines in TREE diagram #4407

Closed
Thoybur-Rohman opened this issue May 16, 2023 Discussed in #4406 · 1 comment
Closed

Boxed lines instead of curved lines in TREE diagram #4407

Thoybur-Rohman opened this issue May 16, 2023 Discussed in #4406 · 1 comment
Labels
Status: Triage Needs to be verified, categorized, etc

Comments

@Thoybur-Rohman
Copy link

Discussed in https://github.com/orgs/mermaid-js/discussions/4406

Originally posted by Thoybur-Rohman May 16, 2023
Issue: i would like the lines to be boxed but Marmaid ( from what iv found ) does not have any option for this ) does anyone know or has done this?

graph TD
A[STUFF] -->|Get money| B(Go shopping)
B ==> C{Let me think}
C -->|One| D[Laptop]
C -->|Two| E[iPhone]
C ==>|Three| F[fa:fa-car Car]

OUTPUT:
image

@github-actions github-actions bot added the Status: Triage Needs to be verified, categorized, etc label May 16, 2023
@sidharthv96
Copy link
Member

You can use flowchart-elk instead of graph.

flowchart-elk TD
A[STUFF] -->|Get money| B(Go shopping)
B ==> C{Let me think}
C -->|One| D[Laptop]
C -->|Two| E[iPhone]
C ==>|Three| F[fa:fa-car Car]
Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc
Projects
None yet
Development

No branches or pull requests

2 participants