...

Text file src/oss.terrastruct.com/d2/testdata/d2oracle/TestMove/extend_stationary_path.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/extend_stationary_path.d2,0:0:0-6:0:30",
     7      "nodes": [
     8        {
     9          "map_key": {
    10            "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,0:0:0-0:5:5",
    11            "key": {
    12              "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,0:0:0-0:5:5",
    13              "path": [
    14                {
    15                  "unquoted_string": {
    16                    "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,0:0:0-0:1:1",
    17                    "value": [
    18                      {
    19                        "string": "a",
    20                        "raw_string": "a"
    21                      }
    22                    ]
    23                  }
    24                },
    25                {
    26                  "unquoted_string": {
    27                    "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,0:2:2-0:3:3",
    28                    "value": [
    29                      {
    30                        "string": "c",
    31                        "raw_string": "c"
    32                      }
    33                    ]
    34                  }
    35                },
    36                {
    37                  "unquoted_string": {
    38                    "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,0:4:4-0:5:5",
    39                    "value": [
    40                      {
    41                        "string": "b",
    42                        "raw_string": "b"
    43                      }
    44                    ]
    45                  }
    46                }
    47              ]
    48            },
    49            "primary": {},
    50            "value": {}
    51          }
    52        },
    53        {
    54          "map_key": {
    55            "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,1:0:6-5:1:29",
    56            "key": {
    57              "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,1:0:6-1:1:7",
    58              "path": [
    59                {
    60                  "unquoted_string": {
    61                    "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,1:0:6-1:1:7",
    62                    "value": [
    63                      {
    64                        "string": "a",
    65                        "raw_string": "a"
    66                      }
    67                    ]
    68                  }
    69                }
    70              ]
    71            },
    72            "primary": {},
    73            "value": {
    74              "map": {
    75                "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,1:3:9-5:1:29",
    76                "nodes": [
    77                  {
    78                    "map_key": {
    79                      "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,2:2:13-4:3:27",
    80                      "key": {
    81                        "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,2:2:13-2:3:14",
    82                        "path": [
    83                          {
    84                            "unquoted_string": {
    85                              "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,2:2:13-2:3:14",
    86                              "value": [
    87                                {
    88                                  "string": "c",
    89                                  "raw_string": "c"
    90                                }
    91                              ]
    92                            }
    93                          }
    94                        ]
    95                      },
    96                      "primary": {},
    97                      "value": {
    98                        "map": {
    99                          "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,2:5:16-4:3:27",
   100                          "nodes": [
   101                            {
   102                              "map_key": {
   103                                "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,3:4:22-3:5:23",
   104                                "key": {
   105                                  "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,3:4:22-3:5:23",
   106                                  "path": [
   107                                    {
   108                                      "unquoted_string": {
   109                                        "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,3:4:22-3:5:23",
   110                                        "value": [
   111                                          {
   112                                            "string": "b",
   113                                            "raw_string": "b"
   114                                          }
   115                                        ]
   116                                      }
   117                                    }
   118                                  ]
   119                                },
   120                                "primary": {},
   121                                "value": {}
   122                              }
   123                            }
   124                          ]
   125                        }
   126                      }
   127                    }
   128                  }
   129                ]
   130              }
   131            }
   132          }
   133        }
   134      ]
   135    },
   136    "root": {
   137      "id": "",
   138      "id_val": "",
   139      "attributes": {
   140        "label": {
   141          "value": ""
   142        },
   143        "labelDimensions": {
   144          "width": 0,
   145          "height": 0
   146        },
   147        "style": {},
   148        "near_key": null,
   149        "shape": {
   150          "value": ""
   151        },
   152        "direction": {
   153          "value": ""
   154        },
   155        "constraint": null
   156      },
   157      "zIndex": 0
   158    },
   159    "edges": null,
   160    "objects": [
   161      {
   162        "id": "a",
   163        "id_val": "a",
   164        "references": [
   165          {
   166            "key": {
   167              "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,0:0:0-0:5:5",
   168              "path": [
   169                {
   170                  "unquoted_string": {
   171                    "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,0:0:0-0:1:1",
   172                    "value": [
   173                      {
   174                        "string": "a",
   175                        "raw_string": "a"
   176                      }
   177                    ]
   178                  }
   179                },
   180                {
   181                  "unquoted_string": {
   182                    "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,0:2:2-0:3:3",
   183                    "value": [
   184                      {
   185                        "string": "c",
   186                        "raw_string": "c"
   187                      }
   188                    ]
   189                  }
   190                },
   191                {
   192                  "unquoted_string": {
   193                    "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,0:4:4-0:5:5",
   194                    "value": [
   195                      {
   196                        "string": "b",
   197                        "raw_string": "b"
   198                      }
   199                    ]
   200                  }
   201                }
   202              ]
   203            },
   204            "key_path_index": 0,
   205            "map_key_edge_index": -1
   206          },
   207          {
   208            "key": {
   209              "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,1:0:6-1:1:7",
   210              "path": [
   211                {
   212                  "unquoted_string": {
   213                    "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,1:0:6-1:1:7",
   214                    "value": [
   215                      {
   216                        "string": "a",
   217                        "raw_string": "a"
   218                      }
   219                    ]
   220                  }
   221                }
   222              ]
   223            },
   224            "key_path_index": 0,
   225            "map_key_edge_index": -1
   226          }
   227        ],
   228        "attributes": {
   229          "label": {
   230            "value": "a"
   231          },
   232          "labelDimensions": {
   233            "width": 0,
   234            "height": 0
   235          },
   236          "style": {},
   237          "near_key": null,
   238          "shape": {
   239            "value": "rectangle"
   240          },
   241          "direction": {
   242            "value": ""
   243          },
   244          "constraint": null
   245        },
   246        "zIndex": 0
   247      },
   248      {
   249        "id": "c",
   250        "id_val": "c",
   251        "references": [
   252          {
   253            "key": {
   254              "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,0:0:0-0:5:5",
   255              "path": [
   256                {
   257                  "unquoted_string": {
   258                    "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,0:0:0-0:1:1",
   259                    "value": [
   260                      {
   261                        "string": "a",
   262                        "raw_string": "a"
   263                      }
   264                    ]
   265                  }
   266                },
   267                {
   268                  "unquoted_string": {
   269                    "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,0:2:2-0:3:3",
   270                    "value": [
   271                      {
   272                        "string": "c",
   273                        "raw_string": "c"
   274                      }
   275                    ]
   276                  }
   277                },
   278                {
   279                  "unquoted_string": {
   280                    "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,0:4:4-0:5:5",
   281                    "value": [
   282                      {
   283                        "string": "b",
   284                        "raw_string": "b"
   285                      }
   286                    ]
   287                  }
   288                }
   289              ]
   290            },
   291            "key_path_index": 1,
   292            "map_key_edge_index": -1
   293          },
   294          {
   295            "key": {
   296              "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,2:2:13-2:3:14",
   297              "path": [
   298                {
   299                  "unquoted_string": {
   300                    "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,2:2:13-2:3:14",
   301                    "value": [
   302                      {
   303                        "string": "c",
   304                        "raw_string": "c"
   305                      }
   306                    ]
   307                  }
   308                }
   309              ]
   310            },
   311            "key_path_index": 0,
   312            "map_key_edge_index": -1
   313          }
   314        ],
   315        "attributes": {
   316          "label": {
   317            "value": "c"
   318          },
   319          "labelDimensions": {
   320            "width": 0,
   321            "height": 0
   322          },
   323          "style": {},
   324          "near_key": null,
   325          "shape": {
   326            "value": "rectangle"
   327          },
   328          "direction": {
   329            "value": ""
   330          },
   331          "constraint": null
   332        },
   333        "zIndex": 0
   334      },
   335      {
   336        "id": "b",
   337        "id_val": "b",
   338        "references": [
   339          {
   340            "key": {
   341              "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,0:0:0-0:5:5",
   342              "path": [
   343                {
   344                  "unquoted_string": {
   345                    "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,0:0:0-0:1:1",
   346                    "value": [
   347                      {
   348                        "string": "a",
   349                        "raw_string": "a"
   350                      }
   351                    ]
   352                  }
   353                },
   354                {
   355                  "unquoted_string": {
   356                    "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,0:2:2-0:3:3",
   357                    "value": [
   358                      {
   359                        "string": "c",
   360                        "raw_string": "c"
   361                      }
   362                    ]
   363                  }
   364                },
   365                {
   366                  "unquoted_string": {
   367                    "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,0:4:4-0:5:5",
   368                    "value": [
   369                      {
   370                        "string": "b",
   371                        "raw_string": "b"
   372                      }
   373                    ]
   374                  }
   375                }
   376              ]
   377            },
   378            "key_path_index": 2,
   379            "map_key_edge_index": -1
   380          },
   381          {
   382            "key": {
   383              "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,3:4:22-3:5:23",
   384              "path": [
   385                {
   386                  "unquoted_string": {
   387                    "range": "d2/testdata/d2oracle/TestMove/extend_stationary_path.d2,3:4:22-3:5:23",
   388                    "value": [
   389                      {
   390                        "string": "b",
   391                        "raw_string": "b"
   392                      }
   393                    ]
   394                  }
   395                }
   396              ]
   397            },
   398            "key_path_index": 0,
   399            "map_key_edge_index": -1
   400          }
   401        ],
   402        "attributes": {
   403          "label": {
   404            "value": "b"
   405          },
   406          "labelDimensions": {
   407            "width": 0,
   408            "height": 0
   409          },
   410          "style": {},
   411          "near_key": null,
   412          "shape": {
   413            "value": "rectangle"
   414          },
   415          "direction": {
   416            "value": ""
   417          },
   418          "constraint": null
   419        },
   420        "zIndex": 0
   421      }
   422    ]
   423  },
   424  "err": "<nil>"
   425}

View as plain text