{
  "graph": {
    "name": "",
    "isFolderOnly": false,
    "ast": {
      "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,0:0:0-9:0:69",
      "nodes": [
        {
          "map_key": {
            "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,1:0:1-1:6:7",
            "edges": [
              {
                "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,1:0:1-1:6:7",
                "src": {
                  "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,1:0:1-1:1:2",
                  "path": [
                    {
                      "unquoted_string": {
                        "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,1:0:1-1:1:2",
                        "value": [
                          {
                            "string": "a",
                            "raw_string": "a"
                          }
                        ]
                      }
                    }
                  ]
                },
                "src_arrow": "",
                "dst": {
                  "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,1:5:6-1:6:7",
                  "path": [
                    {
                      "unquoted_string": {
                        "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,1:5:6-1:6:7",
                        "value": [
                          {
                            "string": "b",
                            "raw_string": "b"
                          }
                        ]
                      }
                    }
                  ]
                },
                "dst_arrow": ">"
              }
            ],
            "primary": {},
            "value": {}
          }
        },
        {
          "map_key": {
            "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,2:0:8-8:1:68",
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,2:0:8-2:1:9",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,2:0:8-2:1:9",
                    "value": [
                      {
                        "string": "x",
                        "raw_string": "x"
                      }
                    ]
                  }
                }
              ]
            },
            "primary": {},
            "value": {
              "map": {
                "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,2:3:11-8:1:68",
                "nodes": [
                  {
                    "map_key": {
                      "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,3:1:14-7:2:66",
                      "edges": [
                        {
                          "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,3:2:15-3:12:25",
                          "src": {
                            "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,3:2:15-3:5:18",
                            "path": [
                              {
                                "unquoted_string": {
                                  "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,3:2:15-3:3:16",
                                  "value": [
                                    {
                                      "string": "_",
                                      "raw_string": "_"
                                    }
                                  ]
                                }
                              },
                              {
                                "unquoted_string": {
                                  "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,3:4:17-3:5:18",
                                  "value": [
                                    {
                                      "string": "a",
                                      "raw_string": "a"
                                    }
                                  ]
                                }
                              }
                            ]
                          },
                          "src_arrow": "",
                          "dst": {
                            "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,3:9:22-3:12:25",
                            "path": [
                              {
                                "unquoted_string": {
                                  "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,3:9:22-3:10:23",
                                  "value": [
                                    {
                                      "string": "_",
                                      "raw_string": "_"
                                    }
                                  ]
                                }
                              },
                              {
                                "unquoted_string": {
                                  "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,3:11:24-3:12:25",
                                  "value": [
                                    {
                                      "string": "b",
                                      "raw_string": "b"
                                    }
                                  ]
                                }
                              }
                            ]
                          },
                          "dst_arrow": ">"
                        }
                      ],
                      "edge_index": {
                        "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,3:13:26-3:16:29",
                        "int": 0,
                        "glob": false
                      },
                      "primary": {},
                      "value": {
                        "map": {
                          "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,3:18:31-7:2:66",
                          "nodes": [
                            {
                              "map_key": {
                                "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,4:2:35-6:3:63",
                                "key": {
                                  "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,4:2:35-4:7:40",
                                  "path": [
                                    {
                                      "unquoted_string": {
                                        "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,4:2:35-4:7:40",
                                        "value": [
                                          {
                                            "string": "style",
                                            "raw_string": "style"
                                          }
                                        ]
                                      }
                                    }
                                  ]
                                },
                                "primary": {},
                                "value": {
                                  "map": {
                                    "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,4:9:42-6:3:63",
                                    "nodes": [
                                      {
                                        "map_key": {
                                          "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,5:3:47-5:15:59",
                                          "key": {
                                            "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,5:3:47-5:10:54",
                                            "path": [
                                              {
                                                "unquoted_string": {
                                                  "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,5:3:47-5:10:54",
                                                  "value": [
                                                    {
                                                      "string": "opacity",
                                                      "raw_string": "opacity"
                                                    }
                                                  ]
                                                }
                                              }
                                            ]
                                          },
                                          "primary": {},
                                          "value": {
                                            "number": {
                                              "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,5:12:56-5:15:59",
                                              "raw": "0.4",
                                              "value": "2/5"
                                            }
                                          }
                                        }
                                      }
                                    ]
                                  }
                                }
                              }
                            }
                          ]
                        }
                      }
                    }
                  }
                ]
              }
            }
          }
        }
      ]
    },
    "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
          },
          {
            "map_key_edge_index": 0
          }
        ],
        "attributes": {
          "label": {
            "value": ""
          },
          "labelDimensions": {
            "width": 0,
            "height": 0
          },
          "style": {
            "opacity": {
              "value": "0.4"
            }
          },
          "iconStyle": {},
          "near_key": null,
          "shape": {
            "value": ""
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "zIndex": 0
      }
    ],
    "objects": [
      {
        "id": "a",
        "id_val": "a",
        "references": [
          {
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,1:0:1-1:1:2",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,1:0:1-1:1:2",
                    "value": [
                      {
                        "string": "a",
                        "raw_string": "a"
                      }
                    ]
                  }
                }
              ]
            },
            "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/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,1:5:6-1:6:7",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,1:5:6-1:6:7",
                    "value": [
                      {
                        "string": "b",
                        "raw_string": "b"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "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": "x",
        "id_val": "x",
        "references": [
          {
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,2:0:8-2:1:9",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile/edge_key_group_map_nested_underscore.d2,2:0:8-2:1:9",
                    "value": [
                      {
                        "string": "x",
                        "raw_string": "x"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "map_key_edge_index": -1
          }
        ],
        "attributes": {
          "label": {
            "value": "x"
          },
          "labelDimensions": {
            "width": 0,
            "height": 0
          },
          "style": {},
          "iconStyle": {},
          "near_key": null,
          "shape": {
            "value": "rectangle"
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "zIndex": 0
      }
    ]
  },
  "err": null
}
