{
  "graph": {
    "name": "",
    "isFolderOnly": false,
    "ast": {
      "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,0:0:0-8:0:72",
      "nodes": [
        {
          "map_key": {
            "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,1:0:1-4:1:41",
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,1:0:1-1:1:2",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,1:0:1-1:1:2",
                    "value": [
                      {
                        "string": "*",
                        "raw_string": "*"
                      }
                    ],
                    "pattern": [
                      "*"
                    ]
                  }
                }
              ]
            },
            "primary": {},
            "value": {
              "map": {
                "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,1:3:4-4:1:41",
                "nodes": [
                  {
                    "map_key": {
                      "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,2:2:8-2:10:16",
                      "ampersand": true,
                      "key": {
                        "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,2:3:9-2:7:13",
                        "path": [
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,2:3:9-2:7:13",
                              "value": [
                                {
                                  "string": "link",
                                  "raw_string": "link"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "primary": {},
                      "value": {
                        "unquoted_string": {
                          "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,2:9:15-2:10:16",
                          "value": [
                            {
                              "string": "*",
                              "raw_string": "*"
                            }
                          ],
                          "pattern": [
                            "*"
                          ]
                        }
                      }
                    }
                  },
                  {
                    "map_key": {
                      "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,3:1:18-3:22:39",
                      "key": {
                        "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,3:1:18-3:16:33",
                        "path": [
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,3:1:18-3:6:23",
                              "value": [
                                {
                                  "string": "style",
                                  "raw_string": "style"
                                }
                              ]
                            }
                          },
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,3:7:24-3:16:33",
                              "value": [
                                {
                                  "string": "underline",
                                  "raw_string": "underline"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "primary": {},
                      "value": {
                        "boolean": {
                          "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,3:18:35-3:22:39",
                          "value": true
                        }
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        {
          "map_key": {
            "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,6:0:43-6:1:44",
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,6:0:43-6:1:44",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,6:0:43-6:1:44",
                    "value": [
                      {
                        "string": "x",
                        "raw_string": "x"
                      }
                    ]
                  }
                }
              ]
            },
            "primary": {},
            "value": {}
          }
        },
        {
          "map_key": {
            "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,7:0:45-7:26:71",
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,7:0:45-7:6:51",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,7:0:45-7:1:46",
                    "value": [
                      {
                        "string": "y",
                        "raw_string": "y"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,7:2:47-7:6:51",
                    "value": [
                      {
                        "string": "link",
                        "raw_string": "link"
                      }
                    ]
                  }
                }
              ]
            },
            "primary": {},
            "value": {
              "unquoted_string": {
                "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,7:8:53-7:26:71",
                "value": [
                  {
                    "string": "https://google.com",
                    "raw_string": "https://google.com"
                  }
                ]
              }
            }
          }
        }
      ]
    },
    "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": "x",
        "id_val": "x",
        "references": [
          {
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,6:0:43-6:1:44",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,6:0:43-6:1:44",
                    "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
      },
      {
        "id": "y",
        "id_val": "y",
        "references": [
          {
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,7:0:45-7:6:51",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,7:0:45-7:1:46",
                    "value": [
                      {
                        "string": "y",
                        "raw_string": "y"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/exists-filter.d2,7:2:47-7:6:51",
                    "value": [
                      {
                        "string": "link",
                        "raw_string": "link"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "map_key_edge_index": -1
          }
        ],
        "attributes": {
          "label": {
            "value": "y"
          },
          "labelDimensions": {
            "width": 0,
            "height": 0
          },
          "style": {
            "underline": {
              "value": "true"
            }
          },
          "iconStyle": {},
          "link": {
            "value": "https://google.com"
          },
          "near_key": null,
          "shape": {
            "value": "rectangle"
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "zIndex": 0
      }
    ]
  },
  "err": null
}
