在 DOT 图中设置固定的深度级别可以通过以下步骤实现:
digraph {
A -> B;
B -> C;
C -> D [label="Level 3"];
}
digraph {
A -> B [label="Level 2"];
B -> C;
C -> D [label="Level 3"];
}
digraph {
A -> B [label="Level 2"];
B -> C [label="Level 3"];
C -> D [label="Level 4"];
}
digraph {
A -> B;
B -> C;
C -> D [label="Level 3"];
}
digraph {
node [shape=box];
A [label="Level 1"];
B [label="Level 2"];
C [label="Level 3"];
D [label="Level 4"];
}
digraph {
node [shape=box];
A [label="Level 1"];
B [label="Level 2"];
C [label="Level 3"];
D [label="Level 4"];
A -> B [ltail=clusternet
领取专属 10元无门槛券
手把手带您无忧上云