{ "version": 1, "nodes": [ { "id": "src1", "typeId": "waterSource", "x": 60, "y": 140, "angle": 0, "props": { "title": "City main", "supply": 30 } }, { "id": "src2", "typeId": "waterSource", "x": 60, "y": 460, "angle": 0, "props": { "title": "Backup well", "supply": 10 } }, { "id": "pump1", "typeId": "pump", "x": 280, "y": 140, "angle": 0, "props": { "title": "Booster P-101" } }, { "id": "power1", "typeId": "powerSupply", "x": 280, "y": 320, "angle": 0, "props": { "title": "MCC-1" } }, { "id": "tee1", "typeId": "tee", "x": 520, "y": 140, "angle": 0, "props": { "title": "T-1" } }, { "id": "cons1", "typeId": "consumer", "x": 800, "y": 60, "angle": 0, "props": { "title": "Block A", "demand": 8 } }, { "id": "cons2", "typeId": "consumer", "x": 800, "y": 300, "angle": 0, "props": { "title": "Block B", "demand": 4 } } ], "edges": [ { "id": "p1", "sourceNodeId": "src1", "sourcePortId": "out", "targetNodeId": "pump1", "targetPortId": "in", "relation": "water", "vertices": [], "props": { "title": "suction" } }, { "id": "p2", "sourceNodeId": "pump1", "sourcePortId": "out", "targetNodeId": "tee1", "targetPortId": "a", "relation": "water", "vertices": [], "props": {} }, { "id": "p3", "sourceNodeId": "tee1", "sourcePortId": "b", "targetNodeId": "cons1", "targetPortId": "waterIn", "relation": "water", "vertices": [], "props": {} }, { "id": "p4", "sourceNodeId": "tee1", "sourcePortId": "c", "targetNodeId": "cons2", "targetPortId": "waterIn", "relation": "water", "vertices": [], "props": {} }, { "id": "p5", "sourceNodeId": "src2", "sourcePortId": "out", "targetNodeId": "cons2", "targetPortId": "waterIn", "relation": "water", "vertices": [{ "x": 640, "y": 80 }], "props": { "title": "backup line" } }, { "id": "w1", "sourceNodeId": "power1", "sourcePortId": "out", "targetNodeId": "pump1", "targetPortId": "powerIn", "relation": "power", "vertices": [], "props": { "lineStyle": "dashed", "targetMarker": "circle" } } ] }