如何将 graphviz 子图集群的标签定位在左侧?

How do I position the label of a graphviz subgraph cluster to be on the left?

如何将子图集群的标签放置在左侧而不是居中?

digraph mygraph {
    test1;

    subgraph cluster_mysubgraph {
        label = "This text should be at the left of the subgraph - not centered!";

        test2;
        test3;
        test4;
        test5;
        test6;
        test7;
    }

    test1 -> {test2, test3, test4, test5, test6, test7};
}

您可以简单地在您的子图中添加 labeljust="l";