- 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>
41 KiB
Graph Report - led-controller (2026-11-14)
Corpus Check
- 353 files · ~637,567 words
- Verdict: corpus is large enough that graph structure adds value.
- Unclassified: 1301 file(s) not represented in the graph (top: .obj 884, .cmake 160, .a 104)
Summary
- 4411 nodes · 12438 edges · 196 communities (131 shown, 65 thin omitted)
- Extraction: 75% EXTRACTED · 25% INFERRED · 0% AMBIGUOUS · INFERRED: 3124 edges (avg confidence: 0.85)
- Token cost: 0 input · 0 output
Graph Freshness
- Built from commit:
cf390284 - Run
git rev-parse HEADand compare to check if the graph is stale. - Run
graphify update .after code changes (no API cost).
Community Hubs (Navigation)
- IdfDevice
- htmx Library
- machine.py
- Browser Tests & Mockup Images
- Audio UI (JS)
- cJSON.c
- bench.c
- led-tool Device CLI
- ab
- Compiler
- Spec: Pi Animation Engine
- espnow_link.cpp
- Presets UI (JS)
- Zones UI (JS)
- web.cpp
- new_id
- Sequences UI (JS)
- layout.py
- main/main.c
- led_strip Component Docs
- Art-Net Output
- freertos.c
- cJSON_GetObjectItem
- cJSON_IsString
- web.cpp
- Microdot
- HTTPException
- seqplay.c
- Devices UI (JS)
- binary_envelope.py
- Colour Picker Mockups
- PyboardCommand
- groups_route
- httpd_parse.c
- test_sequences.py
- microdot.py
- API Docs: Outputs & Audio
- store_init
- socket
- Beat Detection DSP (C)
- test_presets.py
- esp_http_server.h
- run_all
- outputs.c
- move_bars.py
- http_parser.h
- BridgeSim
- USB Latency Tools
- Colour Picker JS
- Chromium Colour Picker JS
- WS2812
- API Tests: Devices
- Transport
- mpremote Transport
- web.c
- test_routes.py
- httpd_config
- test_outputs.py
- mpremote Serial Transport
- API Test Fixtures & Audio
- Microdot Request (dmx)
- Help: Zones & Palette
- ddp_test.py
- test_audio.py
- esp_timer_get_time
- os
- build_app
- httpd_handle_t
- Index Page Modals
- httpd_main.c
- httpd_data
- Microdot WebSocket (dmx)
- create_app
- esp_glue.c
- Controller Overview & OTA Docs
- bridge_main.c
- HttpDevice
- Audio Monitor Page
- Art-Net DMX Tests
- DMX Output Manager
- events
- httpd_req_t
- unique
- ESP-NOW Sender Bridge
- ctrl_msg.cpp
- Microdot Async IO (dmx)
- DMX Settings
- Rig
- Sender
- Microdot Routing (dmx)
- Bench Test Plan
- events
- api_call_t
- Microdot Auth (dmx)
- Serial DMX & WiFi
- DMX Pattern Player
- DMX Preset Model
- esp_err.h
- patterns.cpp
- Groups UI (JS)
- httpd_req_aux
- Help: Mobile Menu Image
- Pattern Selector Mockup Image
- Driver Pattern Docs
- led-controller ESP32-S3 firmware
- main
- LedSimulatorApp
- Driver Message API Docs
- Missing
- led_strip Manifest
- Outputs UI (JS)
- DMX Driver Art-Net and serial gateway
- Help PDF: Overview
- Mockups Index Image
- bridge_sim.py
- Help: Header Toolbar Image
- Help: Preset Editor Image
- Dashboard Mockup Image
- Device Management Mockup Image
- Presets Mockup Image
- Pattern Contract
- httpd_ws.c
- Numpad Shortcuts (JS)
- httpd_ctrl_data
- Colour Picker Demo Image
- Settings Mockup Image
- sim_demo.py
- mac_str
- httpd_req_t
- time
- Help: Colour Palette Image
- httpd_req
- LED Driver README
- machine.py
- SPI Example Manifest
- test_rig_sim.py
- settings_editor.js
- Help PDF: Modes
- Help: Tab Preset Strip Image
- res_device.c
- vendor.sh
- app.js
- RMT Example Manifest
- Help Tab JS
- Settings Page Template
- led-driver/web/app.js
- led_strip_rmt_encoder.c
- dependencies
- List Search (JS)
- DMX Solid Pattern
- led-test Manifest
- VPN Autoconnect Script
- graphify Instructions
- usb_cfg.cpp
- LED controller web UI user guide
- bulk.sh Script
- deploy.sh Script
- Driver install.sh
- led-tool install.sh
- Help PDF Build Script
- Web Build Script
- Spec: Pattern Selector UI
- _simlink_web.py
- _simlink_proc.py
- WLAN
- NoCaseDict
- SimRing
- dependencies
- examples/blink.py
- README.md
God Nodes (most connected - your core abstractions)
cJSON- 241 edgescJSON_GetObjectItem()- 170 edgeshttpd_req_t- 146 edgescJSON_Delete()- 119 edgescJSON_CreateObject()- 116 edgescJSON_IsString()- 92 edgescJSON_AddStringToObject()- 86 edgesstore_coll()- 75 edgescJSON_AddItemToObject()- 53 edgesapi_json()- 53 edges
Surprising Connections (you probably didn't know these)
Preset editor modal--semantically_similar_to-->Preset fields (pattern, colors, delay, brightness, auto, n1-n6)[INFERRED] [semantically similar] web/templates/index.html → led-driver/docs/API.mdChannel--references-->bridge_serial_set_channel()[INFERRED] bridge/README.md → main/bridge_serial.cBuild and run--references-->info()[INFERRED] desktop/README.md → tools/ota.pylog_task()--calls-->xQueueReceive()[INFERRED] main/bench.c → desktop/port/src/freertos.cHow it is built--references-->http_parser[INFERRED] desktop/README.md → desktop/third_party/http_parser/http_parser.h
Import Cycles
- None detected.
Hyperedges (group relationships)
- Audio page live endpoints — web_audio_status, web_audio_beats, web_audio_audio_wav, web_audio_time, web_audio_tap_ep [EXTRACTED 1.00]
- Beat latency measurement methods — docs_api_bench_endpoints, docs_bench_test_usb_latency, docs_bench_test_logic_analyzer, docs_bench_test_beat_lead [EXTRACTED 1.00]
- Combined brightness factors — docs_api_combined_brightness, docs_api_settings, docs_api_groups, docs_api_devices, docs_api_zones [EXTRACTED 1.00]
- Color picker feature set — docs_mockups_images_color_picker_demo_hsb_color_model, docs_mockups_images_color_picker_demo_hex_rgb_input, docs_mockups_images_color_picker_demo_keyboard_accessibility, docs_mockups_images_color_picker_demo_cross_platform_consistency [EXTRACTED 1.00]
- Edit-mode-only management features — docs_help_edit_mode, docs_help_zones_modal, docs_help_send_presets, docs_help_patterns_dialog, docs_help_colour_palette, docs_help_presets_list [EXTRACTED 1.00]
- Preset editor actions (Try, Default, Save & Send, Remove from zone) — docs_help_try_action, docs_help_default_preset, docs_help_save_and_send, docs_help_remove_from_zone [EXTRACTED 1.00]
- Header actions aggregated in mobile Menu — docs_images_help_mobile_menu_run_mode, docs_images_help_mobile_menu_profiles, docs_images_help_mobile_menu_tabs, docs_images_help_mobile_menu_presets, docs_images_help_mobile_menu_help [EXTRACTED 1.00]
- Device/Group Modal Flow — docs_mockups_device_management_showadddevicemodal, docs_mockups_device_management_showaddgroupmodal, docs_mockups_device_management_closemodal, docs_mockups_device_management_savedevice [EXTRACTED 1.00]
- LED Driver UI Mockup Set — docs_mockups_images_index_dashboard_mockup, docs_mockups_images_index_pattern_selector_mockup, docs_mockups_images_index_device_management_mockup, docs_mockups_images_index_settings_mockup, docs_mockups_images_index_presets_mockup [EXTRACTED 1.00]
- Selectable LED Patterns — docs_mockups_images_pattern_selector_on, docs_mockups_images_pattern_selector_off, docs_mockups_images_pattern_selector_blink, docs_mockups_images_pattern_selector_chase, docs_mockups_images_pattern_selector_circle, docs_mockups_images_pattern_selector_pulse, docs_mockups_images_pattern_selector_rainbow, docs_mockups_images_pattern_selector_transition [EXTRACTED 1.00]
- Preset/pattern configuration schema (pattern, colors, delay, step increment, N1-N8) — docs_mockups_presets_led_patterns, docs_mockups_presets_delay, docs_mockups_presets_step_increment, docs_mockups_presets_n_parameters, docs_mockups_presets_step_offset [EXTRACTED 1.00]
- Device settings sections — docs_mockups_settings_basic_settings, docs_mockups_settings_pattern_settings, docs_mockups_settings_advanced_settings, docs_mockups_settings_network_settings [EXTRACTED 1.00]
- LED Driver UI Mockup Suite — docs_mockups_index, docs_mockups_dashboard, docs_mockups_pattern_selector, docs_mockups_device_management, docs_mockups_readme_settings_mockup, docs_mockups_color_picker_readme_presets_mockup [EXTRACTED 1.00]
- Pi-to-ESP32 Command Paths — docs_specification_serial_espnow_bridge, docs_specification_wifi_driver_tcp, docs_specification_espnow, docs_specification_pi_controller [EXTRACTED 1.00]
- led_strip backend choice (RMT vs SPI, DMA) — scripts_led_test_managed_components_espressif__led_strip_readme_rmt_backend, scripts_led_test_managed_components_espressif__led_strip_readme_spi_backend, scripts_led_test_managed_components_espressif__led_strip_readme_dma_support, scripts_led_test_managed_components_espressif__led_strip_readme_backend_selection_flowchart [EXTRACTED 1.00]
- led_strip pixel write and flush flow — scripts_led_test_managed_components_espressif__led_strip_api_led_strip_set_pixel, scripts_led_test_managed_components_espressif__led_strip_api_led_strip_set_pixel_hsv, scripts_led_test_managed_components_espressif__led_strip_api_led_strip_set_pixel_rgbw, scripts_led_test_managed_components_espressif__led_strip_api_led_strip_refresh, scripts_led_test_managed_components_espressif__led_strip_api_led_strip_clear [EXTRACTED 1.00]
- Dynamic pattern contract — led_driver_docs_pattern_contract_class_shape, led_driver_docs_pattern_contract_run_generator_rules, led_driver_docs_pattern_contract_drawing_brightness, led_driver_docs_pattern_contract_step_semantics, led_driver_docs_pattern_contract_error_handling [EXTRACTED 1.00]
- Pi Animation Engine Output Pipeline — docs_specification_pixel_generator, docs_specification_output_drivers, docs_specification_output_record, docs_specification_zone_playback, docs_specification_sequencer [EXTRACTED 1.00]
- Beat-Driven Scene Activation — docs_specification_beat_detection_device, docs_specification_bpm_sync, docs_specification_beat_counter_phases, docs_specification_scene_queue [INFERRED 0.85]
- Fields defining an LED preset (name, pattern, colours, parameters) — docs_images_help_preset_editor_preset_name_field, docs_images_help_preset_editor_pattern_selector, docs_images_help_preset_editor_palette_linked_colour, docs_images_help_preset_editor_preset_parameters [INFERRED 0.85]
- Pattern settings composed and applied to devices — docs_mockups_images_dashboard_pattern_selection, docs_mockups_images_dashboard_brightness_speed, docs_mockups_images_dashboard_colors, docs_mockups_images_dashboard_apply_settings [INFERRED 0.85]
- Preset lifecycle actions (create, apply, sync) — docs_mockups_images_presets_create_preset, docs_mockups_images_presets_apply_preset, docs_mockups_images_presets_sync_presets_to_all_devices [INFERRED 0.85]
- ESP-NOW driver delivery layers — docs_api_binary_envelope, docs_api_delivery_digest, docs_bench_test_reliable_link, docs_bench_test_beat_double_send [INFERRED 0.85]
- v1 message handling on driver — led_driver_docs_api_v1_message, led_driver_docs_patterns_process_data_flow, led_driver_docs_patterns_pattern_registry, led_driver_docs_patterns_preset_short_keys, led_driver_docs_api_select_message [INFERRED 0.85]
Communities (196 total, 65 thin omitted)
Community 0 - "IdfDevice"
Cohesion: 0.09 Nodes (8): _hex_rgb(), _idf_post(), _idf_show(), _preset_content(), print_settings(), run_idf(), IdfDevice, probe()
Community 1 - "htmx Library"
Cohesion: 0.08 Nodes (101): a(), Ae(), an(), at(), B(), be(), bn(), bt() (+93 more)
Community 3 - "Browser Tests & Mockup Images"
Cohesion: 0.06 Nodes (17): generate_image(), generate_with_html2image(), generate_with_playwright(), generate_with_selenium(), main(), browser(), _browser_sleep(), BrowserTest (+9 more)
Community 4 - "Audio UI (JS)"
Cohesion: 0.11 Nodes (58): applyAudioStatus(), applyServerAudioUiFields(), audioRunPreferredDeviceId(), beatSyncButtonTitle(), bind(), clampLiveBpm(), clampSimulatedBpm(), clearBeatPhaseTimers() (+50 more)
Community 5 - "cJSON.c"
Cohesion: 0.07 Nodes (63): add_item_to_array(), add_item_to_object(), buffer_skip_whitespace(), case_insensitive_strcmp(), cast_away_const(), cJSON_AddItemReferenceToArray(), cJSON_AddItemToObjectCS(), cJSON_AddRawToObject() (+55 more)
Community 6 - "bench.c"
Cohesion: 0.13 Nodes (15): bench_on_beat_tx(), bench_running(), bench_start(), bench_stop(), gen_cb(), gpio_mark(), log_task(), espnow_tx_beat() (+7 more)
Community 7 - "led-tool Device CLI"
Cohesion: 0.07 Nodes (16): download_presets(), download_settings(), _get_ordered_actions(), main(), resolve_flash_binary(), upload_presets(), upload_settings(), copy_file() (+8 more)
Community 8 - "ab"
Cohesion: 0.11 Nodes (86): chase_draw(), ease_t(), first_call(), fx_aurora(), fx_bar_graph(), fx_blink(), fx_blizzard(), fx_candle_glow() (+78 more)
Community 9 - "Compiler"
Cohesion: 0.07 Nodes (5): Template, Loader, Loader, Compiler, Loader
Community 10 - "Spec: Pi Animation Engine"
Cohesion: 0.07 Nodes (46): Pi Animation Engine (src/engine), docs/API.md, Beat Counter and Phases, Beat Detection Device, Binary Message Protocol, BPM Sync, Dashboard UI (dashboard.html), usqlite Database Schema (presets, profiles, scenes, scene_groups) (+38 more)
Community 11 - "espnow_link.cpp"
Cohesion: 0.08 Nodes (36): esp_random(), beat_on_frame(), beat_period_ms(), Asm, buf, cnt, asm_find(), flags (+28 more)
Community 12 - "Presets UI (JS)"
Cohesion: 0.09 Nodes (42): arrayToGrid(), coerceManualBeatN(), coercePresetAuto(), coercePresetBackground(), coercePresetInt(), createPresetButton(), deviceNamesForPresetOnCurrentZone(), editPresetFromTab() (+34 more)
Community 13 - "Zones UI (JS)"
Cohesion: 0.10 Nodes (42): applyBrightnessSliders(), applyZoneContentKindEditModal(), clamp255(), computeZoneNamesTargets(), computeZonePresetUnionTargets(), computeZoneTargets(), createZone(), effectiveGroupIdsForZonePreset() (+34 more)
Community 14 - "web.cpp"
Cohesion: 0.04 Nodes (38): drop_unicast_peers(), ensure_peer(), handle_frame(), host_rx_task(), log_hook(), on_recv(), on_sent(), put_u32() (+30 more)
Community 15 - "new_id"
Cohesion: 0.08 Nodes (13): new_id(), test_preset_round_trip(), test_profile_round_trip(), test_sequence_round_trip(), test_play_needs_steps(), test_play_needs_zone(), test_scoped_to_profile(), test_clone() (+5 more)
Community 16 - "Sequences UI (JS)"
Cohesion: 0.08 Nodes (55): addSeqTarget(), addSequenceToTab(), addTargetsPerDriver(), appendZoneSequenceTiles(), applySequenceEditorMode(), applySequenceKindUi(), applySequenceSwitchWaitFromServer(), buildLaneGroupIdsForEditor() (+47 more)
Community 17 - "layout.py"
Cohesion: 0.27 Nodes (6): normalise_layout(), _reversed_for_column(), side_name(), strip_count(), strip_places(), StripPlace
Community 18 - "main/main.c"
Cohesion: 0.08 Nodes (8): cJSON_Hooks, dhcp_settled(), link_up_task(), mount(), esp_vfs_littlefs_register(), mic_get_level(), mic_start(), mic_stream_open()
Community 19 - "led_strip Component Docs"
Cohesion: 0.10 Nodes (36): led_test ESP-IDF project, led_test main component (main.c), led_strip API Reference, led_model_t (WS2812/SK6812), led_pixel_format_t (GRB/GRBW), led_strip_clear(), led_strip_config_t, led_strip_del() (+28 more)
Community 20 - "Art-Net Output"
Cohesion: 0.09 Nodes (10): ArtNet, as_channels(), build_artdmx(), _ip_bytes(), _pad(), port_lo(), ticks_diff(), ticks_ms() (+2 more)
Community 21 - "freertos.c"
Cohesion: 0.06 Nodes (48): rx_task(), make_deadline(), queue_send(), sem_give(), sem_new(), sem_take(), uxQueueMessagesWaiting(), vEventGroupDelete() (+40 more)
Community 22 - "cJSON_GetObjectItem"
Cohesion: 0.17 Nodes (32): cJSON_CreateNull(), cJSON_Duplicate(), cJSON_GetObjectItem(), api_id(), api_set(), api_settings_defaults(), add_ref(), export_profile() (+24 more)
Community 23 - "cJSON_IsString"
Cohesion: 0.06 Nodes (116): cJSON, child, cJSON_DeleteItemFromArray(), cJSON_DetachItemFromArray(), cJSON_DetachItemFromObject(), cJSON_DetachItemViaPointer(), cJSON_GetArrayItem(), cJSON_GetArraySize() (+108 more)
Community 24 - "web.cpp"
Cohesion: 0.09 Nodes (84): cJSON_AddArrayToObject(), cJSON_AddBoolToObject(), cJSON_AddFalseToObject(), cJSON_AddItemToArray(), cJSON_AddItemToObject(), cJSON_AddNullToObject(), cJSON_AddNumberToObject(), cJSON_AddObjectToObject() (+76 more)
Community 27 - "seqplay.c"
Cohesion: 0.09 Nodes (62): cJSON_IsFalse(), api_register(), engine_zone_targets(), on_announce(), espnow_tx_set_mic_beats(), add_id(), advance_time(), anchor_bar() (+54 more)
Community 28 - "Devices UI (JS)"
Cohesion: 0.10 Nodes (32): applyEspnowPingAggregateToDots(), applyEspnowPingToDeviceRows(), applyTcpSnapshot(), applyTransportVisibility(), collectDeviceEditPayload(), createDeviceFromModal(), createDeviceIdentifyButton(), DEVICE_DOT_CLASSES (+24 more)
Community 29 - "binary_envelope.py"
Cohesion: 0.15 Nodes (18): brightness_0_255_from_wire(), brightness_wire_from_0_255(), _clamp_i16(), _colors_to_rgb_list(), _decode_default_blob(), _decode_preset_record(), _decode_presets_blob(), _decode_select_blob() (+10 more)
Community 30 - "Colour Picker Mockups"
Cohesion: 0.11 Nodes (25): Chromium-style Color Picker Demo, ColorPickerChromium Component, updateColors() (Chromium demo), Custom Color Picker Demo, updateColors() (standard demo), Custom Colour Picker README, POST /api/colors (example), ColorPicker Component (+17 more)
Community 32 - "groups_route"
Cohesion: 0.21 Nodes (20): cJSON_CreateArray(), cJSON_CreateDoubleArray(), cJSON_CreateFloatArray(), cJSON_CreateIntArray(), cJSON_CreateNumber(), cJSON_CreateStringArray(), suffix_object(), rgb_json() (+12 more)
Community 33 - "httpd_parse.c"
Cohesion: 0.06 Nodes (55): cb_header_field(), cb_header_value(), cb_headers_complete(), cb_no_body(), cb_on_body(), cb_url(), continue_parsing(), httpd_cookie_key_value() (+47 more)
Community 34 - "test_sequences.py"
Cohesion: 0.19 Nodes (19): clock(), make(), presets(), test_animation_over_sequence_keeps_time(), test_animation_plays_once_alone(), test_animation_step_fires_overlay(), test_beat_and_time_lanes_together(), test_chase_moves_and_bounces() (+11 more)
Community 35 - "microdot.py"
Cohesion: 0.10 Nodes (5): invoke_handler(), iscoroutine(), Response, aclose(), anext()
Community 36 - "API Docs: Outputs & Audio"
Cohesion: 0.18 Nodes (19): Controller WebSocket /ws (v1 presets/select), Binary envelope (main/envelope.c, test/binary_envelope.py), Profile/preset/sequence JSON bundles (import/export), /db collection export and replace, Devices resource /devices, Driver group membership lists (group ids, z), Device groups resource /groups, LED Controller HTTP/JSON API (+11 more)
Community 37 - "store_init"
Cohesion: 0.67 Nodes (4): cJSON_InitHooks(), db_root(), load_file(), store_init()
Community 38 - "socket"
Cohesion: 0.20 Nodes (6): discover(), _expand(), _ip(), local_subnet(), ota_drivers(), parse_targets()
Community 39 - "Beat Detection DSP (C)"
Cohesion: 0.27 Nodes (16): beat_feed(), analyse_beat(), bar_cue(), bar_decide(), beat_dsp_feed(), beat_dsp_init(), beat_dsp_tap(), best_phase() (+8 more)
Community 40 - "test_presets.py"
Cohesion: 0.13 Nodes (4): preset(), test_create_belongs_to_current_profile(), test_create_fills_defaults(), test_presets_scoped_to_profile()
Community 41 - "esp_http_server.h"
Cohesion: 0.06 Nodes (30): esp_http_server_event_data, http_method, httpd_close_func_t, httpd_err_code_t, httpd_method_t, httpd_open_func_t, httpd_resp_send_404(), httpd_resp_send_408() (+22 more)
Community 42 - "run_all"
Cohesion: 0.13 Nodes (12): dim(), expected(), frame(), frame_sum(), mismatch_detail(), packet(), read_serial(), run_all() (+4 more)
Community 43 - "outputs.c"
Cohesion: 0.19 Nodes (16): fail(), fill(), one_of(), put16(), resolve(), run_test(), send_artnet(), send_ddp() (+8 more)
Community 44 - "move_bars.py"
Cohesion: 0.39 Nodes (4): call(), main(), switch(), wifi_state()
Community 45 - "http_parser.h"
Cohesion: 0.05 Nodes (42): flags, F_CHUNKED, F_CONNECTION_CLOSE, F_CONNECTION_KEEP_ALIVE, F_CONNECTION_UPGRADE, F_CONTENTLENGTH, F_SKIPBODY, F_TRAILING (+34 more)
Community 46 - "BridgeSim"
Cohesion: 0.14 Nodes (4): BridgeSim, mac_str(), _read_json(), Strip
Community 47 - "USB Latency Tools"
Cohesion: 0.12 Nodes (13): discover(), local_subnet(), main(), analyze(), edges(), main(), pct(), read() (+5 more)
Community 50 - "WS2812"
Cohesion: 0.08 Nodes (13): new_ws2812_encoder(), rmt_del_ws2812_encoder(), rmt_encode_ws2812(), rmt_ws2812_encoder_reset(), rmt_ws2812_encoder_t, WS2812, channel_, encoder_ (+5 more)
Community 52 - "Transport"
Cohesion: 0.23 Nodes (3): _convert_filesystem_error(), stdout_write_bytes(), Transport
Community 53 - "mpremote Transport"
Cohesion: 0.12 Nodes (20): Presets Mockup Page, addColorPicker() / initializeColorPickers(), ColorPicker component (color-picker.js / color-picker.css), Preset Delay (animation speed, 10-1000 ms), ESPNow preset distribution, filterPresets() / sortPresets() search, filter and sort, LED Patterns (on, off, blink, chase, circle, pulse, rainbow, transition), Pattern Parameters N1-N8 (+12 more)
Community 54 - "web.c"
Cohesion: 0.15 Nodes (24): esp_err_to_name(), httpd_register_uri_handler(), ota_register(), add_uri(), web_start(), audio_api_register(), audio_register(), start_webserver() (+16 more)
Community 57 - "httpd_config"
Cohesion: 0.06 Nodes (30): httpd_config, backlog_conn, close_fn, core_id, ctrl_port, enable_so_linger, global_transport_ctx, global_transport_ctx_free_fn (+22 more)
Community 60 - "mpremote Serial Transport"
Cohesion: 0.14 Nodes (3): SerialIntercept, SerialTransport, TransportError
Community 61 - "API Test Fixtures & Audio"
Cohesion: 0.16 Nodes (5): base_url(), c(), Client, profile(), restore_db()
Community 62 - "Microdot Request (dmx)"
Cohesion: 0.15 Nodes (4): Request, G, urldecode_bytes(), urldecode_str()
Community 63 - "Help: Zones & Palette"
Cohesion: 0.13 Nodes (18): Colour Palette (per profile), Zone default preset (default hint), DJ zone starter option, From Palette linked colours, LED driver JSON (presets, select, save, default, manifest), Patterns dialog, POST /presets/send, Preset editor (Try, Save, Send, Manual) (+10 more)
Community 64 - "ddp_test.py"
Cohesion: 0.08 Nodes (23): hsv(), rig_mid(), rig_rows(), rig_xy(), soak_rig_bounce(), soak_rig_checker(), soak_rig_columns(), soak_rig_converge() (+15 more)
Community 66 - "esp_timer_get_time"
Cohesion: 0.05 Nodes (55): httpd_os_thread_sleep(), esp_rom_delay_us(), vTaskDelay(), beat_get_info(), beat_set_callback(), beat_tap(), bench_on_echo(), bridge_active() (+47 more)
Community 67 - "os"
Cohesion: 0.08 Nodes (4): mpremote_base(), main(), boot(), TransportExecError
Community 68 - "build_app"
Cohesion: 0.22 Nodes (5): build_app(), api_seed_layout(), index(), static(), web()
Community 69 - "httpd_handle_t"
Cohesion: 0.07 Nodes (43): httpd_free_ctx_fn_t, httpd_handle_t, httpd_pending_func_t, httpd_recv_func_t, httpd_send_func_t, httpd_recv_opt_t, sock_db, ctx (+35 more)
Community 70 - "Index Page Modals"
Cohesion: 0.11 Nodes (19): Audio Beat Detection modal, Header BPM / beat sync indicator, Colour Palette modal, Devices modal, Edit device modal, Edit Zone modal, Device groups modal, Header global brightness slider (+11 more)
Community 71 - "httpd_main.c"
Cohesion: 0.06 Nodes (44): httpd_os_thread_delete(), vSemaphoreDelete(), httpd_config_t, httpd_req, httpd_session_enum_function, thread_data, handle, status (+36 more)
Community 72 - "httpd_data"
Cohesion: 0.11 Nodes (18): esp_http_server_event_id_t, httpd_err_handler_func_t, httpd_data, config, ctrl_fd, ctrl_sock_semaphore, err_handler_fns, hd_calls (+10 more)
Community 74 - "create_app"
Cohesion: 0.12 Nodes (6): create_app(), serial_ports(), ws_handler(), list_serial_ports(), main(), output_tick()
Community 75 - "esp_glue.c"
Cohesion: 0.07 Nodes (26): app_main(), load_channel(), esp_event_loop_create_default(), esp_event_post(), esp_get_free_heap_size(), esp_get_minimum_free_heap_size(), esp_log_level_set(), esp_log_set_vprintf() (+18 more)
Community 76 - "Controller Overview & OTA Docs"
Cohesion: 0.20 Nodes (11): led_controller ESP-IDF project, Driver app update /drivers/ota (staged files, sha, commit/abort), Firmware OTA /ota (idle slot, rollback), Driver app update over ESP-NOW test (tools/driver_ota.py), led-tool / led-cli serial device CLI, led-cli --ota controller update over Ethernet, driver settings.json (mpremote download/merge/upload), main ESP-IDF component (firmware sources) (+3 more)
Community 77 - "bridge_main.c"
Cohesion: 0.15 Nodes (11): bridge_crc16_update(), bridge_decode_feed(), bridge_encode(), bridge_serial_send(), bridge_serial_set_channel(), bridge_serial_start(), get_u32(), handle_frame() (+3 more)
Community 79 - "Audio Monitor Page"
Cohesion: 0.16 Nodes (16): /audio.wav live PCM stream, bar() bar-position renderer, /beats SSE event stream, draw() timeline canvas, Listen button (WAV stream playback via AudioContext), median(), Audio and beats page (/audio), stats() tap vs computer agreement (+8 more)
Community 80 - "Art-Net DMX Tests"
Cohesion: 0.26 Nodes (9): parse(), _assert_eq(), main(), test_artnet_send_loopback(), test_build_artdmx(), test_fixture_patch(), test_pattern_blink_and_select(), test_pattern_upload() (+1 more)
Community 82 - "events"
Cohesion: 0.09 Nodes (21): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+13 more)
Community 83 - "httpd_req_t"
Cohesion: 0.09 Nodes (41): esp_app_get_description(), esp_restart(), httpd_resp_sendstr(), httpd_req_async_handler_begin(), httpd_req_async_handler_complete(), httpd_req_recv(), httpd_resp_send(), httpd_resp_send_chunk() (+33 more)
Community 84 - "unique"
Cohesion: 0.06 Nodes (15): find_id_by_field(), missing(), unique(), test_scenes(), device(), group(), test_crud(), test_group_identify_needs_devices() (+7 more)
Community 85 - "ESP-NOW Sender Bridge"
Cohesion: 0.20 Nodes (10): ap(), _broadcast_ws(), _espnow_receive_loop(), _init_espnow(), main(), _send_espnow(), _validate_envelope(), ws() (+2 more)
Community 86 - "ctrl_msg.cpp"
Cohesion: 0.05 Nodes (60): apply_device_config(), apply_presets(), clear_all_presets(), cstr(), ctrl_build_announce(), ctrl_handle(), ctrl_init(), expand_v1() (+52 more)
Community 89 - "Rig"
Cohesion: 0.10 Nodes (10): lan_ip(), bridge_downlink(), driver_mac(), lan_ip(), load_config(), mac_str(), main(), _merge() (+2 more)
Community 90 - "Sender"
Cohesion: 0.09 Nodes (10): get(), output_scale(), run_interactive(), handle(), show_menu(), run_soak(), sample(), send_sync() (+2 more)
Community 92 - "Bench Test Plan"
Cohesion: 0.23 Nodes (9): Bench endpoints /test/loss and /test/beats, 30 ms beat lead (CONFIG_BEAT_LEAD_MS), Bench test: S3 controller and one LED driver, ESP32-C3 vs S3 driver comparison, Logic analyzer latency (marker GPIO, tools/analyze_edges.py), Lossy-link test (simulated loss, retries, resync), Reliable link (rel: acked unicast, retransmits, ack timeouts), Bench troubleshooting (serial ports, channel mismatch, blank UI) (+1 more)
Community 93 - "events"
Cohesion: 0.09 Nodes (21): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+13 more)
Community 94 - "api_call_t"
Cohesion: 0.33 Nodes (5): api_call_t, cap, done, msg, out
Community 95 - "Microdot Auth (dmx)"
Cohesion: 0.19 Nodes (6): wraps(), print_exception(), websocket_upgrade(), websocket_wrapper(), wrapper(), with_websocket()
Community 96 - "Serial DMX & WiFi"
Cohesion: 0.28 Nodes (3): sleep_ms(), SerialDMX, sleep()
Community 98 - "DMX Preset Model"
Cohesion: 0.13 Nodes (8): _expand(), _preset_from_map(), process_data(), _select_entries(), _targets_for_key(), play(), _parse_colour(), Preset
Community 99 - "esp_err.h"
Cohesion: 0.04 Nodes (49): main(), set_from_env(), usage(), heap_caps_calloc(), heap_caps_malloc(), be16(), be32(), ddp_set_enabled() (+41 more)
Community 100 - "patterns.cpp"
Cohesion: 0.07 Nodes (49): usb_send_frame(), xSemaphoreGive(), xSemaphoreTake(), clamp_leds(), ddp_show(), frame_alloc(), fx_fn, now_ms() (+41 more)
Community 101 - "Groups UI (JS)"
Cohesion: 0.29 Nodes (9): fetchDevicesMapForGroups(), fetchGroupsMap(), identifyGroupById(), loadGroupsModal(), loadWifiFieldsFromGroup(), openEditGroupModal(), renderGroupDevicesEditor(), renderGroupsList() (+1 more)
Community 102 - "httpd_req_aux"
Cohesion: 0.11 Nodes (18): httpd_req_aux, content_type, first_chunk_sent, max_req_hdr_len, max_uri_len, remaining_len, req_hdrs_count, resp_hdrs (+10 more)
Community 103 - "Help: Mobile Menu Image"
Cohesion: 0.24 Nodes (10): Mobile Menu Help Illustration (narrow screen), Content Area (preset buttons), Menu Dropdown (Run mode, Profiles, Tabs, Presets, Help), Header Tab Buttons, Help, Menu Button (header dropdown trigger), Presets, Profiles (+2 more)
Community 104 - "Pattern Selector Mockup Image"
Cohesion: 0.20 Nodes (11): Pattern Selector Mockup (Select LED Pattern), Apply Pattern / Cancel Actions, Blink Pattern, Chase Pattern, Circle Pattern, Off Pattern, On Pattern (solid color), Pattern Card Grid Layout (+3 more)
Community 105 - "Driver Pattern Docs"
Cohesion: 0.24 Nodes (11): Message processing order (version, presets upsert, colour, selection), Auto vs manual (a) and manual chase flush, Built-in off / on patterns, Patterns and presets on the LED driver, MAX_PRESETS = 32, Pattern OTA via manifest / POST /patterns/upload, Pattern registry (Presets.reload_patterns), Preset short keys (p, c, d, b, a, bg, n1-n6) (+3 more)
Community 106 - "led-controller ESP32-S3 firmware"
Cohesion: 0.13 Nodes (12): Build and flash, Channel, Protocol, Running the controller against it, USB ESP-NOW bridge, Build and run, How it is built, Install as a service (.deb) (+4 more)
Community 107 - "main"
Cohesion: 0.18 Nodes (8): find_devices(), probe(), sweep(), load_rig(), local_prefix(), main(), neighbours(), set_fps()
Community 108 - "LedSimulatorApp"
Cohesion: 0.13 Nodes (3): _hex(), LedSimulatorApp, main()
Community 109 - "Driver Message API Docs"
Cohesion: 0.38 Nodes (10): Auto vs manual mode, Beat (re-select same preset restarts generator), Hex colour conversion and colour-order reordering, LED Driver API (message format), Pattern-specific parameters (rainbow, pulse, transition, chase, circle), Preset fields (pattern, colors, delay, brightness, auto, n1-n6), Select message (device -> [preset, step]), Step synchronization (+2 more)
Community 111 - "led_strip Manifest"
Cohesion: 0.20 Nodes (9): dependencies, idf, description, repository, repository_info, commit_sha, path, url (+1 more)
Community 113 - "Outputs UI (JS)"
Cohesion: 0.33 Nodes (8): fetchOutputs(), loadOutputsModal(), openOutputEditor(), OUTPUT_PROTOCOL_LABELS, outputSummary(), renderOutputsList(), setOutputField(), syncOutputProtocolFields()
Community 114 - "DMX Driver Art-Net and serial gateway"
Cohesion: 0.28 Nodes (9): Art-Net output (UDP 6454), DMX Driver Art-Net and serial gateway, DMX fixture (output, start channel, role map; parcan/mover profiles), led-driver-style pattern engine (Preset object), POST /patterns/upload (led-driver parity), Serial DMX512 output (250000 8N2), Outputs (DDP, Art-Net, sACN, DMX serial pixel fixtures), Patterns resource /patterns (+1 more)
Community 115 - "Help PDF: Overview"
Cohesion: 0.25 Nodes (9): API.md, LED controller user guide, Main web UI (Raspberry Pi app), Pattern OTA install over HTTP (/patterns/ota, upload, driver, send), Pattern parameters n1-n8, README, Serial to ESP-NOW bridge transport, WebSocket /ws (+1 more)
Community 116 - "Mockups Index Image"
Cohesion: 0.31 Nodes (9): LED Driver UI Mockups Index (screenshot), Dashboard Mockup, Device Groups, Device Management Mockup, LED Patterns (On, Off, Blink, Chase, Circle, Pulse, Rainbow, Transition), N1-N8 Pattern Parameters, Pattern Selector Mockup, Presets Mockup (+1 more)
Community 117 - "bridge_sim.py"
Cohesion: 0.12 Nodes (11): driver_mac(), load_config(), main(), _merge(), sync_patterns(), rig_placements(), controller_url(), _get() (+3 more)
Community 118 - "Help: Header Toolbar Image"
Cohesion: 0.29 Nodes (8): Header Toolbar Help Image, Edit Mode Action Bar, Run/Edit Mode Toggle Button, Patterns Action, Presets Action, Profiles Action, Header Tab Buttons, Tabs Action
Community 119 - "Help: Preset Editor Image"
Cohesion: 0.29 Nodes (5): Default Action, Preset Pattern Selector, Preset Editor Modal (help illustration), Preset Name Field, Brightness, Delay and n1-n8 Parameters (0-255)
Community 120 - "Dashboard Mockup Image"
Cohesion: 0.32 Nodes (8): LED Driver Control Panel Dashboard Mockup, Apply Settings Action, Brightness & Speed Card (Brightness % and Delay ms sliders), Colors Card (color swatches palette, Add Color), Connected Devices Card (devices with group and online status), Device Groups, Pattern Selection Card (On, Off, Blink, Chase, Circle, Pulse, Rainbow, Transition), Save to Device Action
Community 121 - "Device Management Mockup Image"
Cohesion: 0.32 Nodes (8): + Add Device Button, Connected Devices List, Device Group, Device & Group Management Screen (mockup), Device Row Actions (edit, settings, stop), Online/Offline Status Badge, Devices / Groups Tab Switcher, LED Device (MAC, group, pattern)
Community 122 - "Presets Mockup Image"
Cohesion: 0.32 Nodes (8): Preset Management UI Mockup, Apply Preset Action, Create Preset Action, LED Pattern Types (Rainbow, Pulse, Chase, Circle, Blink, Transition), Preset Card (name, pattern badge, color swatches, delay, n1, apply/edit/delete), Preset Search/Filter/Sort Toolbar (pattern filter, sort by name, grid/list toggle), Preset Parameters (colors, delay ms, n1), Sync Presets to All Devices
Community 123 - "Pattern Contract"
Cohesion: 0.29 Nodes (6): Pattern Contract, Drawing via driver.n and apply_brightness, Pattern error handling (Presets.tick catches), Presets._load_dynamic_patterns(), Shared driver.step semantics, Global vs per-preset brightness
Community 124 - "httpd_ws.c"
Cohesion: 0.16 Nodes (23): desktop_base64_encode(), desktop_sha1(), rol(), sha1_block(), httpd_ws_frame_t, transfer_complete_cb, httpd_send(), httpd_ws_check_req() (+15 more)
Community 128 - "httpd_ctrl_data"
Cohesion: 0.22 Nodes (9): httpd_work_fn_t, httpd_ctrl_data, hc_msg, hc_work, hc_work_arg, httpd_ctrl_msg, HTTPD_CTRL_MAX, HTTPD_CTRL_SHUTDOWN (+1 more)
Community 129 - "Colour Picker Demo Image"
Cohesion: 0.33 Nodes (6): Custom Color Picker Demo (screenshot), Hex and RGB input support, HSB (Hue, Saturation, Brightness) color model, Keyboard accessible, customizable styling, Multiple Color Pickers for LED Patterns, Single Color Picker
Community 130 - "Settings Mockup Image"
Cohesion: 0.33 Nodes (7): Advanced Settings (Step Counter, Step Increment, Device ID, Debug Mode), Basic Settings (Device Name, LED Pin, Number of LEDs), Color Order Selector (RGB/RBG/GRB/GBR/BRG/BGR), Device Settings Page Mockup, Network Settings (Access Point Name, Password, Enable AP), Pattern Parameters N1-N6, Pattern Settings (Pattern, Brightness, Delay)
Community 131 - "sim_demo.py"
Cohesion: 0.26 Nodes (7): Api, main(), group(), preset(), sequence(), new_id(), rig_bars()
Community 135 - "httpd_req_t"
Cohesion: 0.09 Nodes (88): cJSON_AddItemReferenceToObject(), cJSON_CreateString(), cJSON_Delete(), cJSON_DeleteItemFromObject(), cJSON_Parse(), httpd_req_t, api_add(), api_body() (+80 more)
Community 137 - "time"
Cohesion: 0.08 Nodes (17): Blink, Pulse, _default_image(), _info(), ota_update(), sleep(), sleep_ms(), sleep_us() (+9 more)
Community 138 - "Help: Colour Palette Image"
Cohesion: 0.40 Nodes (6): Colour Palette modal mockup (help image), Add Swatch (+) Button, Colour Palette Modal, Palette Colour Swatches, Preset Editor 'From Palette', Profile (palette owner)
Community 139 - "httpd_req"
Cohesion: 0.20 Nodes (10): httpd_req, aux, content_len, free_ctx, handle, ignore_sess_ctx_changes, method, sess_ctx (+2 more)
Community 140 - "LED Driver README"
Cohesion: 0.47 Nodes (6): dev.py deploy/sync script, LED Driver README (MicroPython ESP32), Optional HTTP polling (http_poll.py), Wi-Fi TCP transport to Pi (port 8765), transport_type setting (wifi / espnow), UDP discovery (port 8766)
Community 142 - "SPI Example Manifest"
Cohesion: 0.33 Nodes (5): dependencies, espressif/led_strip, idf, override_path, version
Community 143 - "test_rig_sim.py"
Cohesion: 0.10 Nodes (28): all_dark(), col_of(), frames(), led_x(), lit(), mac(), make_preset(), need_sim() (+20 more)
Community 145 - "Help PDF: Modes"
Cohesion: 0.40 Nodes (4): Edit mode, Mobile layout Menu, Run mode, Zones modal
Community 146 - "Help: Tab Preset Strip Image"
Cohesion: 0.60 Nodes (5): Help image: Main area brightness and preset tiles, Edit Mode: drag tiles to reorder, Global Brightness Slider, Preset Tile (gradient swatch, click to select on tab devices), Tab (e.g. lounge)
Community 149 - "res_device.c"
Cohesion: 0.17 Nodes (28): cJSON_AddTrueToObject(), cJSON_IsNull(), setting_int(), api_effective_brightness(), api_identify_group(), clamp255(), device_brightness(), device_config_from() (+20 more)
Community 155 - "app.js"
Cohesion: 0.16 Nodes (35): addLog(), banner(), colourAt(), connectBridge(), deliver(), drawLabel(), drawPlaced(), drawStrip() (+27 more)
Community 156 - "RMT Example Manifest"
Cohesion: 0.40 Nodes (4): dependencies, espressif/led_strip, override_path, version
Community 157 - "Help Tab JS"
Cohesion: 0.36 Nodes (5): addStaticIpRow(), loadDeviceSettings(), loadNetworkStatus(), setApToggle(), switchSettingsTab()
Community 158 - "Settings Page Template"
Cohesion: 0.50 Nodes (4): Settings modal (device, network), loadEspnowChannel(), Device Settings page (ESP-NOW channel), wifi_channel setting (1-11)
Community 159 - "led-driver/web/app.js"
Cohesion: 0.10 Nodes (49): api(), applyMode(), attachDrag(), closeEditor(), closeSock(), deviceChoices(), direct(), discoverDevices() (+41 more)
Community 166 - "led_strip_rmt_encoder.c"
Cohesion: 0.22 Nodes (5): led_strip_encoder_config_t, rmt_del_led_strip_encoder(), rmt_encode_led_strip(), rmt_led_strip_encoder_reset(), rmt_new_led_strip_encoder()
Community 170 - "dependencies"
Cohesion: 0.16 Nodes (13): dependencies, espressif/cjson, espressif/mdns, espressif/w5500, joltwallet/littlefs, version, rules, version (+5 more)
Community 171 - "List Search (JS)"
Cohesion: 0.83 Nodes (3): applyListSearch(), initListSearch(), rowSearchText()
Community 177 - "usb_cfg.cpp"
Cohesion: 0.10 Nodes (16): esp_fill_random(), handle_line(), usb_cfg_task(), write_line(), ws_fast_call(), ws_slot_drop(), ws_slot_t, fd (+8 more)
Community 178 - "LED controller web UI user guide"
Cohesion: 0.36 Nodes (7): Audio API /api/audio and /audio page routes, Combined brightness (global x groups x device x zone), Sequence playback (lanes, beat advance, switching), Settings resource /settings, Run mode and Edit mode, Sequence sync button (S / BPM), LED controller web UI user guide
Community 201 - "_simlink_web.py"
Cohesion: 0.05 Nodes (13): ESPNow, NeoPixel, _check_flash(), on_feed(), push_pixels(), real_sleep(), recv(), recv_nowait() (+5 more)
Community 204 - "_simlink_proc.py"
Cohesion: 0.15 Nodes (5): connect(), on_feed(), push_pixels(), _reader(), _send_pixels()
Community 227 - "dependencies"
Cohesion: 0.33 Nodes (5): dependencies, espressif/cjson, espressif/mdns, version, version
Knowledge Gaps
- 289 isolated node(s):
next,prev,child,type,valuestring(+284 more) These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 1223 node(s) total have ≤1 connection when file, concept and rationale nodes are included.) - 65 thin communities (<3 nodes) omitted from report — run
graphify queryto explore isolated nodes.
Suggested Questions
Questions this graph is uniquely positioned to answer:
- Why does
BridgeSimconnectBridgeSimtomac_str,Microdot WebSocket (dmx),LedSimulatorApp,layout.py,bridge_sim.py,Microdot? High betweenness centrality (0.036) - this node is a cross-community bridge. - Are the 165 inferred relationships involving
cJSON_GetObjectItem()(e.g. withapply_default()andapply_device_config()) actually correct?cJSON_GetObjectItem()has 165 INFERRED edges - model-reasoned connections that need verification. - What connects
next,prev,childto the rest of the system? 289 weakly-connected nodes found - possible documentation gaps or missing edges. - Should
IdfDevicebe split into smaller, more focused modules? Cohesion score 0.09411764705882353 - nodes in this community are weakly interconnected. - Why does
led-controller ESP32-S3 firmwareconnectled-controller ESP32-S3 firmwaretoAPI Docs: Outputs & Audio,Controller Overview & OTA Docs,LED controller web UI user guide,DMX Driver Art-Net and serial gateway,Bench Test Plan? High betweenness centrality (0.024) - this node is a cross-community bridge. - Are the 94 inferred relationships involving
cJSON_Delete()(e.g. withctrl_handle()anddecode_presets()) actually correct?cJSON_Delete()has 94 INFERRED edges - model-reasoned connections that need verification. - Should
htmx Librarybe split into smaller, more focused modules? Cohesion score 0.07897684839432412 - nodes in this community are weakly interconnected.