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

     1  {
     2    "name": "One possible path",
     3    "description": "Basic case with one possible path through several nodes.",
     4    "testing": "Possible to find a path through several nodes.",
     5    "visual": "START->1, 1->2, 2->END",
     6    "nodes": [
     7      {
     8        "id": "START"
     9      },
    10      {
    11        "id": "END"
    12      },
    13      {
    14        "id": "1"
    15      },
    16      {
    17        "id": "2"
    18      }
    19    ],
    20    "edges": [
    21      {
    22        "from": "START",
    23        "to": "1"
    24      },
    25      {
    26        "from": "1",
    27        "to": "2"
    28      },
    29      {
    30        "from": "2",
    31        "to": "END"
    32      }
    33    ],
    34    "startId": "START",
    35    "endId": "END"
    36  }