2016-03-07 63 views
1

如何定位子图簇的标签以显示在其左侧而不是居中?如何将graphviz子图簇的标签放置在左侧?

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}; 
} 
+1

顺便说一句,当我用最后一行分隔简单逗号的节点时出现错误 - 我用分号取代了它们。 – marapet

回答

相关问题