{
  "graph": {
    "name": "",
    "isFolderOnly": false,
    "ast": {
      "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,0:0:0-10:0:71",
      "nodes": [
        {
          "map_key": {
            "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,1:0:1-6:1:56",
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,1:0:1-1:3:4",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,1:0:1-1:3:4",
                    "value": [
                      {
                        "string": "***",
                        "raw_string": "***"
                      }
                    ],
                    "pattern": [
                      "*",
                      "",
                      "*",
                      "",
                      "*"
                    ]
                  }
                }
              ]
            },
            "primary": {},
            "value": {
              "map": {
                "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,1:5:6-6:1:56",
                "nodes": [
                  {
                    "map_key": {
                      "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,2:2:10-2:13:21",
                      "ampersand": true,
                      "key": {
                        "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,2:3:11-2:7:15",
                        "path": [
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,2:3:11-2:7:15",
                              "value": [
                                {
                                  "string": "leaf",
                                  "raw_string": "leaf"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "primary": {},
                      "value": {
                        "boolean": {
                          "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,2:9:17-2:13:21",
                          "value": true
                        }
                      }
                    }
                  },
                  {
                    "map_key": {
                      "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,3:2:24-5:3:54",
                      "key": {
                        "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,3:2:24-3:7:29",
                        "path": [
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,3:2:24-3:7:29",
                              "value": [
                                {
                                  "string": "style",
                                  "raw_string": "style"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "primary": {},
                      "value": {
                        "map": {
                          "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,3:9:31-5:3:54",
                          "nodes": [
                            {
                              "map_key": {
                                "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,4:4:37-4:17:50",
                                "key": {
                                  "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,4:4:37-4:13:46",
                                  "path": [
                                    {
                                      "unquoted_string": {
                                        "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,4:4:37-4:13:46",
                                        "value": [
                                          {
                                            "string": "font-size",
                                            "raw_string": "font-size"
                                          }
                                        ]
                                      }
                                    }
                                  ]
                                },
                                "primary": {},
                                "value": {
                                  "number": {
                                    "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,4:15:48-4:17:50",
                                    "raw": "30",
                                    "value": "30"
                                  }
                                }
                              }
                            }
                          ]
                        }
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        {
          "map_key": {
            "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,7:0:57-9:1:70",
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,7:0:57-7:1:58",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,7:0:57-7:1:58",
                    "value": [
                      {
                        "string": "a",
                        "raw_string": "a"
                      }
                    ]
                  }
                }
              ]
            },
            "primary": {},
            "value": {
              "map": {
                "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,7:3:60-9:1:70",
                "nodes": [
                  {
                    "import": {
                      "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,8:1:63-8:6:68",
                      "spread": true,
                      "pre": "",
                      "path": [
                        {
                          "unquoted_string": {
                            "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,8:5:67-8:6:68",
                            "value": [
                              {
                                "string": "x",
                                "raw_string": "x"
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          }
        }
      ]
    },
    "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": "b",
        "id_val": "b",
        "references": [
          {
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile/x.d2,1:0:1-1:1:2",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile/x.d2,1:0:1-1:1:2",
                    "value": [
                      {
                        "string": "b",
                        "raw_string": "b"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "map_key_edge_index": -1
          }
        ],
        "attributes": {
          "label": {
            "value": "b"
          },
          "labelDimensions": {
            "width": 0,
            "height": 0
          },
          "style": {
            "fontSize": {
              "value": "30"
            }
          },
          "iconStyle": {},
          "near_key": null,
          "shape": {
            "value": "rectangle"
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "zIndex": 0
      },
      {
        "id": "a",
        "id_val": "a",
        "references": [
          {
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,7:0:57-7:1:58",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile/imported-glob-leaf-filter.d2,7:0:57-7:1:58",
                    "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": {},
          "iconStyle": {},
          "near_key": null,
          "shape": {
            "value": "rectangle"
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "zIndex": 0
      }
    ]
  },
  "err": null
}
