Skip to content

allow long flowchart expressed in S shape #7368

@DoubleLT

Description

@DoubleLT

Description

when we have a multiple steps in a flowchart. usually we got a very wide or very long graph in on line or one column.

I was wondering that maybe mermaid was designed for web browser, however, we use mermaid often in vs code, typora, which could export the file of markdown or pdf.

if it is available to adopt the width or heigh (just an example like S shape), it would be much better for viewer.

Steps to reproduce

  1. Mermaid Live Editor
  2. input the below code
  3. you'll find the flowchart is very wide or long, which is more convenient to use like s shape for better view.

Screenshots

No response

Code Sample

flowchart TD
a[Market Research] --> b[Car Styling] --> c[Planning] --> d[structure design] --> e[manufacturing] --> f[assembling] --> g[testing] --> h[to the market]

Setup

  • Mermaid version:
  • Browser and Version: [Chrome, Edge, Firefox]

Suggested Solutions

No response

Additional Context

No response

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