d2/e2etests/testdata/files/grid_nested_simple_edges.d2

49 lines
738 B
Text
Raw Normal View History

direction: right
2023-09-27 23:57:22 +00:00
outer-grid -> outer-container
2023-09-27 22:30:40 +00:00
2023-09-27 23:57:22 +00:00
outer-grid: {
grid-columns: 1
2023-09-27 22:30:40 +00:00
2023-09-27 23:57:22 +00:00
inner-grid -> container -> etc
2023-09-27 22:30:40 +00:00
2023-09-27 23:57:22 +00:00
container: {
label.near: top-left
# edges not yet supported here since they must be direct grid children
a
b
c
2023-09-27 23:57:22 +00:00
a -> b
}
inner-grid: {
grid-rows: 1
1
2
3
# edges here are not supported yet since this is inside another grid
# TODO should work now, update compile check
# 1 -> 2 -> 3
}
}
2023-09-27 22:30:40 +00:00
2023-09-27 23:57:22 +00:00
outer-container: {
grid -> container
grid: {
grid-rows: 1
# direct child edges ok in least nested grid
1 -> 2 -> 3
}
container: {
# non grid edges ok
4 -> 5 -> 6
nested container: {
# nested non grid edges ok
7 -> 8
}
}
}