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

FR: Generate Hierarchy Diagram from Markdown List #3037

Closed
DarkTrick opened this issue May 14, 2022 · 4 comments
Closed

FR: Generate Hierarchy Diagram from Markdown List #3037

DarkTrick opened this issue May 14, 2022 · 4 comments
Labels
Type: Enhancement New feature or request

Comments

@DarkTrick
Copy link

DarkTrick commented May 14, 2022

Is your feature request related to a problem? Please describe

Problem
Mermaid syntax can become very wordy or difficult to read.

Background

I have many markdown documents describing dependencies or hierarchies in a markdown-list format like the following:

- House
  - Kitchen
    - chair
    - table  
  - Living room
    - chair
    - table
  - Bathroom
     - bath tub
     - toilette 

To translate the into mermaid so a diagram can be generated, I end up with

  1. very long lines connecting nodes via & ( House --> Kitchen & Living room & Bathroom)
  2. or I need a lot redundancy by repeatedly restating the name of a node.

Describe the solution you'd like

I'd like to create this:
image
from this:

- A
  - B
  - C
  - D
@DarkTrick DarkTrick added Status: Triage Needs to be verified, categorized, etc Type: Enhancement New feature or request labels May 14, 2022
@knsv
Copy link
Collaborator

knsv commented Aug 21, 2022

This is very close to my the syntax for mindmaps that I am working on:

   root[The root]
      Child1
      child2(Child2)
        Other
      Child3
        GrandChild1
          sc1
          sc2
          sc3
        GrandChild2

We should do this. There are more diagrams that could use the syntax like wbs diagrams and org charts.

@knsv knsv removed the Status: Triage Needs to be verified, categorized, etc label Aug 21, 2022
@PrescottJRynewicz
Copy link

PrescottJRynewicz commented Nov 1, 2022

I am also interested in this feature

@KameronKales
Copy link

Id love this feature as well

@jgreywolf
Copy link
Contributor

Closing as duplicate of #3989 and #1360

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants