Homebrew graphviz depends on python, clang/gcc, ghostview, webkit, who knows, swig? R? because build environment and optional packages are made into requirements. It’s not just homebrew, either. There’s a lot of overkill in other popular build environments.