...

Text file src/oss.terrastruct.com/d2/testdata/d2oracle/TestSet/set_fill_pattern.exp.json

Documentation: oss.terrastruct.com/d2/testdata/d2oracle/TestSet

     1{
     2  "graph": {
     3    "name": "",
     4    "isFolderOnly": false,
     5    "ast": {
     6      "range": "d2/testdata/d2oracle/TestSet/set_fill_pattern.d2,0:0:0-1:0:36",
     7      "nodes": [
     8        {
     9          "map_key": {
    10            "range": "d2/testdata/d2oracle/TestSet/set_fill_pattern.d2,0:0:0-0:35:35",
    11            "key": {
    12              "range": "d2/testdata/d2oracle/TestSet/set_fill_pattern.d2,0:0:0-0:6:6",
    13              "path": [
    14                {
    15                  "unquoted_string": {
    16                    "range": "d2/testdata/d2oracle/TestSet/set_fill_pattern.d2,0:0:0-0:6:6",
    17                    "value": [
    18                      {
    19                        "string": "square",
    20                        "raw_string": "square"
    21                      }
    22                    ]
    23                  }
    24                }
    25              ]
    26            },
    27            "primary": {},
    28            "value": {
    29              "map": {
    30                "range": "d2/testdata/d2oracle/TestSet/set_fill_pattern.d2,0:8:8-0:35:35",
    31                "nodes": [
    32                  {
    33                    "map_key": {
    34                      "range": "d2/testdata/d2oracle/TestSet/set_fill_pattern.d2,0:9:9-0:34:34",
    35                      "key": {
    36                        "range": "d2/testdata/d2oracle/TestSet/set_fill_pattern.d2,0:9:9-0:27:27",
    37                        "path": [
    38                          {
    39                            "unquoted_string": {
    40                              "range": "d2/testdata/d2oracle/TestSet/set_fill_pattern.d2,0:9:9-0:14:14",
    41                              "value": [
    42                                {
    43                                  "string": "style",
    44                                  "raw_string": "style"
    45                                }
    46                              ]
    47                            }
    48                          },
    49                          {
    50                            "unquoted_string": {
    51                              "range": "d2/testdata/d2oracle/TestSet/set_fill_pattern.d2,0:15:15-0:27:27",
    52                              "value": [
    53                                {
    54                                  "string": "fill-pattern",
    55                                  "raw_string": "fill-pattern"
    56                                }
    57                              ]
    58                            }
    59                          }
    60                        ]
    61                      },
    62                      "primary": {},
    63                      "value": {
    64                        "unquoted_string": {
    65                          "range": "d2/testdata/d2oracle/TestSet/set_fill_pattern.d2,0:29:29-0:34:34",
    66                          "value": [
    67                            {
    68                              "string": "grain",
    69                              "raw_string": "grain"
    70                            }
    71                          ]
    72                        }
    73                      }
    74                    }
    75                  }
    76                ]
    77              }
    78            }
    79          }
    80        }
    81      ]
    82    },
    83    "root": {
    84      "id": "",
    85      "id_val": "",
    86      "attributes": {
    87        "label": {
    88          "value": ""
    89        },
    90        "labelDimensions": {
    91          "width": 0,
    92          "height": 0
    93        },
    94        "style": {},
    95        "near_key": null,
    96        "shape": {
    97          "value": ""
    98        },
    99        "direction": {
   100          "value": ""
   101        },
   102        "constraint": null
   103      },
   104      "zIndex": 0
   105    },
   106    "edges": null,
   107    "objects": [
   108      {
   109        "id": "square",
   110        "id_val": "square",
   111        "references": [
   112          {
   113            "key": {
   114              "range": "d2/testdata/d2oracle/TestSet/set_fill_pattern.d2,0:0:0-0:6:6",
   115              "path": [
   116                {
   117                  "unquoted_string": {
   118                    "range": "d2/testdata/d2oracle/TestSet/set_fill_pattern.d2,0:0:0-0:6:6",
   119                    "value": [
   120                      {
   121                        "string": "square",
   122                        "raw_string": "square"
   123                      }
   124                    ]
   125                  }
   126                }
   127              ]
   128            },
   129            "key_path_index": 0,
   130            "map_key_edge_index": -1
   131          }
   132        ],
   133        "attributes": {
   134          "label": {
   135            "value": "square"
   136          },
   137          "labelDimensions": {
   138            "width": 0,
   139            "height": 0
   140          },
   141          "style": {
   142            "fillPattern": {
   143              "value": "grain"
   144            }
   145          },
   146          "near_key": null,
   147          "shape": {
   148            "value": "rectangle"
   149          },
   150          "direction": {
   151            "value": ""
   152          },
   153          "constraint": null
   154        },
   155        "zIndex": 0
   156      }
   157    ]
   158  },
   159  "err": "<nil>"
   160}

View as plain text