{
  "graph": {
    "name": "",
    "isFolderOnly": false,
    "ast": {
      "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,0:0:0-11:0:100",
      "nodes": [
        {
          "map_key": {
            "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,1:0:1-4:1:40",
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,1:0:1-1:1:2",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,1:0:1-1:1:2",
                    "value": [
                      {
                        "string": "*",
                        "raw_string": "*"
                      }
                    ],
                    "pattern": [
                      "*"
                    ]
                  }
                }
              ]
            },
            "primary": {},
            "value": {
              "map": {
                "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,1:3:4-4:1:40",
                "nodes": [
                  {
                    "map_key": {
                      "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,2:1:7-2:12:18",
                      "ampersand": true,
                      "key": {
                        "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,2:2:8-2:9:15",
                        "path": [
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,2:2:8-2:9:15",
                              "value": [
                                {
                                  "string": "opacity",
                                  "raw_string": "opacity"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "primary": {},
                      "value": {
                        "number": {
                          "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,2:11:17-2:12:18",
                          "raw": "1",
                          "value": "1"
                        }
                      }
                    }
                  },
                  {
                    "map_key": {
                      "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,3:2:21-3:19:38",
                      "key": {
                        "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,3:2:21-3:14:33",
                        "path": [
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,3:2:21-3:7:26",
                              "value": [
                                {
                                  "string": "style",
                                  "raw_string": "style"
                                }
                              ]
                            }
                          },
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,3:8:27-3:14:33",
                              "value": [
                                {
                                  "string": "stroke",
                                  "raw_string": "stroke"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "primary": {},
                      "value": {
                        "unquoted_string": {
                          "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,3:16:35-3:19:38",
                          "value": [
                            {
                              "string": "red",
                              "raw_string": "red"
                            }
                          ]
                        }
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        {
          "map_key": {
            "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,5:0:41-8:1:90",
            "edges": [
              {
                "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,5:1:42-5:7:48",
                "src": {
                  "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,5:1:42-5:2:43",
                  "path": [
                    {
                      "unquoted_string": {
                        "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,5:1:42-5:2:43",
                        "value": [
                          {
                            "string": "*",
                            "raw_string": "*"
                          }
                        ],
                        "pattern": [
                          "*"
                        ]
                      }
                    }
                  ]
                },
                "src_arrow": "",
                "dst": {
                  "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,5:6:47-5:7:48",
                  "path": [
                    {
                      "unquoted_string": {
                        "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,5:6:47-5:7:48",
                        "value": [
                          {
                            "string": "*",
                            "raw_string": "*"
                          }
                        ],
                        "pattern": [
                          "*"
                        ]
                      }
                    }
                  ]
                },
                "dst_arrow": ">"
              }
            ],
            "edge_index": {
              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,5:8:49-5:11:52",
              "int": null,
              "glob": true
            },
            "primary": {},
            "value": {
              "map": {
                "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,5:13:54-8:1:90",
                "nodes": [
                  {
                    "map_key": {
                      "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,6:1:57-6:12:68",
                      "ampersand": true,
                      "key": {
                        "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,6:2:58-6:9:65",
                        "path": [
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,6:2:58-6:9:65",
                              "value": [
                                {
                                  "string": "opacity",
                                  "raw_string": "opacity"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "primary": {},
                      "value": {
                        "number": {
                          "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,6:11:67-6:12:68",
                          "raw": "1",
                          "value": "1"
                        }
                      }
                    }
                  },
                  {
                    "map_key": {
                      "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,7:2:71-7:19:88",
                      "key": {
                        "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,7:2:71-7:14:83",
                        "path": [
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,7:2:71-7:7:76",
                              "value": [
                                {
                                  "string": "style",
                                  "raw_string": "style"
                                }
                              ]
                            }
                          },
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,7:8:77-7:14:83",
                              "value": [
                                {
                                  "string": "stroke",
                                  "raw_string": "stroke"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "primary": {},
                      "value": {
                        "unquoted_string": {
                          "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,7:16:85-7:19:88",
                          "value": [
                            {
                              "string": "red",
                              "raw_string": "red"
                            }
                          ]
                        }
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        {
          "map_key": {
            "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,9:0:91-9:1:92",
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,9:0:91-9:1:92",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,9:0:91-9:1:92",
                    "value": [
                      {
                        "string": "a",
                        "raw_string": "a"
                      }
                    ]
                  }
                }
              ]
            },
            "primary": {},
            "value": {}
          }
        },
        {
          "map_key": {
            "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,10:0:93-10:6:99",
            "edges": [
              {
                "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,10:0:93-10:6:99",
                "src": {
                  "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,10:0:93-10:1:94",
                  "path": [
                    {
                      "unquoted_string": {
                        "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,10:0:93-10:1:94",
                        "value": [
                          {
                            "string": "b",
                            "raw_string": "b"
                          }
                        ]
                      }
                    }
                  ]
                },
                "src_arrow": "",
                "dst": {
                  "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,10:5:98-10:6:99",
                  "path": [
                    {
                      "unquoted_string": {
                        "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,10:5:98-10:6:99",
                        "value": [
                          {
                            "string": "c",
                            "raw_string": "c"
                          }
                        ]
                      }
                    }
                  ]
                },
                "dst_arrow": ">"
              }
            ],
            "primary": {},
            "value": {}
          }
        }
      ]
    },
    "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": {
            "stroke": {
              "value": "red"
            }
          },
          "iconStyle": {},
          "near_key": null,
          "shape": {
            "value": ""
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "zIndex": 0
      }
    ],
    "objects": [
      {
        "id": "a",
        "id_val": "a",
        "references": [
          {
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,9:0:91-9:1:92",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,9:0:91-9:1:92",
                    "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": {
            "stroke": {
              "value": "red"
            }
          },
          "iconStyle": {},
          "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/4.d2,10:0:93-10:1:94",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,10:0:93-10:1:94",
                    "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": {
            "stroke": {
              "value": "red"
            }
          },
          "iconStyle": {},
          "near_key": null,
          "shape": {
            "value": "rectangle"
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "zIndex": 0
      },
      {
        "id": "c",
        "id_val": "c",
        "references": [
          {
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,10:5:98-10:6:99",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile2/globs/default-glob-filter/4.d2,10:5:98-10:6:99",
                    "value": [
                      {
                        "string": "c",
                        "raw_string": "c"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "map_key_edge_index": 0
          }
        ],
        "attributes": {
          "label": {
            "value": "c"
          },
          "labelDimensions": {
            "width": 0,
            "height": 0
          },
          "style": {
            "stroke": {
              "value": "red"
            }
          },
          "iconStyle": {},
          "near_key": null,
          "shape": {
            "value": "rectangle"
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "zIndex": 0
      }
    ]
  },
  "err": null
}
