Path 1: 3 calls (1.0)

1def check_graphviz_availability() -> None:
2    """Check if the ``dot`` command is available on the machine.
3
4    This is needed if image output is desired and ``dot`` is used to convert
5    from *.dot or *.gv into the final output format.
6    """
7    if shutil.which("dot") is None:
8        print("'Graphviz' needs to be installed for your chosen output format.")
9        sys.exit(32)