def METHOD_NAME(graph, indent=2):
    lines = []
    for c, deps in graph.items():
        lines.append(f'{" "*indent}{c} -> [{", ".join(str(d) for d in deps)}]')
    if not lines:
        lines = [' '*indent + '<empty>']
    return '\n'.join(lines)