{
  "graph": {
    "name": "",
    "isFolderOnly": false,
    "ast": {
      "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,0:0:0-9:0:168",
      "nodes": [
        {
          "map_key": {
            "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,0:0:0-8:1:167",
            "edges": [
              {
                "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,0:0:0-0:6:6",
                "src": {
                  "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,0:0:0-0:1:1",
                  "path": [
                    {
                      "unquoted_string": {
                        "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,0:0:0-0:1:1",
                        "value": [
                          {
                            "string": "x",
                            "raw_string": "x"
                          }
                        ]
                      }
                    }
                  ]
                },
                "src_arrow": "",
                "dst": {
                  "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,0:5:5-0:6:6",
                  "path": [
                    {
                      "unquoted_string": {
                        "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,0:5:5-0:6:6",
                        "value": [
                          {
                            "string": "y",
                            "raw_string": "y"
                          }
                        ]
                      }
                    }
                  ]
                },
                "dst_arrow": ">"
              }
            ],
            "primary": {},
            "value": {
              "map": {
                "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,0:8:8-8:1:167",
                "nodes": [
                  {
                    "map_key": {
                      "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,1:2:12-3:3:91",
                      "key": {
                        "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,1:2:12-1:18:28",
                        "path": [
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,1:2:12-1:18:28",
                              "value": [
                                {
                                  "string": "source-arrowhead",
                                  "raw_string": "source-arrowhead"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "primary": {
                        "unquoted_string": {
                          "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,1:20:30-1:56:66",
                          "value": [
                            {
                              "string": "Reisner's Rule of Conceptual Inertia",
                              "raw_string": "Reisner's Rule of Conceptual Inertia"
                            }
                          ]
                        }
                      },
                      "value": {
                        "map": {
                          "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,1:57:67-3:3:91",
                          "nodes": [
                            {
                              "map_key": {
                                "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,2:4:73-2:18:87",
                                "key": {
                                  "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,2:4:73-2:9:78",
                                  "path": [
                                    {
                                      "unquoted_string": {
                                        "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,2:4:73-2:9:78",
                                        "value": [
                                          {
                                            "string": "shape",
                                            "raw_string": "shape"
                                          }
                                        ]
                                      }
                                    }
                                  ]
                                },
                                "primary": {},
                                "value": {
                                  "unquoted_string": {
                                    "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,2:11:80-2:18:87",
                                    "value": [
                                      {
                                        "string": "diamond",
                                        "raw_string": "diamond"
                                      }
                                    ]
                                  }
                                }
                              }
                            }
                          ]
                        }
                      }
                    }
                  },
                  {
                    "map_key": {
                      "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,4:2:94-4:24:116",
                      "key": {
                        "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,4:2:94-4:18:110",
                        "path": [
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,4:2:94-4:18:110",
                              "value": [
                                {
                                  "string": "target-arrowhead",
                                  "raw_string": "target-arrowhead"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "primary": {},
                      "value": {
                        "unquoted_string": {
                          "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,4:20:112-4:24:116",
                          "value": [
                            {
                              "string": "QOTD",
                              "raw_string": "QOTD"
                            }
                          ]
                        }
                      }
                    }
                  },
                  {
                    "map_key": {
                      "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,5:2:119-7:3:165",
                      "key": {
                        "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,5:2:119-5:18:135",
                        "path": [
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,5:2:119-5:18:135",
                              "value": [
                                {
                                  "string": "target-arrowhead",
                                  "raw_string": "target-arrowhead"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "primary": {},
                      "value": {
                        "map": {
                          "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,5:20:137-7:3:165",
                          "nodes": [
                            {
                              "map_key": {
                                "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,6:4:143-6:22:161",
                                "key": {
                                  "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,6:4:143-6:16:155",
                                  "path": [
                                    {
                                      "unquoted_string": {
                                        "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,6:4:143-6:9:148",
                                        "value": [
                                          {
                                            "string": "style",
                                            "raw_string": "style"
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "unquoted_string": {
                                        "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,6:10:149-6:16:155",
                                        "value": [
                                          {
                                            "string": "filled",
                                            "raw_string": "filled"
                                          }
                                        ]
                                      }
                                    }
                                  ]
                                },
                                "primary": {},
                                "value": {
                                  "boolean": {
                                    "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,6:18:157-6:22:161",
                                    "value": true
                                  }
                                }
                              }
                            }
                          ]
                        }
                      }
                    }
                  }
                ]
              }
            }
          }
        }
      ]
    },
    "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,
        "srcArrowhead": {
          "label": {
            "value": "Reisner's Rule of Conceptual Inertia"
          },
          "labelDimensions": {
            "width": 0,
            "height": 0
          },
          "style": {},
          "iconStyle": {},
          "near_key": null,
          "shape": {
            "value": "diamond"
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "dst_arrow": true,
        "dstArrowhead": {
          "label": {
            "value": "QOTD"
          },
          "labelDimensions": {
            "width": 0,
            "height": 0
          },
          "style": {
            "filled": {
              "value": "true"
            }
          },
          "iconStyle": {},
          "near_key": null,
          "shape": {
            "value": ""
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "references": [
          {
            "map_key_edge_index": 0
          }
        ],
        "attributes": {
          "label": {
            "value": ""
          },
          "labelDimensions": {
            "width": 0,
            "height": 0
          },
          "style": {},
          "iconStyle": {},
          "near_key": null,
          "shape": {
            "value": ""
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "zIndex": 0
      }
    ],
    "objects": [
      {
        "id": "x",
        "id_val": "x",
        "references": [
          {
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,0:0:0-0:1:1",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,0:0:0-0:1:1",
                    "value": [
                      {
                        "string": "x",
                        "raw_string": "x"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "map_key_edge_index": 0
          }
        ],
        "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/TestCompile/edge_arrowhead_fields.d2,0:5:5-0:6:6",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile/edge_arrowhead_fields.d2,0:5:5-0:6:6",
                    "value": [
                      {
                        "string": "y",
                        "raw_string": "y"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "map_key_edge_index": 0
          }
        ],
        "attributes": {
          "label": {
            "value": "y"
          },
          "labelDimensions": {
            "width": 0,
            "height": 0
          },
          "style": {},
          "iconStyle": {},
          "near_key": null,
          "shape": {
            "value": "rectangle"
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "zIndex": 0
      }
    ]
  },
  "err": null
}
