...

Text file src/oss.terrastruct.com/d2/e2etests/testdata/files/shaped_grid_positioning.d2

Documentation: oss.terrastruct.com/d2/e2etests/testdata/files

     1vars: {
     2  grid-container: {
     3    label: aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa
     4    grid-rows: 2
     5    grid-columns: 2
     6    a
     7    b
     8    c
     9    d
    10  }
    11}
    12circle: {
    13  shape: circle
    14  ...${grid-container}
    15}
    16
    17oval: {
    18  shape: oval
    19  ...${grid-container}
    20}
    21
    22diamond: {
    23  shape: diamond
    24  ...${grid-container}
    25}
    26
    27square: {
    28  shape: square
    29  ...${grid-container}
    30}
    31
    32rect: {
    33  ...${grid-container}
    34}
    35
    36cloud: {
    37  shape: cloud
    38  ...${grid-container}
    39}

View as plain text