...

Text file src/oss.terrastruct.com/d2/testdata/d2oracle/TestMove/gnarly_1.exp.json

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

     1{
     2  "graph": {
     3    "name": "",
     4    "isFolderOnly": false,
     5    "ast": {
     6      "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:0:0-9:0:64",
     7      "nodes": [
     8        {
     9          "map_key": {
    10            "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:0:0-0:14:14",
    11            "edges": [
    12              {
    13                "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:0:0-0:14:14",
    14                "src": {
    15                  "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:0:0-0:5:5",
    16                  "path": [
    17                    {
    18                      "unquoted_string": {
    19                        "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:0:0-0:1:1",
    20                        "value": [
    21                          {
    22                            "string": "a",
    23                            "raw_string": "a"
    24                          }
    25                        ]
    26                      }
    27                    },
    28                    {
    29                      "unquoted_string": {
    30                        "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:2:2-0:3:3",
    31                        "value": [
    32                          {
    33                            "string": "b",
    34                            "raw_string": "b"
    35                          }
    36                        ]
    37                      }
    38                    },
    39                    {
    40                      "unquoted_string": {
    41                        "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:4:4-0:5:5",
    42                        "value": [
    43                          {
    44                            "string": "c",
    45                            "raw_string": "c"
    46                          }
    47                        ]
    48                      }
    49                    }
    50                  ]
    51                },
    52                "src_arrow": "",
    53                "dst": {
    54                  "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:9:9-0:14:14",
    55                  "path": [
    56                    {
    57                      "unquoted_string": {
    58                        "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:9:9-0:10:10",
    59                        "value": [
    60                          {
    61                            "string": "d",
    62                            "raw_string": "d"
    63                          }
    64                        ]
    65                      }
    66                    },
    67                    {
    68                      "unquoted_string": {
    69                        "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:11:11-0:12:12",
    70                        "value": [
    71                          {
    72                            "string": "e",
    73                            "raw_string": "e"
    74                          }
    75                        ]
    76                      }
    77                    },
    78                    {
    79                      "unquoted_string": {
    80                        "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:13:13-0:14:14",
    81                        "value": [
    82                          {
    83                            "string": "f",
    84                            "raw_string": "f"
    85                          }
    86                        ]
    87                      }
    88                    }
    89                  ]
    90                },
    91                "dst_arrow": ">"
    92              }
    93            ],
    94            "primary": {},
    95            "value": {}
    96          }
    97        },
    98        {
    99          "map_key": {
   100            "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,1:0:15-3:1:31",
   101            "key": {
   102              "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,1:0:15-1:1:16",
   103              "path": [
   104                {
   105                  "unquoted_string": {
   106                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,1:0:15-1:1:16",
   107                    "value": [
   108                      {
   109                        "string": "d",
   110                        "raw_string": "d"
   111                      }
   112                    ]
   113                  }
   114                }
   115              ]
   116            },
   117            "primary": {},
   118            "value": {
   119              "map": {
   120                "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,1:3:18-3:1:31",
   121                "nodes": [
   122                  {
   123                    "map_key": {
   124                      "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,2:2:22-2:9:29",
   125                      "key": {
   126                        "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,2:2:22-2:3:23",
   127                        "path": [
   128                          {
   129                            "unquoted_string": {
   130                              "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,2:2:22-2:3:23",
   131                              "value": [
   132                                {
   133                                  "string": "b",
   134                                  "raw_string": "b"
   135                                }
   136                              ]
   137                            }
   138                          }
   139                        ]
   140                      },
   141                      "primary": {},
   142                      "value": {
   143                        "unquoted_string": {
   144                          "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,2:5:25-2:9:29",
   145                          "value": [
   146                            {
   147                              "string": "meow",
   148                              "raw_string": "meow"
   149                            }
   150                          ]
   151                        }
   152                      }
   153                    }
   154                  }
   155                ]
   156              }
   157            }
   158          }
   159        },
   160        {
   161          "map_key": {
   162            "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,4:0:32-4:8:40",
   163            "key": {
   164              "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,4:0:32-4:1:33",
   165              "path": [
   166                {
   167                  "unquoted_string": {
   168                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,4:0:32-4:1:33",
   169                    "value": [
   170                      {
   171                        "string": "p",
   172                        "raw_string": "p"
   173                      }
   174                    ]
   175                  }
   176                }
   177              ]
   178            },
   179            "primary": {},
   180            "value": {
   181              "double_quoted_string": {
   182                "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,4:3:35-4:8:40",
   183                "value": [
   184                  {
   185                    "string": "eyy",
   186                    "raw_string": "eyy"
   187                  }
   188                ]
   189              }
   190            }
   191          }
   192        },
   193        {
   194          "map_key": {
   195            "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,5:0:41-5:1:42",
   196            "key": {
   197              "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,5:0:41-5:1:42",
   198              "path": [
   199                {
   200                  "unquoted_string": {
   201                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,5:0:41-5:1:42",
   202                    "value": [
   203                      {
   204                        "string": "q",
   205                        "raw_string": "q"
   206                      }
   207                    ]
   208                  }
   209                }
   210              ]
   211            },
   212            "primary": {},
   213            "value": {}
   214          }
   215        },
   216        {
   217          "map_key": {
   218            "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,6:0:43-6:10:53",
   219            "edges": [
   220              {
   221                "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,6:0:43-6:10:53",
   222                "src": {
   223                  "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,6:0:43-6:3:46",
   224                  "path": [
   225                    {
   226                      "unquoted_string": {
   227                        "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,6:0:43-6:1:44",
   228                        "value": [
   229                          {
   230                            "string": "p",
   231                            "raw_string": "p"
   232                          }
   233                        ]
   234                      }
   235                    },
   236                    {
   237                      "unquoted_string": {
   238                        "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,6:2:45-6:3:46",
   239                        "value": [
   240                          {
   241                            "string": "p",
   242                            "raw_string": "p"
   243                          }
   244                        ]
   245                      }
   246                    }
   247                  ]
   248                },
   249                "src_arrow": "",
   250                "dst": {
   251                  "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,6:7:50-6:10:53",
   252                  "path": [
   253                    {
   254                      "unquoted_string": {
   255                        "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,6:7:50-6:8:51",
   256                        "value": [
   257                          {
   258                            "string": "q",
   259                            "raw_string": "q"
   260                          }
   261                        ]
   262                      }
   263                    },
   264                    {
   265                      "unquoted_string": {
   266                        "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,6:9:52-6:10:53",
   267                        "value": [
   268                          {
   269                            "string": "q",
   270                            "raw_string": "q"
   271                          }
   272                        ]
   273                      }
   274                    }
   275                  ]
   276                },
   277                "dst_arrow": ">"
   278              }
   279            ],
   280            "primary": {},
   281            "value": {}
   282          }
   283        },
   284        {
   285          "map_key": {
   286            "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,8:0:55-8:8:63",
   287            "edges": [
   288              {
   289                "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,8:0:55-8:8:63",
   290                "src": {
   291                  "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,8:0:55-8:3:58",
   292                  "path": [
   293                    {
   294                      "unquoted_string": {
   295                        "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,8:0:55-8:1:56",
   296                        "value": [
   297                          {
   298                            "string": "p",
   299                            "raw_string": "p"
   300                          }
   301                        ]
   302                      }
   303                    },
   304                    {
   305                      "unquoted_string": {
   306                        "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,8:2:57-8:3:58",
   307                        "value": [
   308                          {
   309                            "string": "x",
   310                            "raw_string": "x"
   311                          }
   312                        ]
   313                      }
   314                    }
   315                  ]
   316                },
   317                "src_arrow": "",
   318                "dst": {
   319                  "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,8:7:62-8:8:63",
   320                  "path": [
   321                    {
   322                      "unquoted_string": {
   323                        "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,8:7:62-8:8:63",
   324                        "value": [
   325                          {
   326                            "string": "d",
   327                            "raw_string": "d"
   328                          }
   329                        ]
   330                      }
   331                    }
   332                  ]
   333                },
   334                "dst_arrow": ">"
   335              }
   336            ],
   337            "primary": {},
   338            "value": {}
   339          }
   340        }
   341      ]
   342    },
   343    "root": {
   344      "id": "",
   345      "id_val": "",
   346      "attributes": {
   347        "label": {
   348          "value": ""
   349        },
   350        "labelDimensions": {
   351          "width": 0,
   352          "height": 0
   353        },
   354        "style": {},
   355        "near_key": null,
   356        "shape": {
   357          "value": ""
   358        },
   359        "direction": {
   360          "value": ""
   361        },
   362        "constraint": null
   363      },
   364      "zIndex": 0
   365    },
   366    "edges": [
   367      {
   368        "index": 0,
   369        "isCurve": false,
   370        "src_arrow": false,
   371        "dst_arrow": true,
   372        "references": [
   373          {
   374            "map_key_edge_index": 0
   375          }
   376        ],
   377        "attributes": {
   378          "label": {
   379            "value": ""
   380          },
   381          "labelDimensions": {
   382            "width": 0,
   383            "height": 0
   384          },
   385          "style": {},
   386          "near_key": null,
   387          "shape": {
   388            "value": ""
   389          },
   390          "direction": {
   391            "value": ""
   392          },
   393          "constraint": null
   394        },
   395        "zIndex": 0
   396      },
   397      {
   398        "index": 0,
   399        "isCurve": false,
   400        "src_arrow": false,
   401        "dst_arrow": true,
   402        "references": [
   403          {
   404            "map_key_edge_index": 0
   405          }
   406        ],
   407        "attributes": {
   408          "label": {
   409            "value": ""
   410          },
   411          "labelDimensions": {
   412            "width": 0,
   413            "height": 0
   414          },
   415          "style": {},
   416          "near_key": null,
   417          "shape": {
   418            "value": ""
   419          },
   420          "direction": {
   421            "value": ""
   422          },
   423          "constraint": null
   424        },
   425        "zIndex": 0
   426      },
   427      {
   428        "index": 0,
   429        "isCurve": false,
   430        "src_arrow": false,
   431        "dst_arrow": true,
   432        "references": [
   433          {
   434            "map_key_edge_index": 0
   435          }
   436        ],
   437        "attributes": {
   438          "label": {
   439            "value": ""
   440          },
   441          "labelDimensions": {
   442            "width": 0,
   443            "height": 0
   444          },
   445          "style": {},
   446          "near_key": null,
   447          "shape": {
   448            "value": ""
   449          },
   450          "direction": {
   451            "value": ""
   452          },
   453          "constraint": null
   454        },
   455        "zIndex": 0
   456      }
   457    ],
   458    "objects": [
   459      {
   460        "id": "a",
   461        "id_val": "a",
   462        "references": [
   463          {
   464            "key": {
   465              "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:0:0-0:5:5",
   466              "path": [
   467                {
   468                  "unquoted_string": {
   469                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:0:0-0:1:1",
   470                    "value": [
   471                      {
   472                        "string": "a",
   473                        "raw_string": "a"
   474                      }
   475                    ]
   476                  }
   477                },
   478                {
   479                  "unquoted_string": {
   480                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:2:2-0:3:3",
   481                    "value": [
   482                      {
   483                        "string": "b",
   484                        "raw_string": "b"
   485                      }
   486                    ]
   487                  }
   488                },
   489                {
   490                  "unquoted_string": {
   491                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:4:4-0:5:5",
   492                    "value": [
   493                      {
   494                        "string": "c",
   495                        "raw_string": "c"
   496                      }
   497                    ]
   498                  }
   499                }
   500              ]
   501            },
   502            "key_path_index": 0,
   503            "map_key_edge_index": 0
   504          }
   505        ],
   506        "attributes": {
   507          "label": {
   508            "value": "a"
   509          },
   510          "labelDimensions": {
   511            "width": 0,
   512            "height": 0
   513          },
   514          "style": {},
   515          "near_key": null,
   516          "shape": {
   517            "value": "rectangle"
   518          },
   519          "direction": {
   520            "value": ""
   521          },
   522          "constraint": null
   523        },
   524        "zIndex": 0
   525      },
   526      {
   527        "id": "b",
   528        "id_val": "b",
   529        "references": [
   530          {
   531            "key": {
   532              "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:0:0-0:5:5",
   533              "path": [
   534                {
   535                  "unquoted_string": {
   536                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:0:0-0:1:1",
   537                    "value": [
   538                      {
   539                        "string": "a",
   540                        "raw_string": "a"
   541                      }
   542                    ]
   543                  }
   544                },
   545                {
   546                  "unquoted_string": {
   547                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:2:2-0:3:3",
   548                    "value": [
   549                      {
   550                        "string": "b",
   551                        "raw_string": "b"
   552                      }
   553                    ]
   554                  }
   555                },
   556                {
   557                  "unquoted_string": {
   558                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:4:4-0:5:5",
   559                    "value": [
   560                      {
   561                        "string": "c",
   562                        "raw_string": "c"
   563                      }
   564                    ]
   565                  }
   566                }
   567              ]
   568            },
   569            "key_path_index": 1,
   570            "map_key_edge_index": 0
   571          }
   572        ],
   573        "attributes": {
   574          "label": {
   575            "value": "b"
   576          },
   577          "labelDimensions": {
   578            "width": 0,
   579            "height": 0
   580          },
   581          "style": {},
   582          "near_key": null,
   583          "shape": {
   584            "value": "rectangle"
   585          },
   586          "direction": {
   587            "value": ""
   588          },
   589          "constraint": null
   590        },
   591        "zIndex": 0
   592      },
   593      {
   594        "id": "c",
   595        "id_val": "c",
   596        "references": [
   597          {
   598            "key": {
   599              "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:0:0-0:5:5",
   600              "path": [
   601                {
   602                  "unquoted_string": {
   603                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:0:0-0:1:1",
   604                    "value": [
   605                      {
   606                        "string": "a",
   607                        "raw_string": "a"
   608                      }
   609                    ]
   610                  }
   611                },
   612                {
   613                  "unquoted_string": {
   614                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:2:2-0:3:3",
   615                    "value": [
   616                      {
   617                        "string": "b",
   618                        "raw_string": "b"
   619                      }
   620                    ]
   621                  }
   622                },
   623                {
   624                  "unquoted_string": {
   625                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:4:4-0:5:5",
   626                    "value": [
   627                      {
   628                        "string": "c",
   629                        "raw_string": "c"
   630                      }
   631                    ]
   632                  }
   633                }
   634              ]
   635            },
   636            "key_path_index": 2,
   637            "map_key_edge_index": 0
   638          }
   639        ],
   640        "attributes": {
   641          "label": {
   642            "value": "c"
   643          },
   644          "labelDimensions": {
   645            "width": 0,
   646            "height": 0
   647          },
   648          "style": {},
   649          "near_key": null,
   650          "shape": {
   651            "value": "rectangle"
   652          },
   653          "direction": {
   654            "value": ""
   655          },
   656          "constraint": null
   657        },
   658        "zIndex": 0
   659      },
   660      {
   661        "id": "d",
   662        "id_val": "d",
   663        "references": [
   664          {
   665            "key": {
   666              "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:9:9-0:14:14",
   667              "path": [
   668                {
   669                  "unquoted_string": {
   670                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:9:9-0:10:10",
   671                    "value": [
   672                      {
   673                        "string": "d",
   674                        "raw_string": "d"
   675                      }
   676                    ]
   677                  }
   678                },
   679                {
   680                  "unquoted_string": {
   681                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:11:11-0:12:12",
   682                    "value": [
   683                      {
   684                        "string": "e",
   685                        "raw_string": "e"
   686                      }
   687                    ]
   688                  }
   689                },
   690                {
   691                  "unquoted_string": {
   692                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:13:13-0:14:14",
   693                    "value": [
   694                      {
   695                        "string": "f",
   696                        "raw_string": "f"
   697                      }
   698                    ]
   699                  }
   700                }
   701              ]
   702            },
   703            "key_path_index": 0,
   704            "map_key_edge_index": 0
   705          },
   706          {
   707            "key": {
   708              "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,1:0:15-1:1:16",
   709              "path": [
   710                {
   711                  "unquoted_string": {
   712                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,1:0:15-1:1:16",
   713                    "value": [
   714                      {
   715                        "string": "d",
   716                        "raw_string": "d"
   717                      }
   718                    ]
   719                  }
   720                }
   721              ]
   722            },
   723            "key_path_index": 0,
   724            "map_key_edge_index": -1
   725          },
   726          {
   727            "key": {
   728              "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,8:7:62-8:8:63",
   729              "path": [
   730                {
   731                  "unquoted_string": {
   732                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,8:7:62-8:8:63",
   733                    "value": [
   734                      {
   735                        "string": "d",
   736                        "raw_string": "d"
   737                      }
   738                    ]
   739                  }
   740                }
   741              ]
   742            },
   743            "key_path_index": 0,
   744            "map_key_edge_index": 0
   745          }
   746        ],
   747        "attributes": {
   748          "label": {
   749            "value": "d"
   750          },
   751          "labelDimensions": {
   752            "width": 0,
   753            "height": 0
   754          },
   755          "style": {},
   756          "near_key": null,
   757          "shape": {
   758            "value": "rectangle"
   759          },
   760          "direction": {
   761            "value": ""
   762          },
   763          "constraint": null
   764        },
   765        "zIndex": 0
   766      },
   767      {
   768        "id": "e",
   769        "id_val": "e",
   770        "references": [
   771          {
   772            "key": {
   773              "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:9:9-0:14:14",
   774              "path": [
   775                {
   776                  "unquoted_string": {
   777                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:9:9-0:10:10",
   778                    "value": [
   779                      {
   780                        "string": "d",
   781                        "raw_string": "d"
   782                      }
   783                    ]
   784                  }
   785                },
   786                {
   787                  "unquoted_string": {
   788                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:11:11-0:12:12",
   789                    "value": [
   790                      {
   791                        "string": "e",
   792                        "raw_string": "e"
   793                      }
   794                    ]
   795                  }
   796                },
   797                {
   798                  "unquoted_string": {
   799                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:13:13-0:14:14",
   800                    "value": [
   801                      {
   802                        "string": "f",
   803                        "raw_string": "f"
   804                      }
   805                    ]
   806                  }
   807                }
   808              ]
   809            },
   810            "key_path_index": 1,
   811            "map_key_edge_index": 0
   812          }
   813        ],
   814        "attributes": {
   815          "label": {
   816            "value": "e"
   817          },
   818          "labelDimensions": {
   819            "width": 0,
   820            "height": 0
   821          },
   822          "style": {},
   823          "near_key": null,
   824          "shape": {
   825            "value": "rectangle"
   826          },
   827          "direction": {
   828            "value": ""
   829          },
   830          "constraint": null
   831        },
   832        "zIndex": 0
   833      },
   834      {
   835        "id": "f",
   836        "id_val": "f",
   837        "references": [
   838          {
   839            "key": {
   840              "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:9:9-0:14:14",
   841              "path": [
   842                {
   843                  "unquoted_string": {
   844                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:9:9-0:10:10",
   845                    "value": [
   846                      {
   847                        "string": "d",
   848                        "raw_string": "d"
   849                      }
   850                    ]
   851                  }
   852                },
   853                {
   854                  "unquoted_string": {
   855                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:11:11-0:12:12",
   856                    "value": [
   857                      {
   858                        "string": "e",
   859                        "raw_string": "e"
   860                      }
   861                    ]
   862                  }
   863                },
   864                {
   865                  "unquoted_string": {
   866                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,0:13:13-0:14:14",
   867                    "value": [
   868                      {
   869                        "string": "f",
   870                        "raw_string": "f"
   871                      }
   872                    ]
   873                  }
   874                }
   875              ]
   876            },
   877            "key_path_index": 2,
   878            "map_key_edge_index": 0
   879          }
   880        ],
   881        "attributes": {
   882          "label": {
   883            "value": "f"
   884          },
   885          "labelDimensions": {
   886            "width": 0,
   887            "height": 0
   888          },
   889          "style": {},
   890          "near_key": null,
   891          "shape": {
   892            "value": "rectangle"
   893          },
   894          "direction": {
   895            "value": ""
   896          },
   897          "constraint": null
   898        },
   899        "zIndex": 0
   900      },
   901      {
   902        "id": "b",
   903        "id_val": "b",
   904        "references": [
   905          {
   906            "key": {
   907              "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,2:2:22-2:3:23",
   908              "path": [
   909                {
   910                  "unquoted_string": {
   911                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,2:2:22-2:3:23",
   912                    "value": [
   913                      {
   914                        "string": "b",
   915                        "raw_string": "b"
   916                      }
   917                    ]
   918                  }
   919                }
   920              ]
   921            },
   922            "key_path_index": 0,
   923            "map_key_edge_index": -1
   924          }
   925        ],
   926        "attributes": {
   927          "label": {
   928            "value": "meow"
   929          },
   930          "labelDimensions": {
   931            "width": 0,
   932            "height": 0
   933          },
   934          "style": {},
   935          "near_key": null,
   936          "shape": {
   937            "value": "rectangle"
   938          },
   939          "direction": {
   940            "value": ""
   941          },
   942          "constraint": null
   943        },
   944        "zIndex": 0
   945      },
   946      {
   947        "id": "p",
   948        "id_val": "p",
   949        "references": [
   950          {
   951            "key": {
   952              "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,4:0:32-4:1:33",
   953              "path": [
   954                {
   955                  "unquoted_string": {
   956                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,4:0:32-4:1:33",
   957                    "value": [
   958                      {
   959                        "string": "p",
   960                        "raw_string": "p"
   961                      }
   962                    ]
   963                  }
   964                }
   965              ]
   966            },
   967            "key_path_index": 0,
   968            "map_key_edge_index": -1
   969          },
   970          {
   971            "key": {
   972              "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,6:0:43-6:3:46",
   973              "path": [
   974                {
   975                  "unquoted_string": {
   976                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,6:0:43-6:1:44",
   977                    "value": [
   978                      {
   979                        "string": "p",
   980                        "raw_string": "p"
   981                      }
   982                    ]
   983                  }
   984                },
   985                {
   986                  "unquoted_string": {
   987                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,6:2:45-6:3:46",
   988                    "value": [
   989                      {
   990                        "string": "p",
   991                        "raw_string": "p"
   992                      }
   993                    ]
   994                  }
   995                }
   996              ]
   997            },
   998            "key_path_index": 0,
   999            "map_key_edge_index": 0
  1000          },
  1001          {
  1002            "key": {
  1003              "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,8:0:55-8:3:58",
  1004              "path": [
  1005                {
  1006                  "unquoted_string": {
  1007                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,8:0:55-8:1:56",
  1008                    "value": [
  1009                      {
  1010                        "string": "p",
  1011                        "raw_string": "p"
  1012                      }
  1013                    ]
  1014                  }
  1015                },
  1016                {
  1017                  "unquoted_string": {
  1018                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,8:2:57-8:3:58",
  1019                    "value": [
  1020                      {
  1021                        "string": "x",
  1022                        "raw_string": "x"
  1023                      }
  1024                    ]
  1025                  }
  1026                }
  1027              ]
  1028            },
  1029            "key_path_index": 0,
  1030            "map_key_edge_index": 0
  1031          }
  1032        ],
  1033        "attributes": {
  1034          "label": {
  1035            "value": "eyy"
  1036          },
  1037          "labelDimensions": {
  1038            "width": 0,
  1039            "height": 0
  1040          },
  1041          "style": {},
  1042          "near_key": null,
  1043          "shape": {
  1044            "value": "rectangle"
  1045          },
  1046          "direction": {
  1047            "value": ""
  1048          },
  1049          "constraint": null
  1050        },
  1051        "zIndex": 0
  1052      },
  1053      {
  1054        "id": "q",
  1055        "id_val": "q",
  1056        "references": [
  1057          {
  1058            "key": {
  1059              "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,5:0:41-5:1:42",
  1060              "path": [
  1061                {
  1062                  "unquoted_string": {
  1063                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,5:0:41-5:1:42",
  1064                    "value": [
  1065                      {
  1066                        "string": "q",
  1067                        "raw_string": "q"
  1068                      }
  1069                    ]
  1070                  }
  1071                }
  1072              ]
  1073            },
  1074            "key_path_index": 0,
  1075            "map_key_edge_index": -1
  1076          },
  1077          {
  1078            "key": {
  1079              "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,6:7:50-6:10:53",
  1080              "path": [
  1081                {
  1082                  "unquoted_string": {
  1083                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,6:7:50-6:8:51",
  1084                    "value": [
  1085                      {
  1086                        "string": "q",
  1087                        "raw_string": "q"
  1088                      }
  1089                    ]
  1090                  }
  1091                },
  1092                {
  1093                  "unquoted_string": {
  1094                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,6:9:52-6:10:53",
  1095                    "value": [
  1096                      {
  1097                        "string": "q",
  1098                        "raw_string": "q"
  1099                      }
  1100                    ]
  1101                  }
  1102                }
  1103              ]
  1104            },
  1105            "key_path_index": 0,
  1106            "map_key_edge_index": 0
  1107          }
  1108        ],
  1109        "attributes": {
  1110          "label": {
  1111            "value": "q"
  1112          },
  1113          "labelDimensions": {
  1114            "width": 0,
  1115            "height": 0
  1116          },
  1117          "style": {},
  1118          "near_key": null,
  1119          "shape": {
  1120            "value": "rectangle"
  1121          },
  1122          "direction": {
  1123            "value": ""
  1124          },
  1125          "constraint": null
  1126        },
  1127        "zIndex": 0
  1128      },
  1129      {
  1130        "id": "p",
  1131        "id_val": "p",
  1132        "references": [
  1133          {
  1134            "key": {
  1135              "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,6:0:43-6:3:46",
  1136              "path": [
  1137                {
  1138                  "unquoted_string": {
  1139                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,6:0:43-6:1:44",
  1140                    "value": [
  1141                      {
  1142                        "string": "p",
  1143                        "raw_string": "p"
  1144                      }
  1145                    ]
  1146                  }
  1147                },
  1148                {
  1149                  "unquoted_string": {
  1150                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,6:2:45-6:3:46",
  1151                    "value": [
  1152                      {
  1153                        "string": "p",
  1154                        "raw_string": "p"
  1155                      }
  1156                    ]
  1157                  }
  1158                }
  1159              ]
  1160            },
  1161            "key_path_index": 1,
  1162            "map_key_edge_index": 0
  1163          }
  1164        ],
  1165        "attributes": {
  1166          "label": {
  1167            "value": "p"
  1168          },
  1169          "labelDimensions": {
  1170            "width": 0,
  1171            "height": 0
  1172          },
  1173          "style": {},
  1174          "near_key": null,
  1175          "shape": {
  1176            "value": "rectangle"
  1177          },
  1178          "direction": {
  1179            "value": ""
  1180          },
  1181          "constraint": null
  1182        },
  1183        "zIndex": 0
  1184      },
  1185      {
  1186        "id": "q",
  1187        "id_val": "q",
  1188        "references": [
  1189          {
  1190            "key": {
  1191              "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,6:7:50-6:10:53",
  1192              "path": [
  1193                {
  1194                  "unquoted_string": {
  1195                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,6:7:50-6:8:51",
  1196                    "value": [
  1197                      {
  1198                        "string": "q",
  1199                        "raw_string": "q"
  1200                      }
  1201                    ]
  1202                  }
  1203                },
  1204                {
  1205                  "unquoted_string": {
  1206                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,6:9:52-6:10:53",
  1207                    "value": [
  1208                      {
  1209                        "string": "q",
  1210                        "raw_string": "q"
  1211                      }
  1212                    ]
  1213                  }
  1214                }
  1215              ]
  1216            },
  1217            "key_path_index": 1,
  1218            "map_key_edge_index": 0
  1219          }
  1220        ],
  1221        "attributes": {
  1222          "label": {
  1223            "value": "q"
  1224          },
  1225          "labelDimensions": {
  1226            "width": 0,
  1227            "height": 0
  1228          },
  1229          "style": {},
  1230          "near_key": null,
  1231          "shape": {
  1232            "value": "rectangle"
  1233          },
  1234          "direction": {
  1235            "value": ""
  1236          },
  1237          "constraint": null
  1238        },
  1239        "zIndex": 0
  1240      },
  1241      {
  1242        "id": "x",
  1243        "id_val": "x",
  1244        "references": [
  1245          {
  1246            "key": {
  1247              "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,8:0:55-8:3:58",
  1248              "path": [
  1249                {
  1250                  "unquoted_string": {
  1251                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,8:0:55-8:1:56",
  1252                    "value": [
  1253                      {
  1254                        "string": "p",
  1255                        "raw_string": "p"
  1256                      }
  1257                    ]
  1258                  }
  1259                },
  1260                {
  1261                  "unquoted_string": {
  1262                    "range": "d2/testdata/d2oracle/TestMove/gnarly_1.d2,8:2:57-8:3:58",
  1263                    "value": [
  1264                      {
  1265                        "string": "x",
  1266                        "raw_string": "x"
  1267                      }
  1268                    ]
  1269                  }
  1270                }
  1271              ]
  1272            },
  1273            "key_path_index": 1,
  1274            "map_key_edge_index": 0
  1275          }
  1276        ],
  1277        "attributes": {
  1278          "label": {
  1279            "value": "x"
  1280          },
  1281          "labelDimensions": {
  1282            "width": 0,
  1283            "height": 0
  1284          },
  1285          "style": {},
  1286          "near_key": null,
  1287          "shape": {
  1288            "value": "rectangle"
  1289          },
  1290          "direction": {
  1291            "value": ""
  1292          },
  1293          "constraint": null
  1294        },
  1295        "zIndex": 0
  1296      }
  1297    ]
  1298  },
  1299  "err": "<nil>"
  1300}

View as plain text