...

Text file src/oss.terrastruct.com/d2/testdata/d2oracle/TestDelete/children_edges_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_edges_flat_conflicts.d2,0:0:0-6:0:41",
     7      "nodes": [
     8        {
     9          "map_key": {
    10            "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,0:0:0-0:15:15",
    11            "edges": [
    12              {
    13                "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,0:0:0-0:8:8",
    14                "src": {
    15                  "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,0:0:0-0:3:3",
    16                  "path": [
    17                    {
    18                      "unquoted_string": {
    19                        "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,0:0:0-0:3:3",
    20                        "value": [
    21                          {
    22                            "string": "x 2",
    23                            "raw_string": "x 2"
    24                          }
    25                        ]
    26                      }
    27                    }
    28                  ]
    29                },
    30                "src_arrow": "",
    31                "dst": {
    32                  "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,0:7:7-0:8:8",
    33                  "path": [
    34                    {
    35                      "unquoted_string": {
    36                        "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,0:7:7-0:8:8",
    37                        "value": [
    38                          {
    39                            "string": "y",
    40                            "raw_string": "y"
    41                          }
    42                        ]
    43                      }
    44                    }
    45                  ]
    46                },
    47                "dst_arrow": ">"
    48              },
    49              {
    50                "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,0:7:7-0:15:15",
    51                "src": {
    52                  "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,0:7:7-0:8:8",
    53                  "path": [
    54                    {
    55                      "unquoted_string": {
    56                        "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,0:7:7-0:8:8",
    57                        "value": [
    58                          {
    59                            "string": "y",
    60                            "raw_string": "y"
    61                          }
    62                        ]
    63                      }
    64                    }
    65                  ]
    66                },
    67                "src_arrow": "",
    68                "dst": {
    69                  "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,0:12:12-0:15:15",
    70                  "path": [
    71                    {
    72                      "unquoted_string": {
    73                        "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,0:12:12-0:15:15",
    74                        "value": [
    75                          {
    76                            "string": "z 2",
    77                            "raw_string": "z 2"
    78                          }
    79                        ]
    80                      }
    81                    }
    82                  ]
    83                },
    84                "dst_arrow": ">"
    85              }
    86            ],
    87            "primary": {},
    88            "value": {}
    89          }
    90        },
    91        {
    92          "map_key": {
    93            "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,1:0:16-1:1:17",
    94            "key": {
    95              "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,1:0:16-1:1:17",
    96              "path": [
    97                {
    98                  "unquoted_string": {
    99                    "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,1:0:16-1:1:17",
   100                    "value": [
   101                      {
   102                        "string": "x",
   103                        "raw_string": "x"
   104                      }
   105                    ]
   106                  }
   107                }
   108              ]
   109            },
   110            "primary": {},
   111            "value": {}
   112          }
   113        },
   114        {
   115          "map_key": {
   116            "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,2:0:18-2:1:19",
   117            "key": {
   118              "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,2:0:18-2:1:19",
   119              "path": [
   120                {
   121                  "unquoted_string": {
   122                    "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,2:0:18-2:1:19",
   123                    "value": [
   124                      {
   125                        "string": "z",
   126                        "raw_string": "z"
   127                      }
   128                    ]
   129                  }
   130                }
   131              ]
   132            },
   133            "primary": {},
   134            "value": {}
   135          }
   136        },
   137        {
   138          "map_key": {
   139            "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,4:0:21-4:9:30",
   140            "key": {
   141              "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,4:0:21-4:3:24",
   142              "path": [
   143                {
   144                  "unquoted_string": {
   145                    "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,4:0:21-4:3:24",
   146                    "value": [
   147                      {
   148                        "string": "x 2",
   149                        "raw_string": "x 2"
   150                      }
   151                    ]
   152                  }
   153                }
   154              ]
   155            },
   156            "primary": {},
   157            "value": {
   158              "double_quoted_string": {
   159                "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,4:5:26-4:9:30",
   160                "value": [
   161                  {
   162                    "string": "hi",
   163                    "raw_string": "hi"
   164                  }
   165                ]
   166              }
   167            }
   168          }
   169        },
   170        {
   171          "map_key": {
   172            "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,5:0:31-5:9:40",
   173            "key": {
   174              "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,5:0:31-5:3:34",
   175              "path": [
   176                {
   177                  "unquoted_string": {
   178                    "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,5:0:31-5:3:34",
   179                    "value": [
   180                      {
   181                        "string": "z 2",
   182                        "raw_string": "z 2"
   183                      }
   184                    ]
   185                  }
   186                }
   187              ]
   188            },
   189            "primary": {},
   190            "value": {
   191              "double_quoted_string": {
   192                "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,5:5:36-5:9:40",
   193                "value": [
   194                  {
   195                    "string": "ey",
   196                    "raw_string": "ey"
   197                  }
   198                ]
   199              }
   200            }
   201          }
   202        }
   203      ]
   204    },
   205    "root": {
   206      "id": "",
   207      "id_val": "",
   208      "attributes": {
   209        "label": {
   210          "value": ""
   211        },
   212        "labelDimensions": {
   213          "width": 0,
   214          "height": 0
   215        },
   216        "style": {},
   217        "near_key": null,
   218        "shape": {
   219          "value": ""
   220        },
   221        "direction": {
   222          "value": ""
   223        },
   224        "constraint": null
   225      },
   226      "zIndex": 0
   227    },
   228    "edges": [
   229      {
   230        "index": 0,
   231        "isCurve": false,
   232        "src_arrow": false,
   233        "dst_arrow": true,
   234        "references": [
   235          {
   236            "map_key_edge_index": 0
   237          }
   238        ],
   239        "attributes": {
   240          "label": {
   241            "value": ""
   242          },
   243          "labelDimensions": {
   244            "width": 0,
   245            "height": 0
   246          },
   247          "style": {},
   248          "near_key": null,
   249          "shape": {
   250            "value": ""
   251          },
   252          "direction": {
   253            "value": ""
   254          },
   255          "constraint": null
   256        },
   257        "zIndex": 0
   258      },
   259      {
   260        "index": 0,
   261        "isCurve": false,
   262        "src_arrow": false,
   263        "dst_arrow": true,
   264        "references": [
   265          {
   266            "map_key_edge_index": 1
   267          }
   268        ],
   269        "attributes": {
   270          "label": {
   271            "value": ""
   272          },
   273          "labelDimensions": {
   274            "width": 0,
   275            "height": 0
   276          },
   277          "style": {},
   278          "near_key": null,
   279          "shape": {
   280            "value": ""
   281          },
   282          "direction": {
   283            "value": ""
   284          },
   285          "constraint": null
   286        },
   287        "zIndex": 0
   288      }
   289    ],
   290    "objects": [
   291      {
   292        "id": "x 2",
   293        "id_val": "x 2",
   294        "references": [
   295          {
   296            "key": {
   297              "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,0:0:0-0:3:3",
   298              "path": [
   299                {
   300                  "unquoted_string": {
   301                    "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,0:0:0-0:3:3",
   302                    "value": [
   303                      {
   304                        "string": "x 2",
   305                        "raw_string": "x 2"
   306                      }
   307                    ]
   308                  }
   309                }
   310              ]
   311            },
   312            "key_path_index": 0,
   313            "map_key_edge_index": 0
   314          },
   315          {
   316            "key": {
   317              "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,4:0:21-4:3:24",
   318              "path": [
   319                {
   320                  "unquoted_string": {
   321                    "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,4:0:21-4:3:24",
   322                    "value": [
   323                      {
   324                        "string": "x 2",
   325                        "raw_string": "x 2"
   326                      }
   327                    ]
   328                  }
   329                }
   330              ]
   331            },
   332            "key_path_index": 0,
   333            "map_key_edge_index": -1
   334          }
   335        ],
   336        "attributes": {
   337          "label": {
   338            "value": "hi"
   339          },
   340          "labelDimensions": {
   341            "width": 0,
   342            "height": 0
   343          },
   344          "style": {},
   345          "near_key": null,
   346          "shape": {
   347            "value": "rectangle"
   348          },
   349          "direction": {
   350            "value": ""
   351          },
   352          "constraint": null
   353        },
   354        "zIndex": 0
   355      },
   356      {
   357        "id": "y",
   358        "id_val": "y",
   359        "references": [
   360          {
   361            "key": {
   362              "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,0:7:7-0:8:8",
   363              "path": [
   364                {
   365                  "unquoted_string": {
   366                    "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,0:7:7-0:8:8",
   367                    "value": [
   368                      {
   369                        "string": "y",
   370                        "raw_string": "y"
   371                      }
   372                    ]
   373                  }
   374                }
   375              ]
   376            },
   377            "key_path_index": 0,
   378            "map_key_edge_index": 0
   379          },
   380          {
   381            "key": {
   382              "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,0:7:7-0:8:8",
   383              "path": [
   384                {
   385                  "unquoted_string": {
   386                    "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,0:7:7-0:8:8",
   387                    "value": [
   388                      {
   389                        "string": "y",
   390                        "raw_string": "y"
   391                      }
   392                    ]
   393                  }
   394                }
   395              ]
   396            },
   397            "key_path_index": 0,
   398            "map_key_edge_index": 1
   399          }
   400        ],
   401        "attributes": {
   402          "label": {
   403            "value": "y"
   404          },
   405          "labelDimensions": {
   406            "width": 0,
   407            "height": 0
   408          },
   409          "style": {},
   410          "near_key": null,
   411          "shape": {
   412            "value": "rectangle"
   413          },
   414          "direction": {
   415            "value": ""
   416          },
   417          "constraint": null
   418        },
   419        "zIndex": 0
   420      },
   421      {
   422        "id": "z 2",
   423        "id_val": "z 2",
   424        "references": [
   425          {
   426            "key": {
   427              "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,0:12:12-0:15:15",
   428              "path": [
   429                {
   430                  "unquoted_string": {
   431                    "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,0:12:12-0:15:15",
   432                    "value": [
   433                      {
   434                        "string": "z 2",
   435                        "raw_string": "z 2"
   436                      }
   437                    ]
   438                  }
   439                }
   440              ]
   441            },
   442            "key_path_index": 0,
   443            "map_key_edge_index": 1
   444          },
   445          {
   446            "key": {
   447              "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,5:0:31-5:3:34",
   448              "path": [
   449                {
   450                  "unquoted_string": {
   451                    "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,5:0:31-5:3:34",
   452                    "value": [
   453                      {
   454                        "string": "z 2",
   455                        "raw_string": "z 2"
   456                      }
   457                    ]
   458                  }
   459                }
   460              ]
   461            },
   462            "key_path_index": 0,
   463            "map_key_edge_index": -1
   464          }
   465        ],
   466        "attributes": {
   467          "label": {
   468            "value": "ey"
   469          },
   470          "labelDimensions": {
   471            "width": 0,
   472            "height": 0
   473          },
   474          "style": {},
   475          "near_key": null,
   476          "shape": {
   477            "value": "rectangle"
   478          },
   479          "direction": {
   480            "value": ""
   481          },
   482          "constraint": null
   483        },
   484        "zIndex": 0
   485      },
   486      {
   487        "id": "x",
   488        "id_val": "x",
   489        "references": [
   490          {
   491            "key": {
   492              "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,1:0:16-1:1:17",
   493              "path": [
   494                {
   495                  "unquoted_string": {
   496                    "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,1:0:16-1:1:17",
   497                    "value": [
   498                      {
   499                        "string": "x",
   500                        "raw_string": "x"
   501                      }
   502                    ]
   503                  }
   504                }
   505              ]
   506            },
   507            "key_path_index": 0,
   508            "map_key_edge_index": -1
   509          }
   510        ],
   511        "attributes": {
   512          "label": {
   513            "value": "x"
   514          },
   515          "labelDimensions": {
   516            "width": 0,
   517            "height": 0
   518          },
   519          "style": {},
   520          "near_key": null,
   521          "shape": {
   522            "value": "rectangle"
   523          },
   524          "direction": {
   525            "value": ""
   526          },
   527          "constraint": null
   528        },
   529        "zIndex": 0
   530      },
   531      {
   532        "id": "z",
   533        "id_val": "z",
   534        "references": [
   535          {
   536            "key": {
   537              "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,2:0:18-2:1:19",
   538              "path": [
   539                {
   540                  "unquoted_string": {
   541                    "range": "d2/testdata/d2oracle/TestDelete/children_edges_flat_conflicts.d2,2:0:18-2:1:19",
   542                    "value": [
   543                      {
   544                        "string": "z",
   545                        "raw_string": "z"
   546                      }
   547                    ]
   548                  }
   549                }
   550              ]
   551            },
   552            "key_path_index": 0,
   553            "map_key_edge_index": -1
   554          }
   555        ],
   556        "attributes": {
   557          "label": {
   558            "value": "z"
   559          },
   560          "labelDimensions": {
   561            "width": 0,
   562            "height": 0
   563          },
   564          "style": {},
   565          "near_key": null,
   566          "shape": {
   567            "value": "rectangle"
   568          },
   569          "direction": {
   570            "value": ""
   571          },
   572          "constraint": null
   573        },
   574        "zIndex": 0
   575      }
   576    ]
   577  },
   578  "err": "<nil>"
   579}

View as plain text