def METHOD_NAME(show_excluded: bool):
    """Generate a graphviz spec for the current model dependency graph."""
    # Get all dependencies, filtering as necessary.
    deps = sorted(dependencies().values(), key=lambda mr: mr.model.__name__)
    if not show_excluded:
        deps = list(filter(lambda m: m.relocation_scope != RelocationScope.Excluded, deps))
    # Group by region scope.
    user_scoped = filter(lambda m: m.relocation_scope == RelocationScope.User, deps)
    org_scoped = filter(lambda m: m.relocation_scope == RelocationScope.Organization, deps)
    global_scoped = filter(lambda m: m.relocation_scope == RelocationScope.Global, deps)
    # Print nodes.
    clusters = "".join(
        [
            print_rel_scope_subgraph("User", 1, user_scoped, ClusterColor.Green),
            print_rel_scope_subgraph("Organization", 2, org_scoped, ClusterColor.Purple),
            print_rel_scope_subgraph("Global", 3, global_scoped, ClusterColor.Yellow),
        ]
    )
    # Print edges.
    edges = "\n    ".join(filter(lambda s: s, [print_edges(mr) for mr in deps]))
    click.echo(digraph.substitute(clusters=clusters, edges=edges))