...

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

View as plain text