defs.append("marker")
      .attrs({
        "id": "arrow",
        "viewBox": "0 -5 10 10",
        "refX": 5,