mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-06 19:48:35 +01:00
Add vehicle graph core: .vhg loader, logic and cab blocks, -graph-run and -graph-catalog
This commit is contained in:
4
tools/vehicle_graph/tests/two-sources.vhg
Normal file
4
tools/vehicle_graph/tests/two-sources.vhg
Normal file
@@ -0,0 +1,4 @@
|
||||
// expect: error has more than one source
|
||||
{ "format": "maszyna-vehicle-graph", "version": 2, "nodes": [
|
||||
{ "id": "a", "type": "cab.switch" }, { "id": "b", "type": "cab.switch" }, { "id": "n", "type": "logic.not" }
|
||||
], "connections": [ { "from": "a.pos", "to": "n.a" }, { "from": "b.pos", "to": "n.a" } ] }
|
||||
Reference in New Issue
Block a user