2016-03-07 65 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

回答

相關問題