Graphviz is licensed under the https://en.wikipedia.org/wiki/Eclipse_Public_License, not the GPL.
Neither library bundles or depends on Graphviz directly, you need to install Graphviz yourself. I'm wondering what kind of issues you're afraid of? Are you banned from using software that is licensed under a copyleft license somehow?