kimikage / ProfileSVG.jl

Write flame graphs to SVG format and explore them interactively in Jupyter, Pluto, etc.
MIT License
52 stars 7 forks source link

Option to specify width #33

Closed racinmat closed 4 years ago

racinmat commented 4 years ago

It would be great to have option to set different width https://github.com/kimikage/ProfileSVG.jl/blob/master/src/ProfileSVG.jl#L80 currently flamegraphs I create have very weird sizes of 1000x2905, which on one hand takes lots of space vertically, and makes me unable to use lots of space on my monitor vertically.

kimikage commented 4 years ago

I'm going to support width and height options as part of #8. (Currently writing the tests and docs.)

Manual height can cause cropping, so I plan to add support for maxdepth option and #17 after that.