...

Text file src/oss.terrastruct.com/d2/testdata/d2oracle/TestDelete/multi_path_map_conflict.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/multi_path_map_conflict.d2,0:0:0-6:0:24",
     7      "nodes": [
     8        {
     9          "map_key": {
    10            "range": "d2/testdata/d2oracle/TestDelete/multi_path_map_conflict.d2,0:0:0-2:1:12",
    11            "key": {
    12              "range": "d2/testdata/d2oracle/TestDelete/multi_path_map_conflict.d2,0:0:0-0:1:1",
    13              "path": [
    14                {
    15                  "unquoted_string": {
    16                    "range": "d2/testdata/d2oracle/TestDelete/multi_path_map_conflict.d2,0:0:0-0:1:1",
    17                    "value": [
    18                      {
    19                        "string": "x",
    20                        "raw_string": "x"
    21                      }
    22                    ]
    23                  }
    24                }
    25              ]
    26            },
    27            "primary": {},
    28            "value": {
    29              "map": {
    30                "range": "d2/testdata/d2oracle/TestDelete/multi_path_map_conflict.d2,0:3:3-2:1:12",
    31                "nodes": [
    32                  {
    33                    "map_key": {
    34                      "range": "d2/testdata/d2oracle/TestDelete/multi_path_map_conflict.d2,1:2:7-1:5:10",
    35                      "key": {
    36                        "range": "d2/testdata/d2oracle/TestDelete/multi_path_map_conflict.d2,1:2:7-1:5:10",
    37                        "path": [
    38                          {
    39                            "unquoted_string": {
    40                              "range": "d2/testdata/d2oracle/TestDelete/multi_path_map_conflict.d2,1:2:7-1:5:10",
    41                              "value": [
    42                                {
    43                                  "string": "z 2",
    44                                  "raw_string": "z 2"
    45                                }
    46                              ]
    47                            }
    48                          }
    49                        ]
    50                      },
    51                      "primary": {},
    52                      "value": {}
    53                    }
    54                  }
    55                ]
    56              }
    57            }
    58          }
    59        },
    60        {
    61          "map_key": {
    62            "range": "d2/testdata/d2oracle/TestDelete/multi_path_map_conflict.d2,3:0:13-5:1:23",
    63            "key": {
    64              "range": "d2/testdata/d2oracle/TestDelete/multi_path_map_conflict.d2,3:0:13-3:1:14",
    65              "path": [
    66                {
    67                  "unquoted_string": {
    68                    "range": "d2/testdata/d2oracle/TestDelete/multi_path_map_conflict.d2,3:0:13-3:1:14",
    69                    "value": [
    70                      {
    71                        "string": "x",
    72                        "raw_string": "x"
    73                      }
    74                    ]
    75                  }
    76                }
    77              ]
    78            },
    79            "primary": {},
    80            "value": {
    81              "map": {
    82                "range": "d2/testdata/d2oracle/TestDelete/multi_path_map_conflict.d2,3:3:16-5:1:23",
    83                "nodes": [
    84                  {
    85                    "map_key": {
    86                      "range": "d2/testdata/d2oracle/TestDelete/multi_path_map_conflict.d2,4:2:20-4:3:21",
    87                      "key": {
    88                        "range": "d2/testdata/d2oracle/TestDelete/multi_path_map_conflict.d2,4:2:20-4:3:21",
    89                        "path": [
    90                          {
    91                            "unquoted_string": {
    92                              "range": "d2/testdata/d2oracle/TestDelete/multi_path_map_conflict.d2,4:2:20-4:3:21",
    93                              "value": [
    94                                {
    95                                  "string": "z",
    96                                  "raw_string": "z"
    97                                }
    98                              ]
    99                            }
   100                          }
   101                        ]
   102                      },
   103                      "primary": {},
   104                      "value": {}
   105                    }
   106                  }
   107                ]
   108              }
   109            }
   110          }
   111        }
   112      ]
   113    },
   114    "root": {
   115      "id": "",
   116      "id_val": "",
   117      "attributes": {
   118        "label": {
   119          "value": ""
   120        },
   121        "labelDimensions": {
   122          "width": 0,
   123          "height": 0
   124        },
   125        "style": {},
   126        "near_key": null,
   127        "shape": {
   128          "value": ""
   129        },
   130        "direction": {
   131          "value": ""
   132        },
   133        "constraint": null
   134      },
   135      "zIndex": 0
   136    },
   137    "edges": null,
   138    "objects": [
   139      {
   140        "id": "x",
   141        "id_val": "x",
   142        "references": [
   143          {
   144            "key": {
   145              "range": "d2/testdata/d2oracle/TestDelete/multi_path_map_conflict.d2,0:0:0-0:1:1",
   146              "path": [
   147                {
   148                  "unquoted_string": {
   149                    "range": "d2/testdata/d2oracle/TestDelete/multi_path_map_conflict.d2,0:0:0-0:1:1",
   150                    "value": [
   151                      {
   152                        "string": "x",
   153                        "raw_string": "x"
   154                      }
   155                    ]
   156                  }
   157                }
   158              ]
   159            },
   160            "key_path_index": 0,
   161            "map_key_edge_index": -1
   162          },
   163          {
   164            "key": {
   165              "range": "d2/testdata/d2oracle/TestDelete/multi_path_map_conflict.d2,3:0:13-3:1:14",
   166              "path": [
   167                {
   168                  "unquoted_string": {
   169                    "range": "d2/testdata/d2oracle/TestDelete/multi_path_map_conflict.d2,3:0:13-3:1:14",
   170                    "value": [
   171                      {
   172                        "string": "x",
   173                        "raw_string": "x"
   174                      }
   175                    ]
   176                  }
   177                }
   178              ]
   179            },
   180            "key_path_index": 0,
   181            "map_key_edge_index": -1
   182          }
   183        ],
   184        "attributes": {
   185          "label": {
   186            "value": "x"
   187          },
   188          "labelDimensions": {
   189            "width": 0,
   190            "height": 0
   191          },
   192          "style": {},
   193          "near_key": null,
   194          "shape": {
   195            "value": "rectangle"
   196          },
   197          "direction": {
   198            "value": ""
   199          },
   200          "constraint": null
   201        },
   202        "zIndex": 0
   203      },
   204      {
   205        "id": "z 2",
   206        "id_val": "z 2",
   207        "references": [
   208          {
   209            "key": {
   210              "range": "d2/testdata/d2oracle/TestDelete/multi_path_map_conflict.d2,1:2:7-1:5:10",
   211              "path": [
   212                {
   213                  "unquoted_string": {
   214                    "range": "d2/testdata/d2oracle/TestDelete/multi_path_map_conflict.d2,1:2:7-1:5:10",
   215                    "value": [
   216                      {
   217                        "string": "z 2",
   218                        "raw_string": "z 2"
   219                      }
   220                    ]
   221                  }
   222                }
   223              ]
   224            },
   225            "key_path_index": 0,
   226            "map_key_edge_index": -1
   227          }
   228        ],
   229        "attributes": {
   230          "label": {
   231            "value": "z 2"
   232          },
   233          "labelDimensions": {
   234            "width": 0,
   235            "height": 0
   236          },
   237          "style": {},
   238          "near_key": null,
   239          "shape": {
   240            "value": "rectangle"
   241          },
   242          "direction": {
   243            "value": ""
   244          },
   245          "constraint": null
   246        },
   247        "zIndex": 0
   248      },
   249      {
   250        "id": "z",
   251        "id_val": "z",
   252        "references": [
   253          {
   254            "key": {
   255              "range": "d2/testdata/d2oracle/TestDelete/multi_path_map_conflict.d2,4:2:20-4:3:21",
   256              "path": [
   257                {
   258                  "unquoted_string": {
   259                    "range": "d2/testdata/d2oracle/TestDelete/multi_path_map_conflict.d2,4:2:20-4:3:21",
   260                    "value": [
   261                      {
   262                        "string": "z",
   263                        "raw_string": "z"
   264                      }
   265                    ]
   266                  }
   267                }
   268              ]
   269            },
   270            "key_path_index": 0,
   271            "map_key_edge_index": -1
   272          }
   273        ],
   274        "attributes": {
   275          "label": {
   276            "value": "z"
   277          },
   278          "labelDimensions": {
   279            "width": 0,
   280            "height": 0
   281          },
   282          "style": {},
   283          "near_key": null,
   284          "shape": {
   285            "value": "rectangle"
   286          },
   287          "direction": {
   288            "value": ""
   289          },
   290          "constraint": null
   291        },
   292        "zIndex": 0
   293      }
   294    ]
   295  },
   296  "err": "<nil>"
   297}

View as plain text