{
  "graph": {
    "name": "",
    "isFolderOnly": false,
    "ast": {
      "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,0:0:0-12:0:130",
      "nodes": [
        {
          "map_key": {
            "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,1:0:1-4:1:44",
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,1:0:1-1:1:2",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,1:0:1-1:1:2",
                    "value": [
                      {
                        "string": "*",
                        "raw_string": "*"
                      }
                    ],
                    "pattern": [
                      "*"
                    ]
                  }
                }
              ]
            },
            "primary": {},
            "value": {
              "map": {
                "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,1:3:4-4:1:44",
                "nodes": [
                  {
                    "map_key": {
                      "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,2:1:7-2:18:24",
                      "ampersand": true,
                      "key": {
                        "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,2:2:8-2:7:13",
                        "path": [
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,2:2:8-2:7:13",
                              "value": [
                                {
                                  "string": "shape",
                                  "raw_string": "shape"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "primary": {},
                      "value": {
                        "unquoted_string": {
                          "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,2:9:15-2:18:24",
                          "value": [
                            {
                              "string": "rectangle",
                              "raw_string": "rectangle"
                            }
                          ]
                        }
                      }
                    }
                  },
                  {
                    "map_key": {
                      "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,3:2:27-3:17:42",
                      "key": {
                        "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,3:2:27-3:12:37",
                        "path": [
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,3:2:27-3:7:32",
                              "value": [
                                {
                                  "string": "style",
                                  "raw_string": "style"
                                }
                              ]
                            }
                          },
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,3:8:33-3:12:37",
                              "value": [
                                {
                                  "string": "fill",
                                  "raw_string": "fill"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "primary": {},
                      "value": {
                        "unquoted_string": {
                          "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,3:14:39-3:17:42",
                          "value": [
                            {
                              "string": "red",
                              "raw_string": "red"
                            }
                          ]
                        }
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        {
          "map_key": {
            "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,5:0:45-8:1:92",
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,5:0:45-5:1:46",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,5:0:45-5:1:46",
                    "value": [
                      {
                        "string": "*",
                        "raw_string": "*"
                      }
                    ],
                    "pattern": [
                      "*"
                    ]
                  }
                }
              ]
            },
            "primary": {},
            "value": {
              "map": {
                "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,5:3:48-8:1:92",
                "nodes": [
                  {
                    "map_key": {
                      "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,6:2:52-6:19:69",
                      "ampersand": true,
                      "key": {
                        "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,6:3:53-6:16:66",
                        "path": [
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,6:3:53-6:8:58",
                              "value": [
                                {
                                  "string": "style",
                                  "raw_string": "style"
                                }
                              ]
                            }
                          },
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,6:9:59-6:16:66",
                              "value": [
                                {
                                  "string": "opacity",
                                  "raw_string": "opacity"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "primary": {},
                      "value": {
                        "number": {
                          "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,6:18:68-6:19:69",
                          "raw": "1",
                          "value": "1"
                        }
                      }
                    }
                  },
                  {
                    "map_key": {
                      "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,7:2:72-7:20:90",
                      "key": {
                        "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,7:2:72-7:14:84",
                        "path": [
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,7:2:72-7:7:77",
                              "value": [
                                {
                                  "string": "style",
                                  "raw_string": "style"
                                }
                              ]
                            }
                          },
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,7:8:78-7:14:84",
                              "value": [
                                {
                                  "string": "stroke",
                                  "raw_string": "stroke"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "primary": {},
                      "value": {
                        "unquoted_string": {
                          "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,7:16:86-7:20:90",
                          "value": [
                            {
                              "string": "blue",
                              "raw_string": "blue"
                            }
                          ]
                        }
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        {
          "map_key": {
            "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,9:0:93-9:1:94",
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,9:0:93-9:1:94",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,9:0:93-9:1:94",
                    "value": [
                      {
                        "string": "a",
                        "raw_string": "a"
                      }
                    ]
                  }
                }
              ]
            },
            "primary": {},
            "value": {}
          }
        },
        {
          "map_key": {
            "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,10:0:95-10:15:110",
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,10:0:95-10:7:102",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,10:0:95-10:1:96",
                    "value": [
                      {
                        "string": "b",
                        "raw_string": "b"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,10:2:97-10:7:102",
                    "value": [
                      {
                        "string": "shape",
                        "raw_string": "shape"
                      }
                    ]
                  }
                }
              ]
            },
            "primary": {},
            "value": {
              "unquoted_string": {
                "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,10:9:104-10:15:110",
                "value": [
                  {
                    "string": "circle",
                    "raw_string": "circle"
                  }
                ]
              }
            }
          }
        },
        {
          "map_key": {
            "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,11:0:111-11:18:129",
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,11:0:111-11:7:118",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,11:0:111-11:1:112",
                    "value": [
                      {
                        "string": "c",
                        "raw_string": "c"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,11:2:113-11:7:118",
                    "value": [
                      {
                        "string": "shape",
                        "raw_string": "shape"
                      }
                    ]
                  }
                }
              ]
            },
            "primary": {},
            "value": {
              "unquoted_string": {
                "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,11:9:120-11:18:129",
                "value": [
                  {
                    "string": "rectangle",
                    "raw_string": "rectangle"
                  }
                ]
              }
            }
          }
        }
      ]
    },
    "root": {
      "id": "",
      "id_val": "",
      "attributes": {
        "label": {
          "value": ""
        },
        "labelDimensions": {
          "width": 0,
          "height": 0
        },
        "style": {},
        "near_key": null,
        "shape": {
          "value": ""
        },
        "direction": {
          "value": ""
        },
        "constraint": null
      },
      "zIndex": 0
    },
    "edges": null,
    "objects": [
      {
        "id": "a",
        "id_val": "a",
        "references": [
          {
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,9:0:93-9:1:94",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,9:0:93-9:1:94",
                    "value": [
                      {
                        "string": "a",
                        "raw_string": "a"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "map_key_edge_index": -1
          }
        ],
        "attributes": {
          "label": {
            "value": "a"
          },
          "labelDimensions": {
            "width": 0,
            "height": 0
          },
          "style": {
            "fill": {
              "value": "red"
            }
          },
          "near_key": null,
          "shape": {
            "value": "rectangle"
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "zIndex": 0
      },
      {
        "id": "b",
        "id_val": "b",
        "references": [
          {
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,10:0:95-10:7:102",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,10:0:95-10:1:96",
                    "value": [
                      {
                        "string": "b",
                        "raw_string": "b"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,10:2:97-10:7:102",
                    "value": [
                      {
                        "string": "shape",
                        "raw_string": "shape"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "map_key_edge_index": -1
          }
        ],
        "attributes": {
          "label": {
            "value": "b"
          },
          "labelDimensions": {
            "width": 0,
            "height": 0
          },
          "style": {},
          "near_key": null,
          "shape": {
            "value": "circle"
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "zIndex": 0
      },
      {
        "id": "c",
        "id_val": "c",
        "references": [
          {
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,11:0:111-11:7:118",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,11:0:111-11:1:112",
                    "value": [
                      {
                        "string": "c",
                        "raw_string": "c"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter.d2,11:2:113-11:7:118",
                    "value": [
                      {
                        "string": "shape",
                        "raw_string": "shape"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "map_key_edge_index": -1
          }
        ],
        "attributes": {
          "label": {
            "value": "c"
          },
          "labelDimensions": {
            "width": 0,
            "height": 0
          },
          "style": {
            "fill": {
              "value": "red"
            }
          },
          "near_key": null,
          "shape": {
            "value": "rectangle"
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "zIndex": 0
      }
    ]
  },
  "err": null
}
