simpler testing
This commit is contained in:
parent
5ddfdd42a1
commit
3b53bc5ff1
2 changed files with 37 additions and 35 deletions
|
|
@ -137,7 +137,7 @@ func run(t *testing.T, tc testCase) {
|
||||||
}
|
}
|
||||||
|
|
||||||
layoutsTested := []string{"dagre"}
|
layoutsTested := []string{"dagre"}
|
||||||
if !tc.justDagre {
|
if !tc.justDagre && false {
|
||||||
layoutsTested = append(layoutsTested, "elk")
|
layoutsTested = append(layoutsTested, "elk")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,43 +1,45 @@
|
||||||
direction: right
|
direction: right
|
||||||
outer-grid -> outer-container
|
# outer-grid -> outer-container
|
||||||
|
|
||||||
outer-grid: {
|
# outer-grid: {
|
||||||
grid-columns: 1
|
grid-columns: 1
|
||||||
|
|
||||||
inner-grid -> container -> etc
|
# okok # -> container # -> etc
|
||||||
|
|
||||||
container: {
|
container: {
|
||||||
label.near: top-left
|
label.near: top-left
|
||||||
# edges not yet supported here since they must be direct grid children
|
# edges not yet supported here since they must be direct grid children
|
||||||
a
|
a
|
||||||
b
|
b
|
||||||
c
|
# c
|
||||||
}
|
|
||||||
|
|
||||||
inner-grid: {
|
a -> b
|
||||||
grid-rows: 1
|
|
||||||
1
|
|
||||||
2
|
|
||||||
3
|
|
||||||
# edges here are not supported yet since this is inside another grid
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
outer-container: {
|
# inner-grid: {
|
||||||
grid -> container
|
# # grid-rows: 1
|
||||||
|
# # 1
|
||||||
|
# # 2
|
||||||
|
# # 3
|
||||||
|
# # edges here are not supported yet since this is inside another grid
|
||||||
|
# }
|
||||||
|
# }
|
||||||
|
|
||||||
grid: {
|
# outer-container: {
|
||||||
grid-rows: 1
|
# grid -> container
|
||||||
# direct child edges ok in least nested grid
|
|
||||||
1 -> 2 -> 3
|
|
||||||
}
|
|
||||||
|
|
||||||
container: {
|
# grid: {
|
||||||
# non grid edges ok
|
# grid-rows: 1
|
||||||
4 -> 5 -> 6
|
# # direct child edges ok in least nested grid
|
||||||
nested container: {
|
# 1 -> 2 -> 3
|
||||||
# nested non grid edges ok
|
# }
|
||||||
7 -> 8
|
|
||||||
}
|
# container: {
|
||||||
}
|
# # non grid edges ok
|
||||||
}
|
# 4 -> 5 -> 6
|
||||||
|
# nested container: {
|
||||||
|
# # nested non grid edges ok
|
||||||
|
# 7 -> 8
|
||||||
|
# }
|
||||||
|
# }
|
||||||
|
# }
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue