Skip to content

Hope to have a file tree mermaid diagram type #6133

@Ikki-Dai

Description

@Ikki-Dai

Proposal

mermaid should have a file tree diagram for a presentation

Use Cases

some times need a file true to show my project file struct

Screenshots

No response

Syntax

filetree

+-- directory1
  |-- sub directory 1
      |-- file3.png
      |-- file4.font
  |-- sub directory 2
  |-- file.js
  |-- file2.css

a mermaid syntax may looks like that, + means a directory and indentation means struct , some icons can be used for file-type render

Implementation

This is a proposal which I'd love to see built into mermaid by the wonderful community.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions