What pipdeptree version are you using?
2.28.0
Are you running pipdeptree in a virtual environment?
Yes
Describe the problem
pipdeptree -p foo -d 1 --graph-output png > file.png should produce a fairly small graph and it does so in stdout. However the generated graph is still huge when using --graph-output