Files
led-controller/graphify-out/cache/ast/v0.9.101-s36-g1339418af9f9/3714ab9dadaf1c39beb2a8c823b88e0ccf753c4d557a7e6cdbad04dbe001dcad.json
T
jimmyandClaude Opus 5.5 581b751904 feat: browser simulator served by the controller, desktop build, browser bridge
- led-simulator: the rig runs the C++ led-driver as WebAssembly (sim-driver/),
  one single-threaded worker per bar, no cross-origin isolation needed. Rooms
  (one JSON per room) with an on-page editor, and a pattern gallery. The
  Python server, Pyodide boot and ring buffer are removed.
- sim-controller sim_rig.c: serves /sim/ from an embedded pack, the page's
  WebSocket and the rooms/flash API. The desktop build embeds it too.
- bridge.c: a "browser" bridge kind that carries ESP-NOW frames to the page;
  devices announced through it are marked sim.
- UI: Simulator in the Menu, split view with resize and pop-out, swipe
  between controller and rig on phones; SIM/REAL badges in Devices.
- Fades: preset pushes and Wi-Fi driver bodies always carry fade and
  beat_time, so "off" no longer inherits an earlier fade.
- Also the sequences-v2 work in progress: desktop port, bridge firmware,
  serial bridge, Wi-Fi drivers, sequence timeline, audio and API changes.
- led-driver: ESP-NOW link, beat sync, control messages, sim hooks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 19:32:46 +13:00

1 line
7.5 KiB
JSON

{"nodes": [{"id": "$graphify-root$_sim_driver_src_ws2812_sim_cpp", "label": "ws2812_sim.cpp", "file_type": "code", "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L1"}, {"id": "$graphify-root$_sim_driver_src_ws2812_sim_ws2812_ws2812", "label": "WS2812::WS2812()", "file_type": "code", "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L16", "_cpp_qualified": "", "_callable": true}, {"id": "gpio_num_t", "label": "gpio_num_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-driver/src/ws2812_sim.cpp"}, {"id": "$graphify-root$_sim_driver_src_ws2812_sim_ws2812_set", "label": "WS2812::set()", "file_type": "code", "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L26", "_cpp_qualified": "WS2812::set", "_callable": true}, {"id": "$graphify-root$_sim_driver_src_ws2812_sim_ws2812_fill", "label": "WS2812::fill()", "file_type": "code", "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L35", "_cpp_qualified": "WS2812::fill", "_callable": true}, {"id": "$graphify-root$_sim_driver_src_ws2812_sim_ws2812_write", "label": "WS2812::write()", "file_type": "code", "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L40", "_cpp_qualified": "WS2812::write", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-driver/src/ws2812_sim.cpp"}, {"id": "$graphify-root$_sim_driver_src_ws2812_sim_ws2812_setorder", "label": "WS2812::setOrder()", "file_type": "code", "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L50", "_cpp_qualified": "WS2812::setOrder", "_callable": true}, {"id": "$graphify-root$_sim_driver_src_ws2812_sim_ws2812_hsv2rgb", "label": "WS2812::hsv2rgb()", "file_type": "code", "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L55", "_cpp_qualified": "WS2812::hsv2rgb", "_callable": true}, {"id": "$graphify-root$_sim_driver_src_ws2812_sim_sim_frame", "label": "sim_frame()", "file_type": "code", "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L74", "_callable": true}], "edges": [{"source": "$graphify-root$_sim_driver_src_ws2812_sim_cpp", "target": "ws2812", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L3", "weight": 1.0, "metadata": {"raw_include": "ws2812.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_sim_driver_src_ws2812_sim_cpp", "target": "cstring", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_sim_driver_src_ws2812_sim_cpp", "target": "mutex", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L6", "weight": 1.0}, {"source": "$graphify-root$_sim_driver_src_ws2812_sim_cpp", "target": "vector", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L7", "weight": 1.0}, {"source": "$graphify-root$_sim_driver_src_ws2812_sim_cpp", "target": "$graphify-root$_sim_driver_src_sim_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L9", "weight": 1.0, "target_file": "$graphify-root$/sim-driver/src/sim.h"}, {"source": "$graphify-root$_sim_driver_src_ws2812_sim_cpp", "target": "$graphify-root$_sim_driver_src_ws2812_sim_ws2812_ws2812", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L16", "weight": 1.0}, {"source": "$graphify-root$_sim_driver_src_ws2812_sim_ws2812_ws2812", "target": "gpio_num_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L16", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_sim_driver_src_ws2812_sim_cpp", "target": "$graphify-root$_sim_driver_src_ws2812_sim_ws2812_ws2812", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L24", "weight": 1.0}, {"source": "$graphify-root$_sim_driver_src_ws2812_sim_cpp", "target": "$graphify-root$_sim_driver_src_ws2812_sim_ws2812_set", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L26", "weight": 1.0}, {"source": "$graphify-root$_sim_driver_src_ws2812_sim_cpp", "target": "$graphify-root$_sim_driver_src_ws2812_sim_ws2812_fill", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L35", "weight": 1.0}, {"source": "$graphify-root$_sim_driver_src_ws2812_sim_cpp", "target": "$graphify-root$_sim_driver_src_ws2812_sim_ws2812_write", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L40", "weight": 1.0}, {"source": "$graphify-root$_sim_driver_src_ws2812_sim_ws2812_write", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L40", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_sim_driver_src_ws2812_sim_cpp", "target": "$graphify-root$_sim_driver_src_ws2812_sim_ws2812_setorder", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L50", "weight": 1.0}, {"source": "$graphify-root$_sim_driver_src_ws2812_sim_cpp", "target": "$graphify-root$_sim_driver_src_ws2812_sim_ws2812_hsv2rgb", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L55", "weight": 1.0}, {"source": "$graphify-root$_sim_driver_src_ws2812_sim_cpp", "target": "$graphify-root$_sim_driver_src_ws2812_sim_sim_frame", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L74", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_sim_driver_src_ws2812_sim_ws2812_ws2812", "callee": "assign", "is_member_call": true, "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L20", "receiver": "pixels_", "lang": "cpp"}, {"caller_nid": "$graphify-root$_sim_driver_src_ws2812_sim_ws2812_ws2812", "callee": "assign", "is_member_call": true, "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L21", "receiver": "tx_pixels_", "lang": "cpp"}, {"caller_nid": "$graphify-root$_sim_driver_src_ws2812_sim_ws2812_write", "callee": "size", "is_member_call": true, "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L42", "receiver": "pixels_", "lang": "cpp"}, {"caller_nid": "$graphify-root$_sim_driver_src_ws2812_sim_sim_frame", "callee": "size", "is_member_call": true, "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L77", "receiver": "s_frame", "lang": "cpp"}, {"caller_nid": "$graphify-root$_sim_driver_src_ws2812_sim_sim_frame", "callee": "memcpy", "is_member_call": false, "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L79", "receiver": null, "lang": "cpp"}, {"caller_nid": "$graphify-root$_sim_driver_src_ws2812_sim_sim_frame", "callee": "data", "is_member_call": true, "source_file": "sim-driver/src/ws2812_sim.cpp", "source_location": "L79", "receiver": "s_frame", "lang": "cpp"}], "_cached_target_files": ["$graphify-root$/sim-driver/src/sim.h"]}