{
  "graph": {
    "name": "",
    "isFolderOnly": false,
    "ast": {
      "range": "d2/testdata/d2compiler/TestCompile/tooltip-near-composite-separate.d2,0:0:0-4:0:58",
      "nodes": [
        {
          "map_key": {
            "range": "d2/testdata/d2compiler/TestCompile/tooltip-near-composite-separate.d2,0:0:0-3:1:57",
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile/tooltip-near-composite-separate.d2,0:0:0-0:3:3",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile/tooltip-near-composite-separate.d2,0:0:0-0:3:3",
                    "value": [
                      {
                        "string": "hey",
                        "raw_string": "hey"
                      }
                    ]
                  }
                }
              ]
            },
            "primary": {},
            "value": {
              "map": {
                "range": "d2/testdata/d2compiler/TestCompile/tooltip-near-composite-separate.d2,0:5:5-3:1:57",
                "nodes": [
                  {
                    "map_key": {
                      "range": "d2/testdata/d2compiler/TestCompile/tooltip-near-composite-separate.d2,1:1:8-1:20:27",
                      "key": {
                        "range": "d2/testdata/d2compiler/TestCompile/tooltip-near-composite-separate.d2,1:1:8-1:8:15",
                        "path": [
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile/tooltip-near-composite-separate.d2,1:1:8-1:8:15",
                              "value": [
                                {
                                  "string": "tooltip",
                                  "raw_string": "tooltip"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "primary": {},
                      "value": {
                        "unquoted_string": {
                          "range": "d2/testdata/d2compiler/TestCompile/tooltip-near-composite-separate.d2,1:10:17-1:20:27",
                          "value": [
                            {
                              "string": "hover text",
                              "raw_string": "hover text"
                            }
                          ]
                        }
                      }
                    }
                  },
                  {
                    "map_key": {
                      "range": "d2/testdata/d2compiler/TestCompile/tooltip-near-composite-separate.d2,2:1:29-2:27:55",
                      "key": {
                        "range": "d2/testdata/d2compiler/TestCompile/tooltip-near-composite-separate.d2,2:1:29-2:13:41",
                        "path": [
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile/tooltip-near-composite-separate.d2,2:1:29-2:8:36",
                              "value": [
                                {
                                  "string": "tooltip",
                                  "raw_string": "tooltip"
                                }
                              ]
                            }
                          },
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile/tooltip-near-composite-separate.d2,2:9:37-2:13:41",
                              "value": [
                                {
                                  "string": "near",
                                  "raw_string": "near"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "primary": {},
                      "value": {
                        "unquoted_string": {
                          "range": "d2/testdata/d2compiler/TestCompile/tooltip-near-composite-separate.d2,2:15:43-2:27:55",
                          "value": [
                            {
                              "string": "bottom-right",
                              "raw_string": "bottom-right"
                            }
                          ]
                        }
                      }
                    }
                  }
                ]
              }
            }
          }
        }
      ]
    },
    "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": null,
    "objects": [
      {
        "id": "hey",
        "id_val": "hey",
        "references": [
          {
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile/tooltip-near-composite-separate.d2,0:0:0-0:3:3",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile/tooltip-near-composite-separate.d2,0:0:0-0:3:3",
                    "value": [
                      {
                        "string": "hey",
                        "raw_string": "hey"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "map_key_edge_index": -1
          }
        ],
        "attributes": {
          "label": {
            "value": "hey"
          },
          "labelDimensions": {
            "width": 0,
            "height": 0
          },
          "style": {},
          "iconStyle": {},
          "tooltip": {
            "value": "hover text"
          },
          "near_key": null,
          "shape": {
            "value": "rectangle"
          },
          "direction": {
            "value": ""
          },
          "constraint": null,
          "tooltipPosition": {
            "value": "bottom-right"
          }
        },
        "zIndex": 0
      }
    ]
  },
  "err": null
}
