mermaid icon indicating copy to clipboard operation
mermaid copied to clipboard

Documentation: Old Documentation issue, mermaid.flowchartConfig

Open ProbablePrime opened this issue 1 year ago • 2 comments

Description

https://mermaid.js.org/syntax/flowchart.html#configuration Lists mermaid.flowchartConfig.width as a method to change the flowchart's width.

A quick search on the repo(https://github.com/search?q=repo%3Amermaid-js%2Fmermaid%20flowchartConfig&type=code) says that this property doesn't exist.

Additionally, https://github.com/mermaid-js/mermaid/blob/develop/packages/mermaid/src/config.type.ts#L1433 doesn't contain a width property.

Therefore I believe this is an error. Git Blaming shows the last time that area was touched was 5 years ago.

Steps to reproduce

N/A

Screenshots

No response

Code Sample

No response

Setup

  • Mermaid version: source

Suggested Solutions

Update the documentation

Additional Context

No response

ProbablePrime avatar Feb 16 '24 07:02 ProbablePrime