...

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

View as plain text