def graphToTerminal(graph, show_disconnected=True):
    """Output a graph as a Text Representation on the Terminal.

    The format of graph has to be like the one getGraph() returns.
    output is the output-file.
    if show_disconnected is True it shows Distributions without dependencies as well.
    """
    for dist, deplist in graph.items():
        if show_disconnected and not deplist:
            print('"' + dist + '"')
        for d in deplist:
            print('"' + dist + '" -> "' + d + '"')
