...

Text file src/oss.terrastruct.com/d2/testdata/d2oracle/TestDelete/children_flat_conflicts.exp.json

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

     1{
     2  "graph": {
     3    "name": "",
     4    "isFolderOnly": false,
     5    "ast": {
     6      "range": "d2/testdata/d2oracle/TestDelete/children_flat_conflicts.d2,0:0:0-4:0:17",
     7      "nodes": [
     8        {
     9          "map_key": {
    10            "range": "d2/testdata/d2oracle/TestDelete/children_flat_conflicts.d2,0:0:0-0:3:3",
    11            "key": {
    12              "range": "d2/testdata/d2oracle/TestDelete/children_flat_conflicts.d2,0:0:0-0:3:3",
    13              "path": [
    14                {
    15                  "unquoted_string": {
    16                    "range": "d2/testdata/d2oracle/TestDelete/children_flat_conflicts.d2,0:0:0-0:3:3",
    17                    "value": [
    18                      {
    19                        "string": "x 2",
    20                        "raw_string": "x 2"
    21                      }
    22                    ]
    23                  }
    24                }
    25              ]
    26            },
    27            "primary": {},
    28            "value": {}
    29          }
    30        },
    31        {
    32          "map_key": {
    33            "range": "d2/testdata/d2oracle/TestDelete/children_flat_conflicts.d2,1:0:4-1:1:5",
    34            "key": {
    35              "range": "d2/testdata/d2oracle/TestDelete/children_flat_conflicts.d2,1:0:4-1:1:5",
    36              "path": [
    37                {
    38                  "unquoted_string": {
    39                    "range": "d2/testdata/d2oracle/TestDelete/children_flat_conflicts.d2,1:0:4-1:1:5",
    40                    "value": [
    41                      {
    42                        "string": "x",
    43                        "raw_string": "x"
    44                      }
    45                    ]
    46                  }
    47                }
    48              ]
    49            },
    50            "primary": {},
    51            "value": {}
    52          }
    53        },
    54        {
    55          "map_key": {
    56            "range": "d2/testdata/d2oracle/TestDelete/children_flat_conflicts.d2,3:0:7-3:9:16",
    57            "key": {
    58              "range": "d2/testdata/d2oracle/TestDelete/children_flat_conflicts.d2,3:0:7-3:3:10",
    59              "path": [
    60                {
    61                  "unquoted_string": {
    62                    "range": "d2/testdata/d2oracle/TestDelete/children_flat_conflicts.d2,3:0:7-3:3:10",
    63                    "value": [
    64                      {
    65                        "string": "x 2",
    66                        "raw_string": "x 2"
    67                      }
    68                    ]
    69                  }
    70                }
    71              ]
    72            },
    73            "primary": {},
    74            "value": {
    75              "double_quoted_string": {
    76                "range": "d2/testdata/d2oracle/TestDelete/children_flat_conflicts.d2,3:5:12-3:9:16",
    77                "value": [
    78                  {
    79                    "string": "hi",
    80                    "raw_string": "hi"
    81                  }
    82                ]
    83              }
    84            }
    85          }
    86        }
    87      ]
    88    },
    89    "root": {
    90      "id": "",
    91      "id_val": "",
    92      "attributes": {
    93        "label": {
    94          "value": ""
    95        },
    96        "labelDimensions": {
    97          "width": 0,
    98          "height": 0
    99        },
   100        "style": {},
   101        "near_key": null,
   102        "shape": {
   103          "value": ""
   104        },
   105        "direction": {
   106          "value": ""
   107        },
   108        "constraint": null
   109      },
   110      "zIndex": 0
   111    },
   112    "edges": null,
   113    "objects": [
   114      {
   115        "id": "x 2",
   116        "id_val": "x 2",
   117        "references": [
   118          {
   119            "key": {
   120              "range": "d2/testdata/d2oracle/TestDelete/children_flat_conflicts.d2,0:0:0-0:3:3",
   121              "path": [
   122                {
   123                  "unquoted_string": {
   124                    "range": "d2/testdata/d2oracle/TestDelete/children_flat_conflicts.d2,0:0:0-0:3:3",
   125                    "value": [
   126                      {
   127                        "string": "x 2",
   128                        "raw_string": "x 2"
   129                      }
   130                    ]
   131                  }
   132                }
   133              ]
   134            },
   135            "key_path_index": 0,
   136            "map_key_edge_index": -1
   137          },
   138          {
   139            "key": {
   140              "range": "d2/testdata/d2oracle/TestDelete/children_flat_conflicts.d2,3:0:7-3:3:10",
   141              "path": [
   142                {
   143                  "unquoted_string": {
   144                    "range": "d2/testdata/d2oracle/TestDelete/children_flat_conflicts.d2,3:0:7-3:3:10",
   145                    "value": [
   146                      {
   147                        "string": "x 2",
   148                        "raw_string": "x 2"
   149                      }
   150                    ]
   151                  }
   152                }
   153              ]
   154            },
   155            "key_path_index": 0,
   156            "map_key_edge_index": -1
   157          }
   158        ],
   159        "attributes": {
   160          "label": {
   161            "value": "hi"
   162          },
   163          "labelDimensions": {
   164            "width": 0,
   165            "height": 0
   166          },
   167          "style": {},
   168          "near_key": null,
   169          "shape": {
   170            "value": "rectangle"
   171          },
   172          "direction": {
   173            "value": ""
   174          },
   175          "constraint": null
   176        },
   177        "zIndex": 0
   178      },
   179      {
   180        "id": "x",
   181        "id_val": "x",
   182        "references": [
   183          {
   184            "key": {
   185              "range": "d2/testdata/d2oracle/TestDelete/children_flat_conflicts.d2,1:0:4-1:1:5",
   186              "path": [
   187                {
   188                  "unquoted_string": {
   189                    "range": "d2/testdata/d2oracle/TestDelete/children_flat_conflicts.d2,1:0:4-1:1:5",
   190                    "value": [
   191                      {
   192                        "string": "x",
   193                        "raw_string": "x"
   194                      }
   195                    ]
   196                  }
   197                }
   198              ]
   199            },
   200            "key_path_index": 0,
   201            "map_key_edge_index": -1
   202          }
   203        ],
   204        "attributes": {
   205          "label": {
   206            "value": "x"
   207          },
   208          "labelDimensions": {
   209            "width": 0,
   210            "height": 0
   211          },
   212          "style": {},
   213          "near_key": null,
   214          "shape": {
   215            "value": "rectangle"
   216          },
   217          "direction": {
   218            "value": ""
   219          },
   220          "constraint": null
   221        },
   222        "zIndex": 0
   223      }
   224    ]
   225  },
   226  "err": "<nil>"
   227}

View as plain text