def startGraph():
    # We maintain this globally to make it accessible, pylint: disable=W0603
    global graph

    if Options.shouldCreateGraph():
        try:
            from graphviz import Digraph # pylint: disable=F0401,I0021
            graph = Digraph('G')
        except __HOLE__:
            warning("Cannot import graphviz module, no graphing capability.")
dataset/ETHPy150Open kayhayen/Nuitka/nuitka/optimizations/Graphs.py/startGraph