diff --git a/e2etests/testdata/files/grid_nested_simple_edges.d2 b/e2etests/testdata/files/grid_nested_simple_edges.d2 index 06e713f5c..6070799f6 100644 --- a/e2etests/testdata/files/grid_nested_simple_edges.d2 +++ b/e2etests/testdata/files/grid_nested_simple_edges.d2 @@ -1,45 +1,48 @@ direction: right -# outer-grid -> outer-container +outer-grid -> outer-container -# outer-grid: { -grid-columns: 1 +outer-grid: { + grid-columns: 1 -# okok # -> container # -> etc + inner-grid -> container -> etc -container: { - label.near: top-left - # edges not yet supported here since they must be direct grid children - a - b - # c + container: { + label.near: top-left + # edges not yet supported here since they must be direct grid children + a + b + c - a -> b + 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 + } } -# inner-grid: { -# # grid-rows: 1 -# # 1 -# # 2 -# # 3 -# # edges here are not supported yet since this is inside another grid -# } -# } +outer-container: { + grid -> container -# outer-container: { -# grid -> container + grid: { + grid-rows: 1 + # direct child edges ok in least nested grid + 1 -> 2 -> 3 + } -# 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 -# } -# } -# } + container: { + # non grid edges ok + 4 -> 5 -> 6 + nested container: { + # nested non grid edges ok + 7 -> 8 + } + } +}