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

     1  {
     2    "name": "Fastest possible weight",
     3    "description": "Basic multiple weights possible, making sure fastest is taken.",
     4    "testing": "Taking fastest possible weight available.",
     5    "visual": "START->END(10ms,20ms), START->1(15ms), 1->END",
     6    "nodes": [
     7      {
     8        "id": "START"
     9      },
    10      {
    11        "id": "END"
    12      },
    13      {
    14        "id": "1"
    15      }
    16    ],
    17    "edges": [
    18      {
    19        "from": "START",
    20        "to": "END",
    21        "weights": [
    22          {
    23            "time": "10"
    24          },
    25          {
    26            "time": "20"
    27          }
    28        ]
    29      },
    30      {
    31        "from": "START",
    32        "to": "1",
    33        "weights": [
    34          {
    35            "time": "15"
    36          }
    37        ]
    38      },
    39      {
    40        "from": "1",
    41        "to": "END"
    42      }
    43    ],
    44    "startId": "START",
    45    "endId": "END"
    46  }