Open ProbablePrime opened 7 months ago
Configuration options are now automatically generated https://mermaid.js.org/config/schema-docs/config.html and yes, documentation can be obsolete. Update it if needed
By the way, the link https://mermaid.js.org/syntax/flowchart.html#configuration seems to be broken, if you paste it
https://mermaid.js.org/syntax/flowchart.html#configuration
or click it https://mermaid.js.org/syntax/flowchart.html#configuration you'll get 2 different results. Some redirects are wrong.
Configuration options are here https://mermaid.js.org/config/schema-docs/config.html
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
Suggested Solutions
Update the documentation
Additional Context
No response