2
digraph G {
compound=true;
subgraph SJC {
node [style="filled"];
label = "SJC";
channel [shape=cylinder];
}
subgraph Fleet {
node [style="filled"];
App1 [shape=cylinder];
App2 [shape=cylinder];
App3 [shape=cylinder];
label = "Fleet of machines";
style="filled";
color="lightgrey";
}
App1 -> channel [ltail=SJC, lhead=Fleet];
}
通過上面的代碼,我的期望是得到2個與子圖對應的容器框。不過,我收到相關圖片如下:無法繪製子圖
而且,我得到兩次警告。
Warning: cluster named Fleet not found
Warning: cluster named SJC not found