{
  "graph": {
    "name": "",
    "isFolderOnly": false,
    "ast": {
      "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,0:0:0-9:0:101",
      "nodes": [
        {
          "map_key": {
            "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,0:0:0-8:1:100",
            "key": {
              "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,0:0:0-0:1:1",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,0:0:0-0:1:1",
                    "value": [
                      {
                        "string": "z",
                        "raw_string": "z"
                      }
                    ]
                  }
                }
              ]
            },
            "primary": {},
            "value": {
              "map": {
                "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,0:3:3-8:1:100",
                "nodes": [
                  {
                    "map_key": {
                      "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,1:2:7-5:3:38",
                      "key": {
                        "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,1:2:7-1:3:8",
                        "path": [
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,1:2:7-1:3:8",
                              "value": [
                                {
                                  "string": "a",
                                  "raw_string": "a"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "primary": {},
                      "value": {
                        "map": {
                          "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,1:5:10-5:3:38",
                          "nodes": [
                            {
                              "map_key": {
                                "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,2:4:16-4:5:34",
                                "key": {
                                  "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,2:4:16-2:5:17",
                                  "path": [
                                    {
                                      "unquoted_string": {
                                        "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,2:4:16-2:5:17",
                                        "value": [
                                          {
                                            "string": "b",
                                            "raw_string": "b"
                                          }
                                        ]
                                      }
                                    }
                                  ]
                                },
                                "primary": {},
                                "value": {
                                  "map": {
                                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,2:7:19-4:5:34",
                                    "nodes": [
                                      {
                                        "map_key": {
                                          "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,3:6:27-3:7:28",
                                          "key": {
                                            "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,3:6:27-3:7:28",
                                            "path": [
                                              {
                                                "unquoted_string": {
                                                  "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,3:6:27-3:7:28",
                                                  "value": [
                                                    {
                                                      "string": "c",
                                                      "raw_string": "c"
                                                    }
                                                  ]
                                                }
                                              }
                                            ]
                                          },
                                          "primary": {},
                                          "value": {}
                                        }
                                      }
                                    ]
                                  }
                                }
                              }
                            }
                          ]
                        }
                      }
                    }
                  },
                  {
                    "map_key": {
                      "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:2:41-6:19:58",
                      "edges": [
                        {
                          "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:2:41-6:10:49",
                          "src": {
                            "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:2:41-6:3:42",
                            "path": [
                              {
                                "unquoted_string": {
                                  "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:2:41-6:3:42",
                                  "value": [
                                    {
                                      "string": "x",
                                      "raw_string": "x"
                                    }
                                  ]
                                }
                              }
                            ]
                          },
                          "src_arrow": "",
                          "dst": {
                            "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:7:46-6:10:49",
                            "path": [
                              {
                                "unquoted_string": {
                                  "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:7:46-6:8:47",
                                  "value": [
                                    {
                                      "string": "a",
                                      "raw_string": "a"
                                    }
                                  ]
                                }
                              },
                              {
                                "unquoted_string": {
                                  "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:9:48-6:10:49",
                                  "value": [
                                    {
                                      "string": "b",
                                      "raw_string": "b"
                                    }
                                  ]
                                }
                              }
                            ]
                          },
                          "dst_arrow": ">"
                        },
                        {
                          "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:7:46-6:19:58",
                          "src": {
                            "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:7:46-6:10:49",
                            "path": [
                              {
                                "unquoted_string": {
                                  "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:7:46-6:8:47",
                                  "value": [
                                    {
                                      "string": "a",
                                      "raw_string": "a"
                                    }
                                  ]
                                }
                              },
                              {
                                "unquoted_string": {
                                  "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:9:48-6:10:49",
                                  "value": [
                                    {
                                      "string": "b",
                                      "raw_string": "b"
                                    }
                                  ]
                                }
                              }
                            ]
                          },
                          "src_arrow": "",
                          "dst": {
                            "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:14:53-6:19:58",
                            "path": [
                              {
                                "unquoted_string": {
                                  "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:14:53-6:15:54",
                                  "value": [
                                    {
                                      "string": "a",
                                      "raw_string": "a"
                                    }
                                  ]
                                }
                              },
                              {
                                "unquoted_string": {
                                  "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:16:55-6:17:56",
                                  "value": [
                                    {
                                      "string": "b",
                                      "raw_string": "b"
                                    }
                                  ]
                                }
                              },
                              {
                                "unquoted_string": {
                                  "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:18:57-6:19:58",
                                  "value": [
                                    {
                                      "string": "c",
                                      "raw_string": "c"
                                    }
                                  ]
                                }
                              }
                            ]
                          },
                          "dst_arrow": ">"
                        }
                      ],
                      "primary": {},
                      "value": {}
                    }
                  },
                  {
                    "map_key": {
                      "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:2:61-7:39:98",
                      "edges": [
                        {
                          "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:3:62-7:15:74",
                          "src": {
                            "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:3:62-7:6:65",
                            "path": [
                              {
                                "unquoted_string": {
                                  "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:3:62-7:4:63",
                                  "value": [
                                    {
                                      "string": "a",
                                      "raw_string": "a"
                                    }
                                  ]
                                }
                              },
                              {
                                "unquoted_string": {
                                  "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:5:64-7:6:65",
                                  "value": [
                                    {
                                      "string": "b",
                                      "raw_string": "b"
                                    }
                                  ]
                                }
                              }
                            ]
                          },
                          "src_arrow": "",
                          "dst": {
                            "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:10:69-7:15:74",
                            "path": [
                              {
                                "unquoted_string": {
                                  "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:10:69-7:11:70",
                                  "value": [
                                    {
                                      "string": "a",
                                      "raw_string": "a"
                                    }
                                  ]
                                }
                              },
                              {
                                "unquoted_string": {
                                  "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:12:71-7:13:72",
                                  "value": [
                                    {
                                      "string": "b",
                                      "raw_string": "b"
                                    }
                                  ]
                                }
                              },
                              {
                                "unquoted_string": {
                                  "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:14:73-7:15:74",
                                  "value": [
                                    {
                                      "string": "c",
                                      "raw_string": "c"
                                    }
                                  ]
                                }
                              }
                            ]
                          },
                          "dst_arrow": ">"
                        }
                      ],
                      "edge_index": {
                        "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:16:75-7:19:78",
                        "int": 0,
                        "glob": false
                      },
                      "edge_key": {
                        "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:20:79-7:32:91",
                        "path": [
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:20:79-7:25:84",
                              "value": [
                                {
                                  "string": "style",
                                  "raw_string": "style"
                                }
                              ]
                            }
                          },
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:26:85-7:32:91",
                              "value": [
                                {
                                  "string": "stroke",
                                  "raw_string": "stroke"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "primary": {},
                      "value": {
                        "unquoted_string": {
                          "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:34:93-7:39:98",
                          "value": [
                            {
                              "string": "green",
                              "raw_string": "green"
                            }
                          ]
                        }
                      }
                    }
                  }
                ]
              }
            }
          }
        }
      ]
    },
    "root": {
      "id": "",
      "id_val": "",
      "attributes": {
        "label": {
          "value": ""
        },
        "labelDimensions": {
          "width": 0,
          "height": 0
        },
        "style": {},
        "iconStyle": {},
        "near_key": null,
        "shape": {
          "value": ""
        },
        "direction": {
          "value": ""
        },
        "constraint": null
      },
      "zIndex": 0
    },
    "edges": [
      {
        "index": 0,
        "isCurve": false,
        "src_arrow": false,
        "dst_arrow": true,
        "references": [
          {
            "map_key_edge_index": 0
          }
        ],
        "attributes": {
          "label": {
            "value": ""
          },
          "labelDimensions": {
            "width": 0,
            "height": 0
          },
          "style": {},
          "iconStyle": {},
          "near_key": null,
          "shape": {
            "value": ""
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "zIndex": 0
      },
      {
        "index": 0,
        "isCurve": false,
        "src_arrow": false,
        "dst_arrow": true,
        "references": [
          {
            "map_key_edge_index": 1
          },
          {
            "map_key_edge_index": 0
          }
        ],
        "attributes": {
          "label": {
            "value": ""
          },
          "labelDimensions": {
            "width": 0,
            "height": 0
          },
          "style": {
            "stroke": {
              "value": "green"
            }
          },
          "iconStyle": {},
          "near_key": null,
          "shape": {
            "value": ""
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "zIndex": 0
      }
    ],
    "objects": [
      {
        "id": "z",
        "id_val": "z",
        "references": [
          {
            "key": {
              "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,0:0:0-0:1:1",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,0:0:0-0:1:1",
                    "value": [
                      {
                        "string": "z",
                        "raw_string": "z"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "map_key_edge_index": -1
          }
        ],
        "attributes": {
          "label": {
            "value": "z"
          },
          "labelDimensions": {
            "width": 0,
            "height": 0
          },
          "style": {},
          "iconStyle": {},
          "near_key": null,
          "shape": {
            "value": "rectangle"
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "zIndex": 0
      },
      {
        "id": "a",
        "id_val": "a",
        "references": [
          {
            "key": {
              "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,1:2:7-1:3:8",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,1:2:7-1:3:8",
                    "value": [
                      {
                        "string": "a",
                        "raw_string": "a"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "map_key_edge_index": -1
          },
          {
            "key": {
              "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:7:46-6:10:49",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:7:46-6:8:47",
                    "value": [
                      {
                        "string": "a",
                        "raw_string": "a"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:9:48-6:10:49",
                    "value": [
                      {
                        "string": "b",
                        "raw_string": "b"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "map_key_edge_index": 0
          },
          {
            "key": {
              "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:7:46-6:10:49",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:7:46-6:8:47",
                    "value": [
                      {
                        "string": "a",
                        "raw_string": "a"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:9:48-6:10:49",
                    "value": [
                      {
                        "string": "b",
                        "raw_string": "b"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "map_key_edge_index": 1
          },
          {
            "key": {
              "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:14:53-6:19:58",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:14:53-6:15:54",
                    "value": [
                      {
                        "string": "a",
                        "raw_string": "a"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:16:55-6:17:56",
                    "value": [
                      {
                        "string": "b",
                        "raw_string": "b"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:18:57-6:19:58",
                    "value": [
                      {
                        "string": "c",
                        "raw_string": "c"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "map_key_edge_index": 1
          },
          {
            "key": {
              "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:3:62-7:6:65",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:3:62-7:4:63",
                    "value": [
                      {
                        "string": "a",
                        "raw_string": "a"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:5:64-7:6:65",
                    "value": [
                      {
                        "string": "b",
                        "raw_string": "b"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "map_key_edge_index": 0
          },
          {
            "key": {
              "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:10:69-7:15:74",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:10:69-7:11:70",
                    "value": [
                      {
                        "string": "a",
                        "raw_string": "a"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:12:71-7:13:72",
                    "value": [
                      {
                        "string": "b",
                        "raw_string": "b"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:14:73-7:15:74",
                    "value": [
                      {
                        "string": "c",
                        "raw_string": "c"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "map_key_edge_index": 0
          }
        ],
        "attributes": {
          "label": {
            "value": "a"
          },
          "labelDimensions": {
            "width": 0,
            "height": 0
          },
          "style": {},
          "iconStyle": {},
          "near_key": null,
          "shape": {
            "value": "rectangle"
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "zIndex": 0
      },
      {
        "id": "b",
        "id_val": "b",
        "references": [
          {
            "key": {
              "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,2:4:16-2:5:17",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,2:4:16-2:5:17",
                    "value": [
                      {
                        "string": "b",
                        "raw_string": "b"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "map_key_edge_index": -1
          },
          {
            "key": {
              "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:7:46-6:10:49",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:7:46-6:8:47",
                    "value": [
                      {
                        "string": "a",
                        "raw_string": "a"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:9:48-6:10:49",
                    "value": [
                      {
                        "string": "b",
                        "raw_string": "b"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 1,
            "map_key_edge_index": 0
          },
          {
            "key": {
              "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:7:46-6:10:49",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:7:46-6:8:47",
                    "value": [
                      {
                        "string": "a",
                        "raw_string": "a"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:9:48-6:10:49",
                    "value": [
                      {
                        "string": "b",
                        "raw_string": "b"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 1,
            "map_key_edge_index": 1
          },
          {
            "key": {
              "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:14:53-6:19:58",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:14:53-6:15:54",
                    "value": [
                      {
                        "string": "a",
                        "raw_string": "a"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:16:55-6:17:56",
                    "value": [
                      {
                        "string": "b",
                        "raw_string": "b"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:18:57-6:19:58",
                    "value": [
                      {
                        "string": "c",
                        "raw_string": "c"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 1,
            "map_key_edge_index": 1
          },
          {
            "key": {
              "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:3:62-7:6:65",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:3:62-7:4:63",
                    "value": [
                      {
                        "string": "a",
                        "raw_string": "a"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:5:64-7:6:65",
                    "value": [
                      {
                        "string": "b",
                        "raw_string": "b"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 1,
            "map_key_edge_index": 0
          },
          {
            "key": {
              "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:10:69-7:15:74",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:10:69-7:11:70",
                    "value": [
                      {
                        "string": "a",
                        "raw_string": "a"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:12:71-7:13:72",
                    "value": [
                      {
                        "string": "b",
                        "raw_string": "b"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:14:73-7:15:74",
                    "value": [
                      {
                        "string": "c",
                        "raw_string": "c"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 1,
            "map_key_edge_index": 0
          }
        ],
        "attributes": {
          "label": {
            "value": "b"
          },
          "labelDimensions": {
            "width": 0,
            "height": 0
          },
          "style": {},
          "iconStyle": {},
          "near_key": null,
          "shape": {
            "value": "rectangle"
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "zIndex": 0
      },
      {
        "id": "c",
        "id_val": "c",
        "references": [
          {
            "key": {
              "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,3:6:27-3:7:28",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,3:6:27-3:7:28",
                    "value": [
                      {
                        "string": "c",
                        "raw_string": "c"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "map_key_edge_index": -1
          },
          {
            "key": {
              "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:14:53-6:19:58",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:14:53-6:15:54",
                    "value": [
                      {
                        "string": "a",
                        "raw_string": "a"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:16:55-6:17:56",
                    "value": [
                      {
                        "string": "b",
                        "raw_string": "b"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:18:57-6:19:58",
                    "value": [
                      {
                        "string": "c",
                        "raw_string": "c"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 2,
            "map_key_edge_index": 1
          },
          {
            "key": {
              "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:10:69-7:15:74",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:10:69-7:11:70",
                    "value": [
                      {
                        "string": "a",
                        "raw_string": "a"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:12:71-7:13:72",
                    "value": [
                      {
                        "string": "b",
                        "raw_string": "b"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,7:14:73-7:15:74",
                    "value": [
                      {
                        "string": "c",
                        "raw_string": "c"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 2,
            "map_key_edge_index": 0
          }
        ],
        "attributes": {
          "label": {
            "value": "c"
          },
          "labelDimensions": {
            "width": 0,
            "height": 0
          },
          "style": {},
          "iconStyle": {},
          "near_key": null,
          "shape": {
            "value": "rectangle"
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "zIndex": 0
      },
      {
        "id": "x",
        "id_val": "x",
        "references": [
          {
            "key": {
              "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:2:41-6:3:42",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2oracle/TestSet/nested-edge-chained/2.d2,6:2:41-6:3:42",
                    "value": [
                      {
                        "string": "x",
                        "raw_string": "x"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "map_key_edge_index": 0
          }
        ],
        "attributes": {
          "label": {
            "value": "x"
          },
          "labelDimensions": {
            "width": 0,
            "height": 0
          },
          "style": {},
          "iconStyle": {},
          "near_key": null,
          "shape": {
            "value": "rectangle"
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "zIndex": 0
      }
    ]
  },
  "err": "<nil>"
}
