github.com/hzck/speedroute@v0.0.0-20201115191102-403b7d0e443f/algorithm/tests/single_weight/one_weight_no_value.json (about)

     1  {
     2    "name": "One weight no value",
     3    "description": "One weight which does not contain anything should still be a valid weight.",
     4    "testing": "Empty weight does not break the algorithm.",
     5    "visual": "START->END",
     6    "nodes": [
     7      {
     8        "id": "START"
     9      },
    10      {
    11        "id": "END"
    12      }
    13    ],
    14    "edges": [
    15      {
    16        "from": "START",
    17        "to": "END",
    18        "weights": [
    19          {}
    20        ]
    21      }
    22    ],
    23    "startId": "START",
    24    "endId": "END"
    25  }