小编3ll*_*i0t的帖子

Graphviz 子图顺序

我正在尝试用点创建一个图形网络。和图形。

到目前为止,这是我的代码:

  graph {
rankdir  = LR;
splines=line;       

subgraph cluster_1{            
    1; 2;
}
subgraph cluster_2{
    b; c;
}

subgraph cluster_3{
color = white       
    10;11;
}

b -- {1 2 10 11}[color = blue];
c -- {1 2 10 11}[color = yellow];   



1[label = "1", style = filled, fillcolor = grey91]
2[label = "2", style = filled, fillcolor = grey91]
b[label = "B", style = filled, fillcolor = blue]
c[label = "C", style = filled, fillcolor = yellow]
10[label = "10", …
Run Code Online (Sandbox Code Playgroud)

dot graphviz

4
推荐指数
1
解决办法
5622
查看次数

标签 统计

dot ×1

graphviz ×1