cluster
サブグラフがクラスタであるかどうか
型: bool, デフォルト: false
サブグラフクラスタは異なるレンダリングがされます。例えば、dot
はサブグラフクラスタの周りにボックスを描画しますが、非サブグラフクラスタの周りにはボックスを描画しません。
例
digraph cats {
subgraph cluster_big_cats {
// This subgraph is a cluster, because the name begins with "cluster"
"Lion";
"Snow Leopard";
}
subgraph domestic_cats {
// This subgraph is also a cluster, because cluster=true.
cluster=true;
"Siamese";
"Persian";
}
subgraph not_a_cluster {
// This subgraph is not a cluster, because it doesn't start with "cluster",
// nor sets cluster=true.
"Wildcat";
}
}
- クラスタ
- サブグラフ