## A/B sided graphs main demo

Enter JSON array of segments of some A/B-graph:

[ { "id": "seg1", "firstPoint": "p1", "firstSide": "A", "secondPoint": "p2", "secondSide": "A", "weight": 8}, { "id": "seg2", "firstPoint": "p1", "firstSide": "B", "secondPoint": "p3", "secondSide": "A", "weight": 2}, { "id": "seg3", "firstPoint": "p1", "firstSide": "B", "secondPoint": "p2", "secondSide": "A", "weight": 3}, { "id": "seg11", "firstPoint": "p1", "firstSide": "A", "secondPoint": "p5", "secondSide": "A", "weight": 10.1}, { "id": "seg12", "firstPoint": "p1", "firstSide": "A", "secondPoint": "p5", "secondSide": "B", "weight": 10.1}, { "id": "seg21", "firstPoint": "p2", "firstSide": "B", "secondPoint": "p3", "secondSide": "B", "weight": 15}, { "id": "otherSeg1", "firstPoint": "other1", "firstSide": "A", "secondPoint": "other2", "secondSide": "B", "weight": 115} ] [ { "id" : "path1", "startPoint": "p1", "endPoint": "p2" }, { "id" : "path2", "startPoint": "p2", "endPoint": "p3" }, { "startPoint": "p3", "endPoint": "p2" }, { "startPoint": "other1", "endPoint": "other2" } ]

Click button about to see results below