flowchart.js icon indicating copy to clipboard operation
flowchart.js copied to clipboard

How do I change the height of the flowchart?

Open WilliamQiufeng opened this issue 6 years ago • 3 comments

In the example, there is an attribute maxWidth to limit the width. However, I want to limit the height too, but maxHeight does not work. What is the proper attribute to limit the height?

WilliamQiufeng avatar Jul 01 '19 13:07 WilliamQiufeng

Only maxWidth is "kind of" supported

adrai avatar Jul 01 '19 14:07 adrai

That means I cannot set/limit its height and can only leave it super-duper thin?

WilliamQiufeng avatar Jul 02 '19 12:07 WilliamQiufeng

Exactly. But feel free to submit a PR.

adrai avatar Jul 02 '19 12:07 adrai