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

     1  {
     2    "name": "Looping graph",
     3    "description": "Small looping part in graph.",
     4    "testing": "Not getting stuck in an endless loop.",
     5    "visual": "START->1, 1->START, 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": "1"
    21      },
    22      {
    23        "from": "1",
    24        "to": "START"
    25      },
    26      {
    27        "from": "1",
    28        "to": "END"
    29      }
    30    ],
    31    "startId": "START",
    32    "endId": "END"
    33  }