1
Ich versuche, ein Grafik-Netzwerk mit Punkt zu erstellen. und Graphik.Graphviz Subgraphen Auftrag
Bisher ist dies mein Code:
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", style = filled, fillcolor = grey91]
11[label = "11", style = filled, fillcolor = grey91]
}
Dies ist, was ich bekommen:
Das ist, was ich erhalten möchte:
Wie die Untergraphen in die richtige Reihenfolge bringen?
Vielen Dank im Voraus für Ihre Hilfe! Mit freundlichen Grüßen!
Hallo @vaettchen Erträge, es funktioniert sehr gut! Vielen Dank für Ihre Zeit und Hilfe! – 3lli0t
In cluster_3 würde ich color = "invis" verwenden – Misi