feat: pattern gallery as a preset editor; chase steps; sim split with the preset editor

- Pattern gallery shows the controller's presets, one at a time, with a dropdown, Save, Add preset, and
  the controller's field labels, delay limits and colour counts. Edits show in the preview; Save writes to
  the controller only.
- Presets are always timed in ms (beat_time is no longer sent to drivers); beats stay in sequences.
- Chase steps of 0 hold still; the marquee style is removed from the controller, the gallery and the
  driver (submodule commit 12a8e22).
- The rig's split pane opens the preset editor too (Rig / Presets switch and a Preset editor menu entry).
- Sequence editor, room layout and simulator controls from earlier work are included.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
jimmyandClaude Haiku 5.5 committed 2026-11-17 07:16:51 +13:00
1 parent 8c783ab926
commit cb51a726bc
79 files changed
+5173 -924

No files matched your search

+1 -1
View File
@@ -1 +1 @@
{"on": {"min_delay": 10, "max_delay": 10000, "max_colors": 1}, "off": {"min_delay": 10, "max_delay": 10000, "max_colors": 0}, "rainbow": {"n1": "Step Rate", "min_delay": 10, "max_delay": 10000, "max_colors": 0}, "colour_cycle": {"n1": "Step Rate", "min_delay": 10, "max_delay": 10000, "max_colors": 10}, "transition": {"min_delay": 10, "max_delay": 10000, "max_colors": 10}, "chase": {"n1": "Colour 1 Length", "n2": "Colour 2 Length", "n3": "Step 1", "n4": "Step 2", "min_delay": 10, "max_delay": 10000, "max_colors": 2}, "pulse": {"n1": "Attack", "n2": "Hold", "n3": "Decay", "min_delay": 10, "max_delay": 10000, "max_colors": 10}, "circle": {"n1": "Head Rate", "n2": "Max Length", "n3": "Tail Rate", "n4": "Min Length", "min_delay": 10, "max_delay": 10000, "max_colors": 2}, "blink": {"min_delay": 10, "max_delay": 10000, "max_colors": 10}, "flicker": {"n1": "Min brightness", "min_delay": 10, "max_delay": 10000, "max_colors": 10}, "flame": {"n1": "Min brightness", "n2": "Breath period (ms)", "n3": "Spark gap min (ms, 0=default 10\u201330 s, -1=off)", "n4": "Spark gap max (ms)", "min_delay": 10, "max_delay": 10000, "max_colors": 10}, "twinkle": {"n1": "Twinkle activity (1\u2013255, higher = more changes)", "n2": "Density (0\u2013255, higher = more of the strip lit)", "n3": "Min adjacent LEDs per twinkle (same as max for fixed length)", "n4": "Max adjacent LEDs per twinkle (same as min for fixed length)", "min_delay": 84, "max_delay": 10000, "max_colors": 10}, "radiate": {"n1": "Node spacing (LEDs)", "n2": "Out time (ms)", "n3": "In time (ms)", "min_delay": 10, "max_delay": 10000, "max_colors": 2}, "meteor_rain": {"n1": "Tail length", "n2": "Speed (LEDs per frame)", "n3": "Fade amount (1-255)", "min_delay": 10, "max_delay": 10000, "max_colors": 10}, "scanner": {"n1": "Eye width", "n2": "End pause (frames)", "min_delay": 10, "max_delay": 10000, "max_colors": 10}, "gradient_scroll": {"n1": "Scroll step rate", "min_delay": 10, "max_delay": 10000, "max_colors": 10}, "comet_dual": {"n1": "Tail length", "n2": "Speed", "n3": "Gap", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "sparkle_trail": {"n1": "Spark density", "n2": "Decay", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "wave": {"n1": "Wavelength", "n2": "Amplitude", "n3": "Drift speed", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "plasma": {"n1": "Scale", "n2": "Speed", "n3": "Contrast", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "segment_chase": {"n1": "Segment size", "n2": "Phase step", "n3": "Segment phase offset", "n4": "Gap per segment", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "bar_graph": {"n1": "Level percent", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "breathing_dual": {"n1": "Phase offset", "n2": "Ease", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "strobe_burst": {"n1": "Burst count", "n2": "Burst gap", "n3": "Cooldown", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "rain_drops": {"n1": "Drop rate", "n2": "Ripple width", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "fireflies": {"n1": "Count", "n2": "Twinkle speed", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "clock_sweep": {"n1": "Hand width", "n2": "Marker interval", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "marquee": {"n1": "On length", "n2": "Off length", "n3": "Step", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "aurora": {"n1": "Band count", "n2": "Shimmer", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "snowfall": {"n1": "Flake density", "n2": "Fall speed", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "heartbeat": {"n1": "Pulse 1 ms", "n2": "Pulse 2 ms", "n3": "Pause ms", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "orbit": {"n1": "Orbit count", "n2": "Base speed", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "palette_morph": {"n1": "Morph ms", "n2": "Warp rate", "n3": "Turbulence", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "gradient_wipe": {"n1": "Start LED", "n2": "End LED", "min_delay": 10, "max_delay": 10000, "max_colors": 2}} {"on": {"min_delay": 10, "max_delay": 10000, "max_colors": 1}, "off": {"min_delay": 10, "max_delay": 10000, "max_colors": 0}, "rainbow": {"n1": "Step Rate", "min_delay": 10, "max_delay": 10000, "max_colors": 0}, "colour_cycle": {"n1": "Step Rate", "min_delay": 10, "max_delay": 10000, "max_colors": 10}, "transition": {"min_delay": 10, "max_delay": 10000, "max_colors": 10}, "chase": {"n1": "Colour 1 Length", "n2": "Colour 2 Length", "n3": "Step 1", "n4": "Step 2", "min_delay": 10, "max_delay": 10000, "max_colors": 2}, "pulse": {"n1": "Attack", "n2": "Hold", "n3": "Decay", "min_delay": 10, "max_delay": 10000, "max_colors": 10}, "circle": {"n1": "Head Rate", "n2": "Max Length", "n3": "Tail Rate", "n4": "Min Length", "min_delay": 10, "max_delay": 10000, "max_colors": 2}, "blink": {"min_delay": 10, "max_delay": 10000, "max_colors": 10}, "flicker": {"n1": "Min brightness", "min_delay": 10, "max_delay": 10000, "max_colors": 10}, "flame": {"n1": "Min brightness", "n2": "Breath period (ms)", "n3": "Spark gap min (ms, 0=default 10\u201330 s, -1=off)", "n4": "Spark gap max (ms)", "min_delay": 10, "max_delay": 10000, "max_colors": 10}, "twinkle": {"n1": "Twinkle activity (1\u2013255, higher = more changes)", "n2": "Density (0\u2013255, higher = more of the strip lit)", "n3": "Min adjacent LEDs per twinkle (same as max for fixed length)", "n4": "Max adjacent LEDs per twinkle (same as min for fixed length)", "min_delay": 84, "max_delay": 10000, "max_colors": 10}, "radiate": {"n1": "Node spacing (LEDs)", "n2": "Out time (ms)", "n3": "In time (ms)", "min_delay": 10, "max_delay": 10000, "max_colors": 2}, "meteor_rain": {"n1": "Tail length", "n2": "Speed (LEDs per frame)", "n3": "Fade amount (1-255)", "min_delay": 10, "max_delay": 10000, "max_colors": 10}, "scanner": {"n1": "Eye width", "n2": "End pause (frames)", "min_delay": 10, "max_delay": 10000, "max_colors": 10}, "gradient_scroll": {"n1": "Scroll step rate", "min_delay": 10, "max_delay": 10000, "max_colors": 10}, "comet_dual": {"n1": "Tail length", "n2": "Speed", "n3": "Gap", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "sparkle_trail": {"n1": "Spark density", "n2": "Decay", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "wave": {"n1": "Wavelength", "n2": "Amplitude", "n3": "Drift speed", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "plasma": {"n1": "Scale", "n2": "Speed", "n3": "Contrast", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "segment_chase": {"n1": "Segment size", "n2": "Phase step", "n3": "Segment phase offset", "n4": "Gap per segment", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "bar_graph": {"n1": "Level percent", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "breathing_dual": {"n1": "Phase offset", "n2": "Ease", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "strobe_burst": {"n1": "Burst count", "n2": "Burst gap", "n3": "Cooldown", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "rain_drops": {"n1": "Drop rate", "n2": "Ripple width", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "fireflies": {"n1": "Count", "n2": "Twinkle speed", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "clock_sweep": {"n1": "Hand width", "n2": "Marker interval", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "aurora": {"n1": "Band count", "n2": "Shimmer", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "snowfall": {"n1": "Flake density", "n2": "Fall speed", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "heartbeat": {"n1": "Pulse 1 ms", "n2": "Pulse 2 ms", "n3": "Pause ms", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "orbit": {"n1": "Orbit count", "n2": "Base speed", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "palette_morph": {"n1": "Morph ms", "n2": "Warp rate", "n3": "Turbulence", "max_colors": 10, "min_delay": 10, "max_delay": 10000}, "gradient_wipe": {"n1": "Start LED", "n2": "End LED", "min_delay": 10, "max_delay": 10000, "max_colors": 2}}
+3 -3
View File
@@ -98,7 +98,7 @@ A store with no profile gets one at boot, `default`, with the same seed, a start
## Presets — `/presets` ## Presets — `/presets`
A preset has `name`, `pattern`, `colors` (`#RRGGBB`), `brightness`, `delay`, `n1`–`n8`, `profile_id`, and optionally `auto`, `palette_refs` (palette index per colour slot), `background` / `background_palette_ref`, `mode` (sent as `n6`), `manual_beat_n`, `fade` (0–10000 ms: crossfade from what the strip showed when the preset is selected) and `beat_time` (`true`: the delay and timing parameters of patterns that support it count quarter beats, so the preset follows the tempo). New presets start with every field set and belong to the current profile. A preset has `name`, `pattern`, `colors` (`#RRGGBB`), `brightness`, `delay`, `n1`–`n8`, `profile_id`, and optionally `auto`, `palette_refs` (palette index per colour slot), `background` / `background_palette_ref`, `mode` (sent as `n6`), `manual_beat_n`, `fade` (0–10000 ms: crossfade from what the strip showed when the preset is selected). New presets start with every field set and belong to the current profile.
**Animation patterns** (driver patterns, labels in `/patterns`). Each plays once with `auto: false` and holds its end state; with `auto: true` it repeats. **Animation patterns** (driver patterns, labels in `/patterns`). Each plays once with `auto: false` and holds its end state; with `auto: true` it repeats.
- One-shots: `hit` (flash with attack, hold and decay), `keyframes` (ramp through the colours with easing). - One-shots: `hit` (flash with attack, hold and decay), `keyframes` (ramp through the colours with easing).
@@ -307,7 +307,7 @@ On connect the controller sends `{"type": "device_tcp_snapshot", "connected_ips"
The UI, `/presets/push`, `/ws` and the controller itself send drivers **v1 messages**: JSON objects with `"v": "1"`. The controller does not send them as they are: The UI, `/presets/push`, `/ws` and the controller itself send drivers **v1 messages**: JSON objects with `"v": "1"`. The controller does not send them as they are:
- **Binary envelope.** A message that only carries presets, a select, brightness, `save` and `groups` goes out as a compact binary envelope (`main/envelope.c`, mirrored by `test/binary_envelope.py`). - **Binary envelope.** A message that only carries presets, a select, brightness, `save` and `groups` goes out as a compact binary envelope (`main/envelope.c`, mirrored by `test/binary_envelope.py`).
- Version 2 is the usual frame. - Version 2 is the usual frame.
- A frame whose presets use `fade` or `beat_time` is version 3: each preset record is followed by `[ext_len][key, len, value]…`, with key 1 the fade ms (u16) and key 2 the beat timing (u8). - A frame whose presets use `fade` is version 3: each preset record is followed by `[ext_len][key, len, value]…`, with key 1 the fade ms (u16).
- Drivers skip keys they don't know. Drivers without v3 support ignore v3 frames, so they miss only presets that use the new fields. - Drivers skip keys they don't know. Drivers without v3 support ignore v3 frames, so they miss only presets that use the new fields.
- **JSON.** Any other message goes as JSON with short keys, split across several messages when it does not fit one ESP-NOW frame. A preset with a background colour (`bg`) is one of these: the envelope has no field for it. - **JSON.** Any other message goes as JSON with short keys, split across several messages when it does not fit one ESP-NOW frame. A preset with a background colour (`bg`) is one of these: the envelope has no field for it.
- **Delivery.** Broadcasts are never acked (envelopes go out twice, JSON once); drivers that miss a state change notice from the state digest and ask to be brought up to date. Messages with `targets` are unicast to each MAC, acked and retried. - **Delivery.** Broadcasts are never acked (envelopes go out twice, JSON once); drivers that miss a state change notice from the state digest and ask to be brought up to date. Messages with `targets` are unicast to each MAC, acked and retried.
@@ -327,7 +327,7 @@ The UI, `/presets/push`, `/ws` and the controller itself send drivers **v1 messa
| `manifest` | `mf` | Pattern files to fetch (Wi-Fi drivers) | | `manifest` | `mf` | Pattern files to fetch (Wi-Fi drivers) |
| `b` | | Driver brightness 0–255 | | `b` | | Driver brightness 0–255 |
Preset fields: `p`/`pattern`, `c`/`colors` (`#RRGGBB`), `d`/`delay` (ms, default 100), `b`/`brightness` (0–255), `a`/`auto` (`true` runs freely, `false` steps once per beat), `bg`/`background`, `n1`–`n6` (pattern parameters; `n5` is reverse, `n6` the style mode), `f`/`fade`, `tb`/`beat_time`. Other fields (`name`, `manual_beat_n`, …) are dropped on the way out. Preset fields: `p`/`pattern`, `c`/`colors` (`#RRGGBB`), `d`/`delay` (ms, default 100), `b`/`brightness` (0–255), `a`/`auto` (`true` runs freely, `false` steps once per beat), `bg`/`background`, `n1`–`n6` (pattern parameters; `n5` is reverse, `n6` the style mode), `f`/`fade`. Presets are always timed in ms; beats are for sequences only. Other fields (`name`, `manual_beat_n`, …) are dropped on the way out.
Sending `select` again with the same preset is a beat for that preset. Selecting `off` resets the step, so the next select starts every driver at step 0 unless a step is given. Sending `select` again with the same preset is a beat for that preset. Selecting `off` resets the step, so the next select starts every driver at step 0 unless a step is given.
+1 -1
View File
@@ -1 +1 @@
{"ambiguous_scale": "", "code_only": false, "epoch": "v0.9.101-s36-g1339418af9f9", "excludes": [], "follow_symlinks": false, "full_clean": true, "gitignore": true, "graph_mtime_ns": 1794811339600118161, "graph_size": 5230472, "html_present": true, "no_cluster": false, "rcfile": "", "scan_digest": "79c37028c2fa169bb543b5193bebcca5", "scan_root": "/home/jimmy/projects/led-controller", "viz_node_limit": ""} {"ambiguous_scale": "", "code_only": false, "epoch": "v0.9.101-s36-g1339418af9f9", "excludes": [], "follow_symlinks": false, "full_clean": true, "gitignore": true, "graph_mtime_ns": 1794852788981387906, "graph_size": 5471628, "html_present": true, "no_cluster": false, "rcfile": "", "scan_digest": "77e5fca01b7e50aad6db5f6e4f2e984f", "scan_root": "/home/jimmy/projects/led-controller", "viz_node_limit": ""}
+1 -1
View File
@@ -1 +1 @@
{"0": "a610cb28f17cef73", "1": "2d791c43bb8436ec", "2": "ab64084e0052dd1b", "3": "658093cbc50e95df", "4": "7221607390cbf8f4", "5": "0caf080acb9b12ad", "6": "3f9c3996c2f91db5", "7": "34a60639c151cbd0", "8": "e7e52a26e954e7ce", "9": "5e6bedc1d8578bcb", "10": "ba809033c2ac79db", "11": "b9c59179a805e08c", "12": "cd9a1302e31a16be", "13": "38e3459e42de82ae", "14": "bcfa2e42371062a2", "15": "987507c585e16779", "16": "72d4d367b9ad97c1", "17": "444af52da7f39ddd", "18": "788dd67c0eadbecd", "19": "36e64b70bd3252ce", "20": "99ea36f8912d0ef2", "21": "79b95ef97d4700b6", "22": "ac91cec01ae960b1", "23": "f7ca8d8b6d520255", "24": "72da39bdd677d2e3", "25": "e8bcfe2daf9c27fd", "26": "0f80ea7bac6c9039", "27": "ca58d22fd1a3a52e", "28": "f55b318ce2ea37bf", "29": "a5cce0735423723c", "30": "8c465f3df9b2ddbd", "31": "b63da06d6ca05666", "32": "2e019193c0752668", "33": "9e3c0904b9295e16", "34": "3f2d040dbfab55b5", "35": "d1338d70484cd202", "36": "8805aeaadbaf49db", "37": "5324b1a99e477354", "38": "c591525e41c1071e", "39": "7792fe6a1a4fe215", "40": "39587d48ffe96a80", "41": "580288986bf53a6a", "42": "067f85563e8e1396", "43": "acc6c6ff89611c78", "44": "e6c1fb3302d8fb30", "45": "2c79b28433cd154f", "46": "c50d11b133bca75b", "47": "03fe0a282acec9db", "48": "46b84e04c8a769a1", "49": "01bb51d3946bc98b", "50": "b3170fc929fe488b", "51": "c3eef28729a94247", "52": "67d25c32c7f1851b", "53": "141393a45638779c", "54": "eb990a4a2c50f47f", "55": "9eb7c4a955a855b1", "56": "973ac14a32bd0435", "57": "c3f83d1d8be07123", "58": "b717d60767a4742a", "59": "8c1a9a091f018510", "60": "765124b369d33874", "61": "4c61a5703d5fbbe7", "62": "50e29eb032567d0a", "63": "3f32204f50610f42", "64": "b099f2f64c3d1121", "65": "5fb4148e68247a46", "66": "cf4381058dc8dbaf", "67": "2b3f9ea62a033127", "68": "75ca3af022bf324d", "69": "453697bf22512b76", "70": "9affb95b7a8926f7", "71": "15cf09a689cf7a7c", "72": "0c38ccfbb84bf400", "73": "298efcf42a95f405", "74": "7b7f2ff17d5229fe", "75": "bf9874092cf0e2f3", "76": "7b12c859e68864eb", "77": "dfbbccb57587942f", "78": "74c26c47a62b8460", "79": "0aadcaffca2fec2f", "80": "b44b759b294e7fb1", "81": "2a44adbbdb7b2cc2", "82": "7d5560702e41f10c", "83": "43378dfcd2a5ace4", "84": "67b1f6a3ce0f587a", "85": "67e8988d64ef02c3", "86": "dc40e610bd3e823c", "87": "186dd13162172b05", "88": "281e8bde953022f8", "89": "58ef71533f93a12a", "90": "3b5110fc6f9cd20c", "91": "8726692dfc1a3d69", "92": "282caf1c21d981d6", "93": "c2ce778772ae9284", "94": "62f0da0903782d66", "95": "9dbeb95e43dc6aec", "96": "5a8fe84a8d552e25", "97": "b549e617825efc45", "98": "dc0fda9a9c5206f5", "99": "890a48fa62d5f714", "100": "8a68d6ebf88e07ea", "101": "e8c3d507c7523478", "102": "5e7048115c96c435", "103": "89850ee47c9ca738", "104": "6b44fd779534127a", "105": "98b16b4bcf978a30", "106": "226360a4a30bd9da", "107": "01172c7d40a936d1", "108": "c8fe8e2e7b64ebde", "109": "62dfdb23b2c54d82", "110": "97de49590108482c", "111": "66b50b0357357d62", "112": "9ff6b8e792b1dc12", "113": "66e63867ee9ac604", "114": "fab5dd214febb09b", "115": "f3b1e77b5ff745de", "116": "2d5d657b0cb526af", "117": "7c7cc5a2e3148119", "118": "4b507a629ac7f04f", "119": "c394c3d1e26256c8", "120": "8059a64174d9729b", "121": "b77edb57c9058871", "122": "9b758d47bd1a6c69", "123": "3757904e987193d1", "124": "2d9611dc684d6e89", "125": "9cdcf0ff0ef4424d", "126": "949c2677894108f8", "127": "682784ef7eb6ab79", "128": "24d10974d4bcceb3", "129": "93fc8b4ad7c9ca62", "130": "8363eed2536a6846", "131": "90abbabbadb7aacd", "132": "95ef3791087ae3cb", "133": "6a207a64f4155fbe", "134": "692d38c636992a64", "135": "d8f24f323e8fd32f", "136": "69e80d35078aa3e0", "137": "1b9acfc57c8d7103", "138": "513f0c5816361dda", "139": "fe6e422923b8d6ef", "140": "7f4e0effc09d9671", "141": "bb477038ab0c5e8e", "142": "01c470ad572a2a84", "143": "b99994435600ea12", "144": "a7a26633381cc935", "145": "8fc084b6564c04cd", "146": "cb4b693c8a2db3d0", "147": "b031133b75382475", "148": "73b79ac1f6ea0d0f", "149": "e5acc25cbe50f6f7", "150": "535ff56fa874156d", "151": "82887211cf2bedf5", "152": "d7b01ac313a993bf", "153": "a1afbf3a5362e984", "154": "7ab2338abe50e2d2", "155": "f1c77269c52723e7", "156": "f7b8f6a932f020e1", "157": "278ab211ccdf5147", "158": "1496a7273bd8cbf0", "159": "70c38a287cac17ff", "160": "1b3167ce48880094", "161": "d9b95efbe9a3ca0a", "162": "79347942af0064f9", "163": "ee9ad33fb556ea89", "164": "ff462f4575171eb0", "165": "5be380e898e13324", "166": "03cf19cd58994715", "167": "cd102d616d7e4f45", "169": "3d3f4c5f67647202", "170": "982c977c10761a5f", "171": "c8052f332c3d2369", "172": "ffa84e66ab7f2c83", "173": "9bcf4d1a57c0ba2a", "174": "6ca582b7df7276a1", "175": "de377ed03b71265f", "176": "1fb6d892ae8678c7", "177": "fe6abbd15dd79e37", "180": "5ae949a86bd02dd3", "181": "040c831fbc62df23", "182": "09fe188418c42b7a", "183": "90b339bb352b5f47", "184": "9bea138bf15aa79a", "185": "ced44d681e2ec183", "186": "ff963270b8878129", "187": "bb41b7312f4e3083", "188": "a08753a73e0ca7d5", "189": "0cadf82de76cac0c", "190": "f40e0095eef0a2a1", "191": "2427a73600db473c", "192"Line truncated {"0": "7ddde967c85a74dd", "1": "2d791c43bb8436ec", "2": "a0ad882139292772", "3": "658093cbc50e95df", "4": "7221607390cbf8f4", "5": "53bed3b902aeaf09", "6": "377e4690eb7abc3b", "7": "fbea6ce77bdcb384", "8": "a29e46ef109970d8", "9": "5e6bedc1d8578bcb", "10": "ba809033c2ac79db", "11": "7419ffadacdf57b8", "12": "cd9a1302e31a16be", "13": "38e3459e42de82ae", "14": "60df13d649036fc3", "15": "987507c585e16779", "16": "b15b5e0e94827484", "17": "44276cdeb2c57ca8", "18": "98bfb79d134df746", "19": "36e64b70bd3252ce", "20": "8fef51c59e728cbb", "21": "79417b3db9285c5f", "22": "7518a35539feccef", "23": "720e1e01eec3ed16", "24": "5be380e898e13324", "25": "e8bcfe2daf9c27fd", "26": "90bae824ea79028f", "27": "60d4130dc512a763", "28": "f55b318ce2ea37bf", "29": "a5cce0735423723c", "30": "8c465f3df9b2ddbd", "31": "b549e617825efc45", "32": "f224fd6fbe78db5d", "33": "6fe7c67801cdd5a4", "34": "3f2d040dbfab55b5", "35": "a14d0708edf5cc96", "36": "8805aeaadbaf49db", "37": "b8b4e9e248869a56", "38": "438001396563b41e", "39": "7792fe6a1a4fe215", "40": "62f69844d4ccac57", "41": "580288986bf53a6a", "42": "ca5f38fabb644c68", "43": "14981fee232ee1b1", "44": "3bbc0487d194ba65", "45": "2c79b28433cd154f", "46": "edb2375c9bcdb9ca", "47": "1f7c0ad209a36eac", "48": "46b84e04c8a769a1", "49": "01bb51d3946bc98b", "50": "85c59c730f100a0c", "51": "c3eef28729a94247", "52": "7f0ae479c3a92972", "53": "141393a45638779c", "54": "2dc1d21fc2f91849", "55": "5d90aa863eb2d01e", "56": "973ac14a32bd0435", "57": "c3f83d1d8be07123", "58": "dd7a131d52247436", "59": "f3939507a8747fd4", "60": "eed848f8ab8f4faf", "61": "4c61a5703d5fbbe7", "62": "50e29eb032567d0a", "63": "3f32204f50610f42", "64": "b099f2f64c3d1121", "65": "5fb4148e68247a46", "66": "532ad3472a4df52e", "67": "3fdafa86b7505714", "68": "76f90f2bb4aa9a2b", "69": "828a5cfa0e794467", "70": "9affb95b7a8926f7", "71": "9eb7c4a955a855b1", "72": "0c38ccfbb84bf400", "73": "298efcf42a95f405", "74": "5e03fb91ebebaa53", "75": "bf9874092cf0e2f3", "76": "7b12c859e68864eb", "77": "438164636ad313df", "78": "d74b0e46e7389c5e", "79": "0aadcaffca2fec2f", "80": "b44b759b294e7fb1", "81": "2a44adbbdb7b2cc2", "82": "7d5560702e41f10c", "83": "718dbc8782be42e9", "84": "183c430ad1fdb5b0", "85": "67e8988d64ef02c3", "86": "ec9f21b796ada889", "87": "186dd13162172b05", "88": "281e8bde953022f8", "89": "9c93a8727aded927", "90": "4bc03d14d36cb508", "91": "8726692dfc1a3d69", "92": "06a2f3c2a7747062", "93": "c2ce778772ae9284", "94": "bea4ea6194083930", "95": "9dbeb95e43dc6aec", "96": "0a665a794254f39e", "97": "8573d634f42fb552", "98": "7f4284e17bf23520", "99": "5b5d0b50c3a569ab", "100": "ab64084e0052dd1b", "101": "e8c3d507c7523478", "102": "5e7048115c96c435", "103": "89850ee47c9ca738", "104": "6b44fd779534127a", "105": "98b16b4bcf978a30", "106": "226360a4a30bd9da", "107": "01172c7d40a936d1", "108": "d288c73db3fb1ba7", "109": "62dfdb23b2c54d82", "110": "05419fa6a91533bf", "111": "66b50b0357357d62", "112": "2f26b4fa9c5772c4", "113": "66e63867ee9ac604", "114": "fab5dd214febb09b", "115": "f3b1e77b5ff745de", "116": "2d5d657b0cb526af", "117": "8a68d6ebf88e07ea", "118": "4b507a629ac7f04f", "119": "c394c3d1e26256c8", "120": "8059a64174d9729b", "121": "b77edb57c9058871", "122": "9b758d47bd1a6c69", "123": "3757904e987193d1", "124": "04af03e2aa6aad26", "125": "2ddcdcbf1fd3c99a", "126": "b8a685f8cbffb107", "127": "682784ef7eb6ab79", "128": "0d97fe007c3a0936", "129": "93fc8b4ad7c9ca62", "130": "8363eed2536a6846", "131": "24d10974d4bcceb3", "132": "95ef3791087ae3cb", "133": "198cf8c4d314f85d", "134": "692d38c636992a64", "135": "1ff181597dc9980c", "136": "ccf042fef1a23f3f", "137": "58ef71533f93a12a", "138": "513f0c5816361dda", "139": "618a5dbee8772a96", "140": "7f4e0effc09d9671", "141": "bb477038ab0c5e8e", "142": "01c470ad572a2a84", "143": "b99994435600ea12", "144": "a7a26633381cc935", "145": "8fc084b6564c04cd", "146": "cb4b693c8a2db3d0", "147": "b031133b75382475", "148": "73b79ac1f6ea0d0f", "149": "072ed17def3489be", "150": "535ff56fa874156d", "151": "82887211cf2bedf5", "152": "d7b01ac313a993bf", "153": "a1afbf3a5362e984", "154": "7ab2338abe50e2d2", "155": "9fc16e158dc15f46", "156": "f7b8f6a932f020e1", "157": "278ab211ccdf5147", "158": "1496a7273bd8cbf0", "159": "70c38a287cac17ff", "160": "1b3167ce48880094", "161": "d9b95efbe9a3ca0a", "162": "79347942af0064f9", "163": "ee9ad33fb556ea89", "164": "ff462f4575171eb0", "165": "a714c7785c3990ba", "166": "8fc4090c0bcee867", "167": "f71d81296b66decd", "168": "8e7585db4dd250d5", "169": "3d3f4c5f67647202", "170": "982c977c10761a5f", "171": "c8052f332c3d2369", "172": "ffa84e66ab7f2c83", "173": "9bcf4d1a57c0ba2a", "174": "6ca582b7df7276a1", "175": "de377ed03b71265f", "176": "1fb6d892ae8678c7", "180": "5ae949a86bd02dd3", "181": "040c831fbc62df23", "182": "09fe188418c42b7a", "183": "90b339bb352b5f47", "185": "ced44d681e2ec183", "186": "ff963270b8878129", "187": "bb41b7312f4e3083", "188": "a08753a73e0ca7d5", "189": "0cadf82de76cac0c", "190": "f40e0095eef0a2a1", "191": "2427a73600db473c", "192": "ae89d1eb8e024c9a", "193"Line truncated
+55 -57
View File
@@ -1,98 +1,98 @@
{ {
"0": "IdfDevice", "0": "IdfDevice",
"2": "Pin", "2": "res_device.c",
"5": "cJSON", "5": "cJSON",
"6": "create_app", "6": "controller",
"8": "ab", "8": "ab",
"9": "Compiler", "9": "Compiler",
"11": "seq_timeline.js", "11": "seq_timeline.js",
"14": "sim_rig.c", "14": "cJSON_Delete",
"15": "new_id", "15": "unique",
"17": "SerialTransport", "17": "PyboardCommand",
"18": "esp_err.h", "18": "esp_err.h",
"21": "freertos.c", "21": "freertos.c",
"22": "bridge.c", "22": "BridgeSim",
"23": "cJSON_IsString", "23": "cJSON_IsString",
"24": "cJSON_Delete", "24": "test_presets.py",
"25": "Microdot", "25": "Microdot",
"26": "KeyName", "26": "cJSON_CreateObject",
"27": "seqplay.c", "27": "bridge_sim.py",
"29": "binary_envelope.py", "29": "binary_envelope.py",
"31": "PyboardCommand", "31": "machine.py",
"32": "cJSON_CreateObject", "32": "httpd_sess.c",
"33": "httpd_parse.c", "33": "httpd_parse.c",
"34": "test_sequences.py", "34": "test_sequences.py",
"35": "cJSON_Delete", "35": "esp_timer_create",
"37": "stdio", "37": "outputs.c",
"38": "socket", "38": "socket",
"40": "xSemaphoreGive", "40": "xSemaphoreGive",
"41": "WS2812", "41": "WS2812",
"42": "run_all", "42": "run_all",
"43": "usb_cfg.cpp", "43": "sock_db",
"44": "httpd_handle_t", "44": "httpd_handle_t",
"45": "http_parser.h", "45": "http_parser.h",
"46": "bench.c", "46": "beat_start",
"50": "esp_glue.c", "50": "steps",
"52": "sys", "52": "espnow_link.cpp",
"54": "httpd_sess.c", "54": "patterns_start",
"55": "sim_glue.c", "55": "httpd_ws_frame",
"56": "test_outputs.py", "56": "test_outputs.py",
"57": "httpd_config", "57": "httpd_config",
"58": "gallery.js", "58": "gallery.js",
"59": "mic_alsa.c", "59": "mic_alsa.c",
"60": "nvs_sim.cpp", "60": "app_main",
"64": "ddp_test.py", "64": "ddp_test.py",
"65": "ESPNow", "65": "ESPNow",
"66": "httpd_handle_t", "66": "bridge_main.c",
"67": "status_get_handler", "67": "auth.js",
"68": "httpd_uri.c", "68": "Transport",
"69": "led_strip_rmt_encoder.c", "69": "auth.c",
"71": "rel.c", "71": "sim_glue.c",
"72": "httpd_data", "72": "httpd_data",
"74": "presets.cpp", "74": "presets.cpp",
"75": "v1 driver messages (long/short keys)", "75": "v1 driver messages (long/short keys)",
"77": "espnow_link.cpp", "77": "bridge_main.c",
"78": "sim_split.js", "78": "sim_split.js",
"80": "artnet_dmx.py", "80": "artnet_dmx.py",
"81": "OutputManager", "81": "OutputManager",
"82": "events", "82": "events",
"83": "pytest", "83": "sim_rig.c",
"84": "unique", "84": "unique",
"86": "net.cpp", "86": "desktop_main.c",
"89": "api_call_t", "89": "load_lanes",
"90": "Sender", "90": "Sender",
"92": "esp_log.h", "92": "httpd_os_thread_create",
"93": "events", "93": "events",
"94": "send_frame", "94": "httpd_txrx.c",
"96": "net.cpp", "96": "web.cpp",
"97": "machine.py", "97": "settings_load_net",
"99": "httpd_txrx.c", "99": "sim_stubs.c",
"100": "test_routes.py", "100": "Pin",
"102": "httpd_req_aux", "102": "httpd_req_aux",
"106": "USB ESP-NOW bridge", "106": "USB ESP-NOW bridge",
"107": "main", "107": "main",
"108": "BridgeSim", "108": "Asm",
"110": "soft_get", "110": "run_soak",
"112": "EMSCRIPTEN_KEEPALIVE", "112": "test_auth.py",
"114": "dependencies", "114": "dependencies",
"117": "outputs.c", "117": "test_routes.py",
"124": "esp_httpd_priv.h", "124": "esp_httpd_priv.h",
"125": "led_strip_spi_dev.c", "125": "led_strip_spi_dev.c",
"126": "app_main", "126": "status_get_handler",
"128": "httpd_ctrl_data", "128": "Type",
"131": "beat_start", "131": "httpd_ctrl_data",
"132": "microdot.py", "132": "microdot.py",
"133": "pattern_def_t", "133": "esp_http_server_dispatch_event",
"135": "PatternPlayer", "135": "PatternPlayer",
"136": "HttpDevice", "136": "HttpDevice",
"137": "on_sent", "137": "api_call_t",
"139": "sim_demo.py", "139": "esp_err_t",
"141": "DMX Driver Art-Net and serial gateway", "141": "DMX Driver Art-Net and serial gateway",
"143": "test_rig_sim.py", "143": "test_rig_sim.py",
"144": "settings_editor.js", "144": "settings_editor.js",
"147": "bootloader/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c", "147": "bootloader/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c",
"148": "postinst", "148": "postinst",
"149": "patterns.c", "149": "api_error",
"150": "postrm", "150": "postrm",
"151": "prerm", "151": "prerm",
"152": "vendor.sh", "152": "vendor.sh",
@@ -105,22 +105,20 @@
"162": "bootloader/project_elf_src_esp32c3.c", "162": "bootloader/project_elf_src_esp32c3.c",
"163": "build-v61/config/sdkconfig.h", "163": "build-v61/config/sdkconfig.h",
"164": "build-v61/project_elf_src_esp32c3.c", "164": "build-v61/project_elf_src_esp32c3.c",
"165": "test_presets.py", "165": "thread_data",
"166": "mdns_host.c", "166": "wifi_drv.c",
"167": "SerialDMX", "167": "SerialDMX",
"168": "nvs_sim.cpp",
"169": "build_sim_web.sh", "169": "build_sim_web.sh",
"170": "dependencies", "170": "dependencies",
"177": "bulk_task", "197": "cJSON_CreateString",
"184": "vTaskDelete", "198": "sys",
"197": "cJSON_GetObjectItem",
"198": "Transport",
"199": "httpd_req",
"200": "HTTPException", "200": "HTTPException",
"202": "json", "201": "requests",
"203": "string", "202": "time",
"203": "web.c",
"204": "_simlink_proc.py", "204": "_simlink_proc.py",
"205": "httpd_ws_frame", "205": "httpd_req",
"207": "relay_forward",
"209": "WLAN", "209": "WLAN",
"210": "fetch_cache.js", "210": "fetch_cache.js",
"211": "MultiDict", "211": "MultiDict",
+194 -217
View File
@@ -1,24 +1,24 @@
# Graph Report - led-controller (2026-11-16) # Graph Report - led-controller (2026-11-16)
## Corpus Check ## Corpus Check
- 382 files · ~673,498 words - 382 files · ~673,770 words
- Verdict: corpus is large enough that graph structure adds value. - Verdict: corpus is large enough that graph structure adds value.
- Unclassified: 1317 file(s) not represented in the graph (top: .obj 884, .cmake 160, .a 104) - Unclassified: 1317 file(s) not represented in the graph (top: .obj 884, .cmake 160, .a 104)
## Summary ## Summary
- 4727 nodes · 13754 edges · 219 communities (154 shown, 65 thin omitted) - 4731 nodes · 13767 edges · 216 communities (149 shown, 67 thin omitted)
- Extraction: 75% EXTRACTED · 25% INFERRED · 0% AMBIGUOUS · INFERRED: 3504 edges (avg confidence: 0.85) - Extraction: 75% EXTRACTED · 25% INFERRED · 0% AMBIGUOUS · INFERRED: 3505 edges (avg confidence: 0.85)
- Token cost: 0 input · 0 output - Token cost: 0 input · 0 output
## Graph Freshness ## Graph Freshness
- Built from commit: `698c1463` - Built from commit: `581b7519`
- Run `git rev-parse HEAD` and compare to check if the graph is stale. - Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost). - Run `graphify update .` after code changes (no API cost).
## Community Hubs (Navigation) ## Community Hubs (Navigation)
- IdfDevice - IdfDevice
- htmx Library - htmx Library
- machine.py - Pin
- Browser Tests & Mockup Images - Browser Tests & Mockup Images
- Audio UI (JS) - Audio UI (JS)
- cJSON - cJSON
@@ -38,11 +38,11 @@
- led_strip Component Docs - led_strip Component Docs
- Art-Net Output - Art-Net Output
- freertos.c - freertos.c
- LedSimulatorApp - bridge.c
- cJSON_IsString - cJSON_IsString
- cJSON_Delete - cJSON_Delete
- Microdot - Microdot
- ctrl_msg.cpp - KeyName
- seqplay.c - seqplay.c
- Devices UI (JS) - Devices UI (JS)
- binary_envelope.py - binary_envelope.py
@@ -53,7 +53,7 @@
- test_sequences.py - test_sequences.py
- cJSON_Delete - cJSON_Delete
- API Docs: Outputs & Audio - API Docs: Outputs & Audio
- http_parser - stdio
- socket - socket
- Beat Detection DSP (C) - Beat Detection DSP (C)
- xSemaphoreGive - xSemaphoreGive
@@ -62,15 +62,16 @@
- usb_cfg.cpp - usb_cfg.cpp
- httpd_handle_t - httpd_handle_t
- http_parser.h - http_parser.h
- http_parser.c - bench.c
- USB Latency Tools - USB Latency Tools
- Colour Picker JS - Colour Picker JS
- Chromium Colour Picker JS - Chromium Colour Picker JS
- exchange - esp_glue.c
- API Tests: Devices - API Tests: Devices
- sys - sys
- mpremote Transport - mpremote Transport
- httpd_sess.c - httpd_sess.c
- sim_glue.c
- test_outputs.py - test_outputs.py
- httpd_config - httpd_config
- gallery.js - gallery.js
@@ -82,7 +83,7 @@
- ddp_test.py - ddp_test.py
- ESPNow - ESPNow
- httpd_handle_t - httpd_handle_t
- BridgeSim - status_get_handler
- httpd_uri.c - httpd_uri.c
- led_strip_rmt_encoder.c - led_strip_rmt_encoder.c
- Index Page Modals - Index Page Modals
@@ -90,7 +91,7 @@
- httpd_data - httpd_data
- Microdot WebSocket (dmx) - Microdot WebSocket (dmx)
- presets.cpp - presets.cpp
- Bench test: S3 controller and one LED driver - v1 driver messages (long/short keys)
- Controller Overview & OTA Docs - Controller Overview & OTA Docs
- espnow_link.cpp - espnow_link.cpp
- sim_split.js - sim_split.js
@@ -98,7 +99,7 @@
- artnet_dmx.py - artnet_dmx.py
- OutputManager - OutputManager
- events - events
- web.c - pytest
- unique - unique
- ESP-NOW Sender Bridge - ESP-NOW Sender Bridge
- net.cpp - net.cpp
@@ -107,12 +108,12 @@
- api_call_t - api_call_t
- Sender - Sender
- Microdot Routing (dmx) - Microdot Routing (dmx)
- bridge_serial.c - esp_log.h
- events - events
- Type - send_frame
- Microdot Auth (dmx) - Microdot Auth (dmx)
- esp_timer_create - net.cpp
- v1 driver messages (long/short keys) - machine.py
- DMX Preset Model - DMX Preset Model
- httpd_txrx.c - httpd_txrx.c
- test_routes.py - test_routes.py
@@ -123,11 +124,11 @@
- Driver Pattern Docs - Driver Pattern Docs
- USB ESP-NOW bridge - USB ESP-NOW bridge
- main - main
- rig_seed.py - BridgeSim
- Driver Message API Docs - Driver Message API Docs
- run_soak - soft_get
- led_strip Manifest - led_strip Manifest
- test_patterns.py - EMSCRIPTEN_KEEPALIVE
- Outputs UI (JS) - Outputs UI (JS)
- dependencies - dependencies
- Help PDF: Overview - Help PDF: Overview
@@ -141,17 +142,17 @@
- Pattern Contract - Pattern Contract
- esp_httpd_priv.h - esp_httpd_priv.h
- led_strip_spi_dev.c - led_strip_spi_dev.c
- esp_http_server_dispatch_event - app_main
- Numpad Shortcuts (JS) - Numpad Shortcuts (JS)
- httpd_ctrl_data - httpd_ctrl_data
- Colour Picker Demo Image - Colour Picker Demo Image
- Settings Mockup Image - Settings Mockup Image
- flags - beat_start
- microdot.py - microdot.py
- http_parser_url_fields - pattern_def_t
- PatternPlayer - PatternPlayer
- HttpDevice - HttpDevice
- time - on_sent
- Help: Colour Palette Image - Help: Colour Palette Image
- sim_demo.py - sim_demo.py
- LED Driver README - LED Driver README
@@ -161,7 +162,7 @@
- settings_editor.js - settings_editor.js
- Help PDF: Modes - Help PDF: Modes
- Help: Tab Preset Strip Image - Help: Tab Preset Strip Image
- api_error - patterns.c
- vendor.sh - vendor.sh
- app.js - app.js
- RMT Example Manifest - RMT Example Manifest
@@ -171,7 +172,6 @@
- test_presets.py - test_presets.py
- mdns_host.c - mdns_host.c
- SerialDMX - SerialDMX
- NeoPixel
- build_sim_web.sh - build_sim_web.sh
- dependencies - dependencies
- List Search (JS) - List Search (JS)
@@ -179,13 +179,11 @@
- led-test Manifest - led-test Manifest
- VPN Autoconnect Script - VPN Autoconnect Script
- graphify Instructions - graphify Instructions
- espnow_tx.c - bulk_task
- mac_str
- load_config
- bulk.sh Script - bulk.sh Script
- deploy.sh Script - deploy.sh Script
- Driver install.sh - Driver install.sh
- beat.c - vTaskDelete
- led-tool install.sh - led-tool install.sh
- Help PDF Build Script - Help PDF Build Script
- Web Build Script - Web Build Script
@@ -194,11 +192,10 @@
- Transport - Transport
- httpd_req - httpd_req
- HTTPException - HTTPException
- http_parser_type
- json - json
- desktop_main.c - string
- _simlink_proc.py - _simlink_proc.py
- esp_http_server.h - httpd_ws_frame
- relay_forward - relay_forward
- WLAN - WLAN
- MultiDict - MultiDict
@@ -226,12 +223,12 @@
bridge/README.md → main/bridge_serial.c bridge/README.md → main/bridge_serial.c
- `Preset editor modal` --semantically_similar_to--> `Preset fields (pattern, colors, delay, brightness, auto, n1-n6)` [INFERRED] [semantically similar] - `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.md web/templates/index.html → led-driver/docs/API.md
- `Build and run` --references--> `info()` [INFERRED]
desktop/README.md → tools/ota.py
- `status_payload()` --calls--> `mic_error()` [INFERRED] - `status_payload()` --calls--> `mic_error()` [INFERRED]
main/audio_api.c → desktop/port/src/mic_alsa.c main/audio_api.c → desktop/port/src/mic_alsa.c
- `audio_handler()` --calls--> `mic_is_open()` [INFERRED] - `audio_handler()` --calls--> `mic_is_open()` [INFERRED]
main/audio_api.c → desktop/port/src/mic_alsa.c main/audio_api.c → desktop/port/src/mic_alsa.c
- `How it is built` --references--> `http_parser` [INFERRED]
desktop/README.md → desktop/third_party/http_parser/http_parser.h
## Import Cycles ## Import Cycles
- None detected. - None detected.
@@ -262,20 +259,16 @@
- **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] - **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] - **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 (219 total, 65 thin omitted) ## Communities (216 total, 67 thin omitted)
### Community 0 - "IdfDevice" ### Community 0 - "IdfDevice"
Cohesion: 0.09 Cohesion: 0.10
Nodes (8): _hex_rgb(), _idf_post(), _idf_show(), _preset_content(), print_settings(), run_idf(), IdfDevice, probe() Nodes (7): _hex_rgb(), _idf_post(), _idf_show(), _preset_content(), run_idf(), IdfDevice, probe()
### Community 1 - "htmx Library" ### Community 1 - "htmx Library"
Cohesion: 0.08 Cohesion: 0.08
Nodes (101): a(), Ae(), an(), at(), B(), be(), bn(), bt() (+93 more) Nodes (101): a(), Ae(), an(), at(), B(), be(), bn(), bt() (+93 more)
### Community 2 - "machine.py"
Cohesion: 0.10
Nodes (3): DMX, Pin, WDT
### Community 3 - "Browser Tests & Mockup Images" ### Community 3 - "Browser Tests & Mockup Images"
Cohesion: 0.06 Cohesion: 0.06
Nodes (17): generate_image(), generate_with_html2image(), generate_with_playwright(), generate_with_selenium(), main(), browser(), _browser_sleep(), BrowserTest (+9 more) Nodes (17): generate_image(), generate_with_html2image(), generate_with_playwright(), generate_with_selenium(), main(), browser(), _browser_sleep(), BrowserTest (+9 more)
@@ -286,15 +279,15 @@ Nodes (58): applyAudioStatus(), applyServerAudioUiFields(), audioRunPreferredDev
### Community 5 - "cJSON" ### Community 5 - "cJSON"
Cohesion: 0.07 Cohesion: 0.07
Nodes (62): buffer_skip_whitespace(), case_insensitive_strcmp(), cast_away_const(), cJSON_AddItemReferenceToArray(), cJSON_AddItemToObjectCS(), cJSON_AddRawToObject(), cJSON_bool, cJSON_Compare() (+54 more) Nodes (64): add_item_to_array(), add_item_to_object(), buffer_skip_whitespace(), case_insensitive_strcmp(), cast_away_const(), cJSON_AddItemReferenceToArray(), cJSON_AddItemToObjectCS(), cJSON_AddNullToObject() (+56 more)
### Community 6 - "create_app" ### Community 6 - "create_app"
Cohesion: 0.12 Cohesion: 0.12
Nodes (6): create_app(), serial_ports(), ws_handler(), list_serial_ports(), main(), output_tick() Nodes (6): create_app(), serial_ports(), ws_handler(), list_serial_ports(), main(), output_tick()
### Community 7 - "led-tool Device CLI" ### Community 7 - "led-tool Device CLI"
Cohesion: 0.07 Cohesion: 0.06
Nodes (16): download_presets(), download_settings(), _get_ordered_actions(), main(), resolve_flash_binary(), upload_presets(), upload_settings(), copy_file() (+8 more) Nodes (17): download_presets(), download_settings(), _get_ordered_actions(), main(), print_settings(), resolve_flash_binary(), upload_presets(), upload_settings() (+9 more)
### Community 8 - "ab" ### Community 8 - "ab"
Cohesion: 0.11 Cohesion: 0.11
@@ -310,7 +303,7 @@ Nodes (46): Pi Animation Engine (src/engine), docs/API.md, Beat Counter and Phas
### Community 11 - "seq_timeline.js" ### Community 11 - "seq_timeline.js"
Cohesion: 0.11 Cohesion: 0.11
Nodes (59): seqTl, seqTlOnOpen(), TL_COLORS, tlAddAt(), tlAddTrack(), tlBpm(), tlBtn(), tlBuildSnap() (+51 more) Nodes (61): seqTl, seqTlOnOpen(), TL_COLORS, tlAddAt(), tlAddTrack(), tlBpm(), tlBtn(), tlBuildSnap() (+53 more)
### Community 12 - "Presets UI (JS)" ### Community 12 - "Presets UI (JS)"
Cohesion: 0.09 Cohesion: 0.09
@@ -322,23 +315,23 @@ Nodes (42): applyBrightnessSliders(), applyZoneContentKindEditModal(), clamp255(
### Community 14 - "sim_rig.c" ### Community 14 - "sim_rig.c"
Cohesion: 0.12 Cohesion: 0.12
Nodes (45): list_pulse_sources(), cJSON_AddObjectToObject(), cJSON_Delete(), cJSON_Parse(), defaults(), api_sequence_defaults(), db_root(), load_file() (+37 more) Nodes (40): cJSON_AddObjectToObject(), cJSON_IsObject(), cJSON_Print(), api_migrate_sequences(), colors_from(), palette_colors(), api_handler(), config_json() (+32 more)
### Community 15 - "new_id" ### Community 15 - "new_id"
Cohesion: 0.09 Cohesion: 0.08
Nodes (11): new_id(), test_preset_round_trip(), test_profile_import_folds_animation_ids(), test_profile_round_trip(), test_sequence_round_trip(), test_clone(), test_clone_default_name(), test_delete_removes_from_profile() (+3 more) Nodes (12): new_id(), test_preset_round_trip(), test_profile_import_folds_animation_ids(), test_profile_round_trip(), test_sequence_round_trip(), test_window_is_kept(), test_clone(), test_clone_default_name() (+4 more)
### Community 16 - "Sequences UI (JS)" ### Community 16 - "Sequences UI (JS)"
Cohesion: 0.11 Cohesion: 0.11
Nodes (33): addSeqTarget(), addSequenceToTab(), addTargetsPerDriver(), appendZoneSequenceTiles(), applySequenceSwitchWaitFromServer(), buildStepPlaySelect(), createSequenceTileRow(), deleteCurrentSequence() (+25 more) Nodes (33): addSeqTarget(), addSequenceToTab(), addTargetsPerDriver(), appendZoneSequenceTiles(), applySequenceSwitchWaitFromServer(), buildStepPlaySelect(), createSequenceTileRow(), deleteCurrentSequence() (+25 more)
### Community 17 - "SerialTransport" ### Community 17 - "SerialTransport"
Cohesion: 0.11 Cohesion: 0.14
Nodes (4): SerialIntercept, SerialTransport, TransportError, TransportExecError Nodes (3): SerialIntercept, SerialTransport, TransportError
### Community 18 - "esp_err.h" ### Community 18 - "esp_err.h"
Cohesion: 0.04 Cohesion: 0.10
Nodes (24): on_eth_down(), on_got_ip(), heap_caps_malloc(), esp_fill_random(), esp_get_free_heap_size(), esp_get_minimum_free_heap_size(), esp_log_level_set(), esp_log_set_vprintf() (+16 more) Nodes (3): esp_http_server_event_data, http_method, clamp8()
### Community 19 - "led_strip Component Docs" ### Community 19 - "led_strip Component Docs"
Cohesion: 0.10 Cohesion: 0.10
@@ -350,27 +343,27 @@ Nodes (10): ArtNet, as_channels(), build_artdmx(), _ip_bytes(), _pad(), port_lo(
### Community 21 - "freertos.c" ### Community 21 - "freertos.c"
Cohesion: 0.06 Cohesion: 0.06
Nodes (51): bridge_eth_start(), app_main(), ctl_open(), mic_start(), udp_open(), httpd_os_thread_create(), httpd_os_thread_handle(), make_deadline() (+43 more) Nodes (51): bridge_eth_start(), app_main(), ctl_open(), mic_start(), udp_open(), make_deadline(), queue_send(), sem_give() (+43 more)
### Community 22 - "LedSimulatorApp" ### Community 22 - "bridge.c"
Cohesion: 0.13 Cohesion: 0.10
Nodes (4): lan_ip(), _hex(), LedSimulatorApp, main() Nodes (26): vTaskDelay(), activate(), bridge_board_set_channel(), bridge_mic(), bridge_ports_json(), bridge_set_all(), connect_udp(), ctl_rx_task() (+18 more)
### Community 23 - "cJSON_IsString" ### Community 23 - "cJSON_IsString"
Cohesion: 0.07 Cohesion: 0.06
Nodes (93): cJSON, child, cJSON_DeleteItemFromArray(), cJSON_DetachItemFromArray(), cJSON_GetArrayItem(), cJSON_GetArraySize(), cJSON_GetStringValue(), cJSON_InsertItemInArray() (+85 more) Nodes (104): cJSON, child, cJSON_DeleteItemFromArray(), cJSON_DetachItemFromArray(), cJSON_DetachItemFromObject(), cJSON_DetachItemViaPointer(), cJSON_GetArrayItem(), cJSON_GetArraySize() (+96 more)
### Community 24 - "cJSON_Delete" ### Community 24 - "cJSON_Delete"
Cohesion: 0.15 Cohesion: 0.14
Nodes (44): net_ap_on(), net_sta_status(), patterns_get(), api_fn_t, api_http_entry(), api_req_t, api_route_t, app_js_get() (+36 more) Nodes (46): ddp_set_enabled(), net_ap_on(), net_sta_status(), add_uri(), api_fn_t, api_http_entry(), api_req_t, api_route_t (+38 more)
### Community 26 - "ctrl_msg.cpp" ### Community 26 - "KeyName"
Cohesion: 0.15 Cohesion: 0.50
Nodes (23): apply_device_config(), apply_presets(), apply_v1(), cstr(), ctrl_handle(), decode_default(), decode_presets(), decode_select() (+15 more) Nodes (4): KeyName, longk, shortk, long_name()
### Community 27 - "seqplay.c" ### Community 27 - "seqplay.c"
Cohesion: 0.12 Cohesion: 0.09
Nodes (44): engine_zone_current(), add_id(), advance_time(), anchor_bar(), audio_drives(), bit(), chase_mask(), chase_move() (+36 more) Nodes (63): audio_api_resume_mic(), mic_follow_setting(), engine_zone_current(), engine_zone_note(), espnow_tx_set_mic_beats(), add_id(), advance_time(), anchor_bar() (+55 more)
### Community 28 - "Devices UI (JS)" ### Community 28 - "Devices UI (JS)"
Cohesion: 0.10 Cohesion: 0.10
@@ -385,40 +378,40 @@ 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) 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 - "cJSON_CreateObject" ### Community 32 - "cJSON_CreateObject"
Cohesion: 0.10 Cohesion: 0.08
Nodes (68): add_item_to_array(), add_item_to_object(), cJSON_AddArrayToObject(), cJSON_AddBoolToObject(), cJSON_AddFalseToObject(), cJSON_AddItemToArray(), cJSON_AddItemToObject(), cJSON_AddNullToObject() (+60 more) Nodes (88): list_pulse_sources(), cJSON_AddArrayToObject(), cJSON_AddBoolToObject(), cJSON_AddFalseToObject(), cJSON_AddItemToArray(), cJSON_AddItemToObject(), cJSON_AddNumberToObject(), cJSON_AddStringToObject() (+80 more)
### Community 33 - "httpd_parse.c" ### Community 33 - "httpd_parse.c"
Cohesion: 0.16 Cohesion: 0.06
Nodes (25): cb_header_field(), cb_header_value(), cb_headers_complete(), cb_no_body(), cb_on_body(), cb_url(), httpd_cookie_key_value(), httpd_get_raw_req_data() (+17 more) Nodes (58): httpd_config_t, cb_header_field(), cb_header_value(), cb_headers_complete(), cb_no_body(), cb_on_body(), cb_url(), continue_parsing() (+50 more)
### Community 34 - "test_sequences.py" ### Community 34 - "test_sequences.py"
Cohesion: 0.17 Cohesion: 0.17
Nodes (24): clock(), make(), presets(), test_beat_and_time_lanes_together(), test_chase_moves_and_bounces(), test_editing_stops_playback(), test_legacy_animation_kind_plays_once(), test_looping_sequence_as_clip_plays_once() (+16 more) Nodes (24): clock(), make(), presets(), test_beat_and_time_lanes_together(), test_chase_moves_and_bounces(), test_editing_stops_playback(), test_legacy_animation_kind_plays_once(), test_looping_sequence_as_clip_plays_once() (+16 more)
### Community 35 - "cJSON_Delete" ### Community 35 - "cJSON_Delete"
Cohesion: 0.12 Cohesion: 0.17
Nodes (45): cJSON_GetObjectItem(), cJSON_IsNull(), cJSON_IsNumber(), cJSON_IsTrue(), setting_int(), have_static_ips(), parse_static(), settings_bool() (+37 more) Nodes (33): cJSON_IsNull(), cJSON_IsNumber(), int_field(), api_apply_driver_cfg(), api_effective_brightness(), api_identify_group(), clamp255(), create_device() (+25 more)
### Community 36 - "API Docs: Outputs & Audio" ### Community 36 - "API Docs: Outputs & Audio"
Cohesion: 0.16 Cohesion: 0.17
Nodes (21): Audio API /api/audio and /audio page routes, Profile/preset/sequence JSON bundles (import/export), Combined brightness (global x groups x device x zone), /db collection export and replace, Devices resource /devices, Driver group membership lists (group ids, z<zone id>), Device groups resource /groups, LED Controller HTTP/JSON API (+13 more) Nodes (21): Audio API /api/audio and /audio page routes, Profile/preset/sequence JSON bundles (import/export), Combined brightness (global x groups x device x zone), /db collection export and replace, Devices resource /devices, Driver group membership lists (group ids, z<zone id>), Device groups resource /groups, LED Controller HTTP/JSON API (+13 more)
### Community 37 - "http_parser" ### Community 37 - "stdio"
Cohesion: 0.12 Cohesion: 0.14
Nodes (21): continue_parsing(), parse_block(), http_message_needs_eof(), http_parser, content_length, data, http_parser_execute(), flags (+13 more) Nodes (16): app_main(), app_main(), configure_led(), app_main(), configure_led(), led_strip_spi_config_t, led_model_t, led_pixel_format_t (+8 more)
### Community 38 - "socket" ### Community 38 - "socket"
Cohesion: 0.14 Cohesion: 0.20
Nodes (9): discover(), local_subnet(), main(), discover(), _expand(), _ip(), local_subnet(), ota_drivers() (+1 more) Nodes (6): discover(), _expand(), _ip(), local_subnet(), ota_drivers(), parse_targets()
### Community 39 - "Beat Detection DSP (C)" ### Community 39 - "Beat Detection DSP (C)"
Cohesion: 0.27 Cohesion: 0.23
Nodes (16): beat_feed(), analyse_beat(), bar_cue(), bar_decide(), beat_dsp_feed(), beat_dsp_init(), beat_dsp_tap(), best_phase() (+8 more) Nodes (17): beat_feed(), analyse_beat(), bar_cue(), bar_decide(), beat_dsp_bpm(), beat_dsp_feed(), beat_dsp_init(), beat_dsp_tap() (+9 more)
### Community 40 - "xSemaphoreGive" ### Community 40 - "xSemaphoreGive"
Cohesion: 0.04 Cohesion: 0.07
Nodes (91): ctl_task(), log_hook(), mic_task(), on_sent(), rx_task(), udp_send_up(), udp_task(), usb_send_frame() (+83 more) Nodes (58): ctl_task(), log_hook(), mic_task(), rx_task(), udp_send_up(), udp_task(), usb_send_frame(), xSemaphoreGive() (+50 more)
### Community 41 - "WS2812" ### Community 41 - "WS2812"
Cohesion: 0.06 Cohesion: 0.06
@@ -426,63 +419,67 @@ Nodes (19): new_ws2812_encoder(), rmt_del_ws2812_encoder(), rmt_encode_ws2812(),
### Community 42 - "run_all" ### Community 42 - "run_all"
Cohesion: 0.12 Cohesion: 0.12
Nodes (13): dim(), expected(), frame(), frame_sum(), mismatch_detail(), packet(), read_serial(), run_all() (+5 more) Nodes (12): dim(), expected(), frame(), frame_sum(), mismatch_detail(), packet(), read_serial(), run_all() (+4 more)
### Community 43 - "usb_cfg.cpp" ### Community 43 - "usb_cfg.cpp"
Cohesion: 0.07 Cohesion: 0.10
Nodes (20): vTaskDelete(), be16(), be32(), ddp_set_enabled(), ddp_sync_task(), ddp_task(), patterns_count(), handle_line() (+12 more) Nodes (4): read_handshake(), read_n(), ws_client_connect(), ws_client_recv_text()
### Community 44 - "httpd_handle_t" ### Community 44 - "httpd_handle_t"
Cohesion: 0.12 Cohesion: 0.12
Nodes (24): httpd_config_t, httpd_method_t, httpd_uri_t, httpd_create(), httpd_start(), httpd_find_uri_handler(), httpd_register_uri_handler(), httpd_unregister_uri() (+16 more) Nodes (28): httpd_os_thread_create(), httpd_os_thread_handle(), httpd_err_code_t, httpd_err_handler_func_t, httpd_handle_t, httpd_method_t, httpd_uri, method (+20 more)
### Community 45 - "http_parser.h" ### Community 45 - "http_parser.h"
Cohesion: 0.09 Cohesion: 0.05
Nodes (20): http_cb, http_data_cb, http_errno, HTTP_ERRNO_MAP, http_method, http_parser_settings, on_body, on_chunk_complete (+12 more) 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 - "http_parser.c" ### Community 46 - "bench.c"
Cohesion: 0.15 Cohesion: 0.13
Nodes (8): parse_init(), http_parse_host(), http_parse_host_char(), http_parser_init(), http_parser_parse_url(), http_parser_settings_init(), http_parser_url_init(), parse_url_char() Nodes (14): bench_on_beat_tx(), bench_running(), bench_start(), bench_stop(), gen_cb(), gpio_mark(), espnow_tx_beat(), on_beat() (+6 more)
### Community 47 - "USB Latency Tools" ### Community 47 - "USB Latency Tools"
Cohesion: 0.17 Cohesion: 0.12
Nodes (10): analyze(), edges(), main(), pct(), read(), fit_clock(), main(), pct() (+2 more) Nodes (13): discover(), local_subnet(), main(), analyze(), edges(), main(), pct(), read() (+5 more)
### Community 50 - "exchange" ### Community 50 - "esp_glue.c"
Cohesion: 0.13 Cohesion: 0.11
Nodes (23): engine_zone_note(), beat_task(), on_beat(), seqplay_end_base_in(), seqplay_overlay_stop(), seqplay_stop(), seqplay_stop_if(), seqplay_switch_wait() (+15 more) Nodes (13): esp_fill_random(), esp_get_free_heap_size(), esp_get_minimum_free_heap_size(), esp_log_level_set(), esp_log_set_vprintf(), esp_log_timestamp(), esp_log_write(), esp_random() (+5 more)
### Community 52 - "sys" ### Community 52 - "sys"
Cohesion: 0.08 Cohesion: 0.08
Nodes (5): Build and run, mpremote_base(), main(), info(), upload() Nodes (3): mpremote_base(), main(), TransportExecError
### Community 53 - "mpremote Transport" ### Community 53 - "mpremote Transport"
Cohesion: 0.12 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) 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 - "httpd_sess.c" ### Community 54 - "httpd_sess.c"
Cohesion: 0.16 Cohesion: 0.14
Nodes (24): httpd_os_thread_delete(), httpd_accept_conn(), httpd_process_session(), httpd_server(), httpd_thread(), enum_function(), fd_is_valid(), httpd_is_sess_available() (+16 more) Nodes (27): httpd_free_ctx_fn_t, httpd_process_session(), enum_function(), fd_is_valid(), httpd_sess_clear_ctx(), httpd_sess_close(), httpd_sess_close_all(), httpd_sess_close_lru() (+19 more)
### Community 55 - "sim_glue.c"
Cohesion: 0.13
Nodes (10): sim_rx(), esp_err_to_name(), esp_fill_random(), esp_log_level_set(), esp_log_set_vprintf(), esp_log_timestamp(), esp_log_write(), esp_random() (+2 more)
### Community 57 - "httpd_config" ### Community 57 - "httpd_config"
Cohesion: 0.06 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) Nodes (33): httpd_close_func_t, httpd_config, backlog_conn, close_fn, core_id, ctrl_port, enable_so_linger, global_transport_ctx (+25 more)
### Community 58 - "gallery.js" ### Community 58 - "gallery.js"
Cohesion: 0.26 Cohesion: 0.26
Nodes (15): apply(), banner(), bgField(), buildCard(), checkField(), colourList(), draw(), hex() (+7 more) Nodes (15): apply(), banner(), bgField(), buildCard(), checkField(), colourList(), draw(), hex() (+7 more)
### Community 59 - "mic_alsa.c" ### Community 59 - "mic_alsa.c"
Cohesion: 0.09 Cohesion: 0.11
Nodes (21): capture_loop(), capture_thread(), list_alsa_devices(), mic_close(), mic_error(), mic_get_level(), mic_is_open(), mic_list_devices() (+13 more) Nodes (16): capture_loop(), capture_thread(), list_alsa_devices(), mic_close(), mic_error(), mic_get_level(), mic_is_open(), mic_list_devices() (+8 more)
### Community 60 - "nvs_sim.cpp" ### Community 60 - "nvs_sim.cpp"
Cohesion: 0.15 Cohesion: 0.11
Nodes (31): drop_unicast_peers(), load_channel(), set_channel(), ctrl_init(), save_groups(), get_str(), settings_load_hw(), settings_save_hw() (+23 more) Nodes (36): drop_unicast_peers(), load_channel(), set_channel(), ctrl_init(), save_groups(), get_str(), nvs_handle_t, nvs_open_mode_t (+28 more)
### Community 61 - "API Test Fixtures & Audio" ### Community 61 - "API Test Fixtures & Audio"
Cohesion: 0.13 Cohesion: 0.17
Nodes (6): base_url(), c(), Client, profile(), restore_db(), missing() Nodes (5): base_url(), c(), Client, profile(), restore_db()
### Community 62 - "Microdot Request (dmx)" ### Community 62 - "Microdot Request (dmx)"
Cohesion: 0.15 Cohesion: 0.15
@@ -498,18 +495,18 @@ Nodes (23): hsv(), rig_mid(), rig_rows(), rig_xy(), soak_rig_bounce(), soak_rig_
### Community 66 - "httpd_handle_t" ### Community 66 - "httpd_handle_t"
Cohesion: 0.09 Cohesion: 0.09
Nodes (33): httpd_free_ctx_fn_t, httpd_handle_t, httpd_pending_func_t, httpd_recv_func_t, httpd_send_func_t, sock_db, ctx, fd (+25 more) Nodes (22): httpd_pending_func_t, httpd_recv_func_t, httpd_send_func_t, sock_db, ctx, fd, for_async_req, free_ctx (+14 more)
### Community 67 - "BridgeSim" ### Community 67 - "status_get_handler"
Cohesion: 0.13 Cohesion: 0.13
Nodes (4): BridgeSim, driver_mac(), main(), Strip Nodes (11): beat_get_info(), bridge_list(), espnow_tx_ap_clients(), espnow_tx_stats(), reset_reason(), status_get_handler(), w5500_init(), mic_get_level() (+3 more)
### Community 68 - "httpd_uri.c" ### Community 68 - "httpd_uri.c"
Cohesion: 0.11 Cohesion: 0.08
Nodes (9): httpd_req, httpd_session_enum_function, thread_data, handle, status, httpd_get_client_list(), httpd_get_global_transport_ctx(), httpd_get_global_user_ctx() (+1 more) Nodes (25): httpd_os_thread_delete(), httpd_recv_opt_t, httpd_req, httpd_session_enum_function, thread_data, handle, status, httpd_accept_conn() (+17 more)
### Community 69 - "led_strip_rmt_encoder.c" ### Community 69 - "led_strip_rmt_encoder.c"
Cohesion: 0.25 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() 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 70 - "Index Page Modals" ### Community 70 - "Index Page Modals"
@@ -517,28 +514,28 @@ 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) 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 - "rel.c" ### Community 71 - "rel.c"
Cohesion: 0.06 Cohesion: 0.19
Nodes (31): beat_get_info(), bench_on_echo(), bridge_list(), espnow_tx_ap_clients(), espnow_tx_send(), espnow_tx_stats(), reset_reason(), status_get_handler() (+23 more) Nodes (15): espnow_tx_send(), full_mask(), handle_rx(), peer_get(), record_done(), rel_init(), rel_peer_status(), rel_send() (+7 more)
### Community 72 - "httpd_data" ### Community 72 - "httpd_data"
Cohesion: 0.11 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) Nodes (17): esp_http_server_event_id_t, httpd_data, config, ctrl_fd, ctrl_sock_semaphore, err_handler_fns, hd_calls, hd_req (+9 more)
### Community 74 - "presets.cpp" ### Community 74 - "presets.cpp"
Cohesion: 0.18 Cohesion: 0.19
Nodes (24): clear_all_presets(), entry_key(), find(), load_entry(), load_legacy(), presets_add_defaults(), presets_apply_startup(), presets_at() (+16 more) Nodes (24): clear_all_presets(), build_defaults(), entry_key(), find(), load_entry(), load_legacy(), presets_add_defaults(), presets_apply_startup() (+16 more)
### Community 75 - "Bench test: S3 controller and one LED driver" ### Community 75 - "v1 driver messages (long/short keys)"
Cohesion: 0.23 Cohesion: 0.24
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) Nodes (8): Controller WebSocket /ws (v1 presets/select), Bench endpoints /test/loss and /test/beats, Binary envelope (main/envelope.c, test/binary_envelope.py), v1 driver messages (long/short keys), WebSocket /ws driver message relay, Lossy-link test (simulated loss, retries, resync), Reliable link (rel: acked unicast, retransmits, ack timeouts), espnow-sender Microdot WebSocket receiver
### Community 76 - "Controller Overview & OTA Docs" ### Community 76 - "Controller Overview & OTA Docs"
Cohesion: 0.20 Cohesion: 0.14
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) Nodes (17): led_controller ESP-IDF project, Driver app update /drivers/ota (staged files, sha, commit/abort), Firmware OTA /ota (idle slot, rollback), 30 ms beat lead (CONFIG_BEAT_LEAD_MS), Bench test: S3 controller and one LED driver, ESP32-C3 vs S3 driver comparison, Driver app update over ESP-NOW test (tools/driver_ota.py), Logic analyzer latency (marker GPIO, tools/analyze_edges.py) (+9 more)
### Community 77 - "espnow_link.cpp" ### Community 77 - "espnow_link.cpp"
Cohesion: 0.06 Cohesion: 0.07
Nodes (44): on_recv(), beat_on_frame(), Asm, buf, cnt, asm_find(), flags, asm_free() (+36 more) Nodes (40): on_recv(), beat_on_frame(), Asm, buf, cnt, asm_find(), flags, asm_free() (+32 more)
### Community 78 - "sim_split.js" ### Community 78 - "sim_split.js"
Cohesion: 0.32 Cohesion: 0.32
@@ -556,61 +553,57 @@ Nodes (9): parse(), _assert_eq(), main(), test_artnet_send_loopback(), test_buil
Cohesion: 0.09 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) Nodes (21): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+13 more)
### Community 83 - "web.c" ### Community 83 - "pytest"
Cohesion: 0.33 Cohesion: 0.16
Nodes (11): audio_page_handler(), etag(), favicon_handler(), find_file(), index_handler(), mime_for(), send_gz(), static_handler() (+3 more) Nodes (3): test_events_stream(), need_sim(), rig()
### Community 84 - "unique" ### Community 84 - "unique"
Cohesion: 0.08 Cohesion: 0.06
Nodes (16): find_id_by_field(), unique(), test_scenes(), device(), group(), test_crud(), test_group_identify_needs_devices(), test_profile_scoped_group() (+8 more) Nodes (18): find_id_by_field(), missing(), unique(), test_scenes(), device(), group(), test_crud(), test_group_identify_needs_devices() (+10 more)
### Community 85 - "ESP-NOW Sender Bridge" ### Community 85 - "ESP-NOW Sender Bridge"
Cohesion: 0.20 Cohesion: 0.20
Nodes (10): ap(), _broadcast_ws(), _espnow_receive_loop(), _init_espnow(), main(), _send_espnow(), _validate_envelope(), ws() (+2 more) Nodes (10): ap(), _broadcast_ws(), _espnow_receive_loop(), _init_espnow(), main(), _send_espnow(), _validate_envelope(), ws() (+2 more)
### Community 86 - "net.cpp" ### Community 86 - "net.cpp"
Cohesion: 0.12 Cohesion: 0.11
Nodes (23): ctrl_build_announce(), names_me(), own_mac_hex(), ddp_start(), app_main(), ap_switch_later(), ap_timer_cb(), apply_ap() (+15 more) Nodes (28): apply_device_config(), ctrl_build_announce(), names_me(), own_mac_hex(), ddp_start(), espnow_link_start(), app_main(), ap_timer_cb() (+20 more)
### Community 89 - "api_call_t" ### Community 89 - "api_call_t"
Cohesion: 0.33 Cohesion: 0.33
Nodes (5): api_call_t, cap, done, msg, out Nodes (5): api_call_t, cap, done, msg, out
### Community 90 - "Sender" ### Community 90 - "Sender"
Cohesion: 0.14 Cohesion: 0.11
Nodes (4): run_interactive(), handle(), show_menu(), Sender Nodes (9): get(), output_scale(), run_interactive(), handle(), show_menu(), run_soak(), sample(), send_sync() (+1 more)
### Community 92 - "bridge_serial.c" ### Community 92 - "esp_log.h"
Cohesion: 0.13 Cohesion: 0.09
Nodes (21): bridge_eth_ip(), build_info(), handle_frame(), host_rx_task(), put_u32(), send_info(), bridge_crc16_update(), bridge_decode_feed() (+13 more) Nodes (19): bridge_eth_ip(), build_info(), handle_frame(), host_rx_task(), put_u32(), send_info(), bridge_crc16_update(), bridge_decode_feed() (+11 more)
### Community 93 - "events" ### Community 93 - "events"
Cohesion: 0.10 Cohesion: 0.10
Nodes (24): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+16 more) Nodes (24): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+16 more)
### Community 94 - "Type" ### Community 94 - "send_frame"
Cohesion: 0.18 Cohesion: 0.33
Nodes (11): Type, T_BLOB, T_I32, T_I64, T_STR, T_U32, T_U8, Value (+3 more) Nodes (9): bridge_serial_mic(), bridge_serial_send(), bridge_serial_set_channel(), bridge_serial_status(), get_u32(), handle_frame(), link_task(), open_port() (+1 more)
### Community 95 - "Microdot Auth (dmx)" ### Community 95 - "Microdot Auth (dmx)"
Cohesion: 0.19 Cohesion: 0.19
Nodes (6): wraps(), print_exception(), websocket_upgrade(), websocket_wrapper(), wrapper(), with_websocket() Nodes (6): wraps(), print_exception(), websocket_upgrade(), websocket_wrapper(), wrapper(), with_websocket()
### Community 96 - "esp_timer_create" ### Community 96 - "net.cpp"
Cohesion: 0.36 Cohesion: 0.10
Nodes (7): ota_confirm_later(), ota_confirm_later(), arm(), esp_timer_create(), esp_timer_is_active(), esp_timer_start_once(), esp_timer_start_periodic() Nodes (17): on_eth_down(), on_got_ip(), ap_switch_later(), client_allowed(), on_ip_event(), on_wifi_event(), reconnect_cb(), retry_cb() (+9 more)
### Community 97 - "v1 driver messages (long/short keys)"
Cohesion: 0.40
Nodes (5): Controller WebSocket /ws (v1 presets/select), Binary envelope (main/envelope.c, test/binary_envelope.py), v1 driver messages (long/short keys), WebSocket /ws driver message relay, espnow-sender Microdot WebSocket receiver
### Community 98 - "DMX Preset Model" ### Community 98 - "DMX Preset Model"
Cohesion: 0.13 Cohesion: 0.13
Nodes (8): _expand(), _preset_from_map(), process_data(), _select_entries(), _targets_for_key(), play(), _parse_colour(), Preset Nodes (8): _expand(), _preset_from_map(), process_data(), _select_entries(), _targets_for_key(), play(), _parse_colour(), Preset
### Community 99 - "httpd_txrx.c" ### Community 99 - "httpd_txrx.c"
Cohesion: 0.12 Cohesion: 0.10
Nodes (37): esp_app_get_description(), httpd_err_code_t, httpd_resp_sendstr(), httpd_default_recv(), httpd_default_send(), httpd_recv(), httpd_register_err_handler(), httpd_req_async_handler_begin() (+29 more) Nodes (45): esp_app_get_description(), httpd_resp_send_404(), httpd_resp_send_408(), httpd_resp_sendstr(), httpd_resp_sendstr_chunk(), httpd_req_async_handler_begin(), httpd_req_recv(), httpd_resp_send() (+37 more)
### Community 101 - "Groups UI (JS)" ### Community 101 - "Groups UI (JS)"
Cohesion: 0.29 Cohesion: 0.29
@@ -633,29 +626,29 @@ 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) 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 - "USB ESP-NOW bridge" ### Community 106 - "USB ESP-NOW bridge"
Cohesion: 0.13 Cohesion: 0.12
Nodes (13): Build and flash, Channel, Ethernet (W5500), Microphone (S3), Protocol, Running the controller against it, USB ESP-NOW bridge, How it is built (+5 more) Nodes (14): Build and flash, Channel, Ethernet (W5500), Microphone (S3), Protocol, Running the controller against it, USB ESP-NOW bridge, Build and run (+6 more)
### Community 107 - "main" ### Community 107 - "main"
Cohesion: 0.18 Cohesion: 0.18
Nodes (8): find_devices(), probe(), sweep(), load_rig(), local_prefix(), main(), neighbours(), set_fps() Nodes (8): find_devices(), probe(), sweep(), load_rig(), local_prefix(), main(), neighbours(), set_fps()
### Community 108 - "rig_seed.py" ### Community 108 - "BridgeSim"
Cohesion: 0.13 Cohesion: 0.04
Nodes (13): sync_patterns(), normalise_layout(), _reversed_for_column(), rig_placements(), side_name(), strip_count(), strip_places(), StripPlace (+5 more) Nodes (27): BridgeSim, api_seed_layout(), index(), driver_mac(), lan_ip(), load_config(), mac_str(), main() (+19 more)
### Community 109 - "Driver Message API Docs" ### Community 109 - "Driver Message API Docs"
Cohesion: 0.38 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) 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 110 - "run_soak"
Cohesion: 0.18
Nodes (6): get(), Missing, output_scale(), run_soak(), sample(), soft_get()
### Community 111 - "led_strip Manifest" ### Community 111 - "led_strip Manifest"
Cohesion: 0.20 Cohesion: 0.20
Nodes (9): dependencies, idf, description, repository, repository_info, commit_sha, path, url (+1 more) Nodes (9): dependencies, idf, description, repository, repository_info, commit_sha, path, url (+1 more)
### Community 112 - "EMSCRIPTEN_KEEPALIVE"
Cohesion: 0.22
Nodes (8): patterns_count(), patterns_name(), fx_count(), fx_init(), fx_name(), fx_step(), sim_nvs_load(), sim_clock_set_us()
### Community 113 - "Outputs UI (JS)" ### Community 113 - "Outputs UI (JS)"
Cohesion: 0.33 Cohesion: 0.33
Nodes (8): fetchOutputs(), loadOutputsModal(), openOutputEditor(), OUTPUT_PROTOCOL_LABELS, outputSummary(), renderOutputsList(), setOutputField(), syncOutputProtocolFields() Nodes (8): fetchOutputs(), loadOutputsModal(), openOutputEditor(), OUTPUT_PROTOCOL_LABELS, outputSummary(), renderOutputsList(), setOutputField(), syncOutputProtocolFields()
@@ -673,7 +666,7 @@ 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) 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 - "outputs.c" ### Community 117 - "outputs.c"
Cohesion: 0.32 Cohesion: 0.41
Nodes (11): fail(), fill(), one_of(), put16(), resolve(), run_test(), send_artnet(), send_ddp() (+3 more) Nodes (11): fail(), fill(), one_of(), put16(), resolve(), run_test(), send_artnet(), send_ddp() (+3 more)
### Community 118 - "Help: Header Toolbar Image" ### Community 118 - "Help: Header Toolbar Image"
@@ -701,16 +694,16 @@ 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 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 - "esp_httpd_priv.h" ### Community 124 - "esp_httpd_priv.h"
Cohesion: 0.18 Cohesion: 0.15
Nodes (20): desktop_base64_encode(), desktop_sha1(), rol(), sha1_block(), httpd_ws_frame_t, httpd_recv_opt_t, httpd_recv_pending(), httpd_recv_with_opt() (+12 more) Nodes (22): desktop_base64_encode(), desktop_sha1(), rol(), sha1_block(), httpd_ws_client_info_t, httpd_ws_frame_t, transfer_complete_cb, httpd_send() (+14 more)
### Community 125 - "led_strip_spi_dev.c" ### Community 125 - "led_strip_spi_dev.c"
Cohesion: 0.06 Cohesion: 0.10
Nodes (38): heap_caps_calloc(), app_main(), app_main(), configure_led(), app_main(), configure_led(), led_strip_rmt_config_t, led_strip_spi_config_t (+30 more) Nodes (23): heap_caps_calloc(), led_strip_rmt_config_t, led_strip_config_t, led_strip_t, led_strip_new_rmt_device(), led_strip_rmt_clear(), led_strip_rmt_del(), led_strip_rmt_refresh() (+15 more)
### Community 126 - "esp_http_server_dispatch_event" ### Community 126 - "app_main"
Cohesion: 0.33 Cohesion: 0.07
Nodes (4): esp_err_to_name(), esp_event_post(), esp_read_mac(), esp_http_server_dispatch_event() Nodes (25): esp_err_to_name(), esp_event_loop_create_default(), esp_event_post(), esp_read_mac(), cJSON_Hooks, cJSON_InitHooks(), esp_http_server_dispatch_event(), engine_init() (+17 more)
### Community 128 - "httpd_ctrl_data" ### Community 128 - "httpd_ctrl_data"
Cohesion: 0.22 Cohesion: 0.22
@@ -724,21 +717,17 @@ Nodes (6): Custom Color Picker Demo (screenshot), Hex and RGB input support, HSB
Cohesion: 0.33 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) 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 - "flags" ### Community 131 - "beat_start"
Cohesion: 0.22 Cohesion: 0.29
Nodes (9): flags, F_CHUNKED, F_CONNECTION_CLOSE, F_CONNECTION_KEEP_ALIVE, F_CONNECTION_UPGRADE, F_CONTENTLENGTH, F_SKIPBODY, F_TRAILING (+1 more) Nodes (4): mic_start(), beat_start(), bridge_set_audio_cb(), bridge_serial_set_audio_cb()
### Community 132 - "microdot.py" ### Community 132 - "microdot.py"
Cohesion: 0.10 Cohesion: 0.10
Nodes (5): invoke_handler(), iscoroutine(), Response, aclose(), __anext__() Nodes (5): invoke_handler(), iscoroutine(), Response, aclose(), __anext__()
### Community 133 - "http_parser_url_fields" ### Community 133 - "pattern_def_t"
Cohesion: 0.22 Cohesion: 0.40
Nodes (9): http_parser_url_fields, UF_FRAGMENT, UF_HOST, UF_MAX, UF_PATH, UF_PORT, UF_QUERY, UF_SCHEMA (+1 more) Nodes (5): fx_fn, pattern_def_t, fn, name, web_each()
### Community 137 - "time"
Cohesion: 0.15
Nodes (9): Blink, Pulse, sleep(), sleep_ms(), sleep_us(), ticks_diff(), ticks_ms(), ticks_us() (+1 more)
### Community 138 - "Help: Colour Palette Image" ### Community 138 - "Help: Colour Palette Image"
Cohesion: 0.40 Cohesion: 0.40
@@ -761,8 +750,8 @@ Cohesion: 0.33
Nodes (5): dependencies, espressif/led_strip, idf, override_path, version Nodes (5): dependencies, espressif/led_strip, idf, override_path, version
### Community 143 - "test_rig_sim.py" ### Community 143 - "test_rig_sim.py"
Cohesion: 0.10 Cohesion: 0.12
Nodes (28): all_dark(), col_of(), frames(), led_x(), lit(), mac(), make_preset(), need_sim() (+20 more) Nodes (26): all_dark(), col_of(), frames(), led_x(), lit(), mac(), make_preset(), places() (+18 more)
### Community 145 - "Help PDF: Modes" ### Community 145 - "Help PDF: Modes"
Cohesion: 0.40 Cohesion: 0.40
@@ -772,9 +761,9 @@ Nodes (4): Edit mode, Mobile layout Menu, Run mode, Zones modal
Cohesion: 0.60 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) 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 - "api_error" ### Community 149 - "patterns.c"
Cohesion: 0.10 Cohesion: 0.25
Nodes (58): httpd_req_t, httpd_resp_send_500(), api_body(), api_body_opt(), api_current_profile(), api_error(), api_json(), api_merge() (+50 more) Nodes (18): add_name(), all_patterns(), base_name(), builtin(), create_driver_pattern(), exists(), file_names(), file_path() (+10 more)
### Community 155 - "app.js" ### Community 155 - "app.js"
Cohesion: 0.11 Cohesion: 0.11
@@ -805,7 +794,7 @@ Cohesion: 0.15
Nodes (9): add_ptr(), build_query(), decode_name(), handle_rr(), mdns_dup(), mdns_query_ptr(), mdns_query_results_free(), parse_packet() (+1 more) Nodes (9): add_ptr(), build_query(), decode_name(), handle_rr(), mdns_dup(), mdns_query_ptr(), mdns_query_results_free(), parse_packet() (+1 more)
### Community 167 - "SerialDMX" ### Community 167 - "SerialDMX"
Cohesion: 0.24 Cohesion: 0.28
Nodes (3): sleep_ms(), SerialDMX, sleep() Nodes (3): sleep_ms(), SerialDMX, sleep()
### Community 170 - "dependencies" ### Community 170 - "dependencies"
@@ -816,25 +805,17 @@ Nodes (13): dependencies, espressif/cjson, espressif/mdns, espressif/w5500, jolt
Cohesion: 0.83 Cohesion: 0.83
Nodes (3): applyListSearch(), initListSearch(), rowSearchText() Nodes (3): applyListSearch(), initListSearch(), rowSearchText()
### Community 177 - "espnow_tx.c" ### Community 177 - "bulk_task"
Cohesion: 0.05 Cohesion: 0.12
Nodes (48): ensure_peer(), tx_task(), esp_event_loop_create_default(), cJSON_Hooks, cJSON_InitHooks(), espnow_link_start(), bench_running(), bench_stop() (+40 more) Nodes (21): ensure_peer(), tx_task(), bench_on_echo(), bridge_active(), bridge_send(), bulk_task(), espnow_tx_drop(), espnow_tx_set_rx_cb() (+13 more)
### Community 178 - "mac_str" ### Community 184 - "vTaskDelete"
Cohesion: 0.25 Cohesion: 0.09
Nodes (3): api_seed_layout(), index(), mac_str() Nodes (28): httpd_os_thread_sleep(), vQueueDelete(), vTaskDelete(), httpd_queue_work(), httpd_stop(), httpd_req_async_handler_complete(), httpd_req_to_sockfd(), cs_send_to_ctrl_sock() (+20 more)
### Community 179 - "load_config"
Cohesion: 0.33
Nodes (3): load_config(), _merge(), _read_json()
### Community 184 - "beat.c"
Cohesion: 0.07
Nodes (31): vQueueDelete(), httpd_req_async_handler_complete(), httpd_req_to_sockfd(), events_task(), send_all(), audio_stream_task(), beats_get_handler(), beats_stream_task() (+23 more)
### Community 197 - "cJSON_GetObjectItem" ### Community 197 - "cJSON_GetObjectItem"
Cohesion: 0.10 Cohesion: 0.09
Nodes (76): cJSON_AddItemReferenceToObject(), cJSON_CreateBool(), cJSON_CreateString(), cJSON_DeleteItemFromObject(), cJSON_Duplicate(), cJSON_IsObject(), cJSON_ReplaceItemInObject(), api_add() (+68 more) Nodes (109): cJSON_AddItemReferenceToObject(), cJSON_CreateString(), cJSON_DeleteItemFromObject(), cJSON_Duplicate(), cJSON_GetObjectItem(), cJSON_IsBool(), cJSON_ReplaceItemInObject(), httpd_req_t (+101 more)
### Community 198 - "Transport" ### Community 198 - "Transport"
Cohesion: 0.23 Cohesion: 0.23
@@ -844,25 +825,21 @@ Nodes (3): _convert_filesystem_error(), stdout_write_bytes(), Transport
Cohesion: 0.20 Cohesion: 0.20
Nodes (10): httpd_req, aux, content_len, free_ctx, handle, ignore_sess_ctx_changes, method, sess_ctx (+2 more) Nodes (10): httpd_req, aux, content_len, free_ctx, handle, ignore_sess_ctx_changes, method, sess_ctx (+2 more)
### Community 201 - "http_parser_type"
Cohesion: 0.50
Nodes (4): http_parser_type, HTTP_BOTH, HTTP_REQUEST, HTTP_RESPONSE
### Community 202 - "json" ### Community 202 - "json"
Cohesion: 0.09 Cohesion: 0.06
Nodes (11): call(), main(), switch(), wifi_state(), _default_image(), _info(), ota_update(), _default_image() (+3 more) Nodes (21): Blink, Pulse, call(), main(), switch(), wifi_state(), _default_image(), _info() (+13 more)
### Community 203 - "desktop_main.c" ### Community 203 - "string"
Cohesion: 0.60 Cohesion: 0.10
Nodes (3): main(), set_from_env(), usage() Nodes (6): main(), set_from_env(), usage(), string, ota_confirm_later(), mic_get_level()
### Community 204 - "_simlink_proc.py" ### Community 204 - "_simlink_proc.py"
Cohesion: 0.16 Cohesion: 0.15
Nodes (5): connect(), on_feed(), push_pixels(), _reader(), _send_pixels() Nodes (5): connect(), on_feed(), push_pixels(), _reader(), _send_pixels()
### Community 205 - "esp_http_server.h" ### Community 205 - "httpd_ws_frame"
Cohesion: 0.08 Cohesion: 0.25
Nodes (22): esp_http_server_event_data, http_method, httpd_close_func_t, httpd_open_func_t, httpd_resp_send_404(), httpd_resp_send_408(), httpd_resp_sendstr_chunk(), httpd_uri (+14 more) Nodes (8): httpd_ws_frame, final, fragmented, left_len, len, payload, type, httpd_ws_type_t
### Community 207 - "relay_forward" ### Community 207 - "relay_forward"
Cohesion: 0.11 Cohesion: 0.11
@@ -882,22 +859,22 @@ Nodes (3): fixtureEnd(), fixtureLeds(), roomStrips()
## Knowledge Gaps ## Knowledge Gaps
- **297 isolated node(s):** `next`, `prev`, `child`, `type`, `valuestring` (+292 more) - **297 isolated node(s):** `next`, `prev`, `child`, `type`, `valuestring` (+292 more)
These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 1235 node(s) total have ≤1 connection when file, concept and rationale nodes are included.) These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 1236 node(s) total have ≤1 connection when file, concept and rationale nodes are included.)
- **65 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes. - **67 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
## Suggested Questions ## Suggested Questions
_Questions this graph is uniquely positioned to answer:_ _Questions this graph is uniquely positioned to answer:_
- **Why does `string` connect `esp_err.h` to `cJSON`, `sim_rig.c`, `freertos.c`, `api_error`, `cJSON_IsString`, `seqplay.c`, `cJSON_CreateObject`, `httpd_parse.c`, `cJSON_Delete`, `mdns_host.c`, `Beat Detection DSP (C)`, `xSemaphoreGive`, `http_parser.c`, `espnow_tx.c`, `mic_alsa.c`, `nvs_sim.cpp`, `httpd_uri.c`, `cJSON_GetObjectItem`, `rel.c`, `desktop_main.c`, `esp_http_server.h`, `web.c`, `bridge_serial.c`, `Type`, `outputs.c`, `esp_httpd_priv.h`, `led_strip_spi_dev.c`?** - **Why does `string` connect `string` to `cJSON`, `sim_rig.c`, `esp_err.h`, `freertos.c`, `bridge.c`, `cJSON_IsString`, `patterns.c`, `seqplay.c`, `cJSON_CreateObject`, `httpd_parse.c`, `cJSON_Delete`, `mdns_host.c`, `Beat Detection DSP (C)`, `bench.c`, `esp_glue.c`, `sim_glue.c`, `mic_alsa.c`, `nvs_sim.cpp`, `httpd_uri.c`, `cJSON_GetObjectItem`, `rel.c`, `esp_log.h`, `net.cpp`, `httpd_txrx.c`, `outputs.c`, `esp_httpd_priv.h`, `led_strip_spi_dev.c`?**
_High betweenness centrality (0.061) - this node is a cross-community bridge._ _High betweenness centrality (0.063) - this node is a cross-community bridge._
- **Are the 190 inferred relationships involving `cJSON_GetObjectItem()` (e.g. with `list_pulse_sources()` and `apply_default()`) actually correct?** - **Are the 190 inferred relationships involving `cJSON_GetObjectItem()` (e.g. with `list_pulse_sources()` and `apply_default()`) actually correct?**
_`cJSON_GetObjectItem()` has 190 INFERRED edges - model-reasoned connections that need verification._ _`cJSON_GetObjectItem()` has 190 INFERRED edges - model-reasoned connections that need verification._
- **What connects `next`, `prev`, `child` to the rest of the system?** - **What connects `next`, `prev`, `child` to the rest of the system?**
_297 weakly-connected nodes found - possible documentation gaps or missing edges._ _297 weakly-connected nodes found - possible documentation gaps or missing edges._
- **Should `IdfDevice` be split into smaller, more focused modules?** - **Should `IdfDevice` be split into smaller, more focused modules?**
_Cohesion score 0.09411764705882353 - nodes in this community are weakly interconnected._ _Cohesion score 0.10037878787878787 - nodes in this community are weakly interconnected._
- **Why does `PyboardCommand` connect `PyboardCommand` to `SerialTransport`?** - **Why does `led-controller ESP32-S3 firmware` connect `USB ESP-NOW bridge` to `v1 driver messages (long/short keys)`, `API Docs: Outputs & Audio`, `DMX Driver Art-Net and serial gateway`, `Controller Overview & OTA Docs`?**
_High betweenness centrality (0.027) - this node is a cross-community bridge._ _High betweenness centrality (0.030) - this node is a cross-community bridge._
- **Are the 114 inferred relationships involving `cJSON_Delete()` (e.g. with `list_pulse_sources()` and `ctrl_handle()`) actually correct?** - **Are the 114 inferred relationships involving `cJSON_Delete()` (e.g. with `list_pulse_sources()` and `ctrl_handle()`) actually correct?**
_`cJSON_Delete()` has 114 INFERRED edges - model-reasoned connections that need verification._ _`cJSON_Delete()` has 114 INFERRED edges - model-reasoned connections that need verification._
- **Should `htmx Library` be split into smaller, more focused modules?** - **Should `htmx Library` be split into smaller, more focused modules?**
+1 -1
View File
@@ -1 +1 @@
{"directed":false,"multigraph":false,"graph":{"hyperedges":[{"id":"audio_page_endpoints","label":"Audio page live endpoints","nodes":["web_audio_status","web_audio_beats","web_audio_audio_wav","web_audio_time","web_audio_tap_ep"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"web/audio.html"},{"id":"beat_latency_measurement","label":"Beat latency measurement methods","nodes":["docs_api_bench_endpoints","docs_bench_test_usb_latency","docs_bench_test_logic_analyzer","docs_bench_test_beat_lead"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/BENCH_TEST.md"},{"id":"brightness_combination","label":"Combined brightness factors","nodes":["docs_api_combined_brightness","docs_api_settings","docs_api_groups","docs_api_devices","docs_api_zones"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/API.md"},{"id":"color_picker_feature_set","label":"Color picker feature set","nodes":["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"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/color-picker-demo.png"},{"id":"docs_help_edit_mode_management","label":"Edit-mode-only management features","nodes":["docs_help_edit_mode","docs_help_zones_modal","docs_help_send_presets","docs_help_patterns_dialog","docs_help_colour_palette","docs_help_presets_list"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/help.pdf"},{"id":"docs_help_preset_editor_actions","label":"Preset editor actions (Try, Default, Save & Send, Remove from zone)","nodes":["docs_help_try_action","docs_help_default_preset","docs_help_save_and_send","docs_help_remove_from_zone"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/help.pdf"},{"id":"docs_images_help_mobile_menu_header_actions","label":"Header actions aggregated in mobile Menu","nodes":["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"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/images/help/mobile-menu.svg"},{"id":"docs_mockups_device_modal_flow","label":"Device/Group Modal Flow","nodes":["docs_mockups_device_management_showadddevicemodal","docs_mockups_device_management_showaddgroupmodal","docs_mockups_device_management_closemodal","docs_mockups_device_management_savedevice"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/device-management.html"},{"id":"docs_mockups_images_index_ui_mockup_set","label":"LED Driver UI Mockup Set","nodes":["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"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/index.png"},{"id":"docs_mockups_images_pattern_selector_led_patterns","label":"Selectable LED Patterns","nodes":["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"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/pattern-selector.png"},{"id":"docs_mockups_preset_schema","label":"Preset/pattern configuration schema (pattern, colors, delay, step increment, N1-N8)","nodes":["docs_mockups_presets_led_patterns","docs_mockups_presets_delay","docs_mockups_presets_step_increment","docs_mockups_presets_n_parameters","docs_mockups_presets_step_offset"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/presets.html"},{"id":"docs_mockups_settings_sections","label":"Device settings sections","nodes":["docs_mockups_settings_basic_settings","docs_mockups_settings_pattern_settings","docs_mockups_settings_advanced_settings","docs_mockups_settings_network_settings"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/settings.html"},{"id":"docs_mockups_ui_mockup_suite","label":"LED Driver UI Mockup Suite","nodes":["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"],"relation":"foLine truncated {"directed":false,"multigraph":false,"graph":{"hyperedges":[{"id":"audio_page_endpoints","label":"Audio page live endpoints","nodes":["web_audio_status","web_audio_beats","web_audio_audio_wav","web_audio_time","web_audio_tap_ep"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"web/audio.html"},{"id":"beat_latency_measurement","label":"Beat latency measurement methods","nodes":["docs_api_bench_endpoints","docs_bench_test_usb_latency","docs_bench_test_logic_analyzer","docs_bench_test_beat_lead"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/BENCH_TEST.md"},{"id":"brightness_combination","label":"Combined brightness factors","nodes":["docs_api_combined_brightness","docs_api_settings","docs_api_groups","docs_api_devices","docs_api_zones"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/API.md"},{"id":"color_picker_feature_set","label":"Color picker feature set","nodes":["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"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/color-picker-demo.png"},{"id":"docs_help_edit_mode_management","label":"Edit-mode-only management features","nodes":["docs_help_edit_mode","docs_help_zones_modal","docs_help_send_presets","docs_help_patterns_dialog","docs_help_colour_palette","docs_help_presets_list"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/help.pdf"},{"id":"docs_help_preset_editor_actions","label":"Preset editor actions (Try, Default, Save & Send, Remove from zone)","nodes":["docs_help_try_action","docs_help_default_preset","docs_help_save_and_send","docs_help_remove_from_zone"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/help.pdf"},{"id":"docs_images_help_mobile_menu_header_actions","label":"Header actions aggregated in mobile Menu","nodes":["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"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/images/help/mobile-menu.svg"},{"id":"docs_mockups_device_modal_flow","label":"Device/Group Modal Flow","nodes":["docs_mockups_device_management_showadddevicemodal","docs_mockups_device_management_showaddgroupmodal","docs_mockups_device_management_closemodal","docs_mockups_device_management_savedevice"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/device-management.html"},{"id":"docs_mockups_images_index_ui_mockup_set","label":"LED Driver UI Mockup Set","nodes":["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"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/index.png"},{"id":"docs_mockups_images_pattern_selector_led_patterns","label":"Selectable LED Patterns","nodes":["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"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/pattern-selector.png"},{"id":"docs_mockups_preset_schema","label":"Preset/pattern configuration schema (pattern, colors, delay, step increment, N1-N8)","nodes":["docs_mockups_presets_led_patterns","docs_mockups_presets_delay","docs_mockups_presets_step_increment","docs_mockups_presets_n_parameters","docs_mockups_presets_step_offset"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/presets.html"},{"id":"docs_mockups_settings_sections","label":"Device settings sections","nodes":["docs_mockups_settings_basic_settings","docs_mockups_settings_pattern_settings","docs_mockups_settings_advanced_settings","docs_mockups_settings_network_settings"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/settings.html"},{"id":"docs_mockups_ui_mockup_suite","label":"LED Driver UI Mockup Suite","nodes":["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"],"relation":"foLine truncated
+12 -12
View File
@@ -582,9 +582,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"main/seqplay.c": { "main/seqplay.c": {
"mtime": 1794744220.522299, "mtime": 1794811284.3836346,
"seen": 1794744331.1243594, "seen": 1794811340.2405632,
"ast_hash": "b8eed0ae06c276c63e91a12f64a366a4", "ast_hash": "df53d600b82e177531b2fab2f1c5c071",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/seqplay.h": { "main/seqplay.h": {
@@ -828,9 +828,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"test/api/test_sequences.py": { "test/api/test_sequences.py": {
"mtime": 1794744234.6046643, "mtime": 1794811321.6382563,
"seen": 1794744331.125877, "seen": 1794811340.2433476,
"ast_hash": "7307bab1ca43268afb9998479c3c98e3", "ast_hash": "019941b581ec786d670e9c267f117533",
"semantic_hash": "" "semantic_hash": ""
}, },
"test/api/test_settings.py": { "test/api/test_settings.py": {
@@ -984,9 +984,9 @@
"semantic_hash": "affb16a725a7bb69dda0b7488068666a" "semantic_hash": "affb16a725a7bb69dda0b7488068666a"
}, },
"web/static/sequences.js": { "web/static/sequences.js": {
"mtime": 1794744220.5228508, "mtime": 1794811284.328768,
"seen": 1794744331.1266494, "seen": 1794811340.2443218,
"ast_hash": "e813e7d3726d38fc90be02b1d3ad69c6", "ast_hash": "bf4e48445d1d2f1d91ef44c883eae419",
"semantic_hash": "" "semantic_hash": ""
}, },
"web/static/zone-devices-panel.js": { "web/static/zone-devices-panel.js": {
@@ -2442,9 +2442,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"web/static/seq_timeline.js": { "web/static/seq_timeline.js": {
"mtime": 1794744220.5226705, "mtime": 1794811292.3481793,
"seen": 1794744331.1266475, "seen": 1794811340.2443202,
"ast_hash": "bf189faf39c8de35a88c0b40221d36a3", "ast_hash": "0345913ae651f3e1085035c865d64778",
"semantic_hash": "" "semantic_hash": ""
}, },
".claude/launch.json": { ".claude/launch.json": {
@@ -0,0 +1,83 @@
{
"1": "htmx Library",
"3": "Browser Tests & Mockup Images",
"4": "Audio UI (JS)",
"7": "led-tool Device CLI",
"10": "Spec: Pi Animation Engine",
"12": "Presets UI (JS)",
"13": "Zones UI (JS)",
"16": "Sequences UI (JS)",
"19": "led_strip Component Docs",
"20": "Art-Net Output",
"28": "Devices UI (JS)",
"30": "Colour Picker Mockups",
"36": "API Docs: Outputs & Audio",
"39": "Beat Detection DSP (C)",
"47": "USB Latency Tools",
"48": "Colour Picker JS",
"49": "Chromium Colour Picker JS",
"51": "API Tests: Devices",
"53": "mpremote Transport",
"61": "API Test Fixtures & Audio",
"62": "Microdot Request (dmx)",
"63": "Help: Zones & Palette",
"70": "Index Page Modals",
"73": "Microdot WebSocket (dmx)",
"76": "Controller Overview & OTA Docs",
"79": "Audio Monitor Page",
"85": "ESP-NOW Sender Bridge",
"87": "Microdot Async IO (dmx)",
"88": "DMX Settings",
"91": "Microdot Routing (dmx)",
"95": "Microdot Auth (dmx)",
"98": "DMX Preset Model",
"101": "Groups UI (JS)",
"103": "Help: Mobile Menu Image",
"104": "Pattern Selector Mockup Image",
"105": "Driver Pattern Docs",
"109": "Driver Message API Docs",
"111": "led_strip Manifest",
"113": "Outputs UI (JS)",
"115": "Help PDF: Overview",
"116": "Mockups Index Image",
"118": "Help: Header Toolbar Image",
"119": "Help: Preset Editor Image",
"120": "Dashboard Mockup Image",
"121": "Device Management Mockup Image",
"122": "Presets Mockup Image",
"123": "Pattern Contract",
"127": "Numpad Shortcuts (JS)",
"129": "Colour Picker Demo Image",
"130": "Settings Mockup Image",
"134": "API Tests: Settings",
"138": "Help: Colour Palette Image",
"140": "LED Driver README",
"142": "SPI Example Manifest",
"145": "Help PDF: Modes",
"146": "Help: Tab Preset Strip Image",
"156": "RMT Example Manifest",
"157": "Help Tab JS",
"158": "Settings Page Template",
"171": "List Search (JS)",
"172": "DMX Solid Pattern",
"173": "led-test Manifest",
"174": "VPN Autoconnect Script",
"175": "Zone Devices Panel",
"176": "graphify Instructions",
"180": "Device Mockup Modals",
"181": "bulk.sh Script",
"182": "deploy.sh Script",
"183": "Driver install.sh",
"185": "led-tool install.sh",
"186": "Help PDF Build Script",
"187": "Web Build Script",
"188": "Patterns UI (JS)",
"189": "DMX Patterns Init",
"190": "Mockup Tab Switch",
"191": "Spec: Pattern Selector UI",
"192": "mpremote Package",
"193": "Bundle Import/Export (JS)",
"194": "Colour Palette (JS)",
"195": "Profiles UI (JS)",
"196": "Zone Palette (JS)"
}
+883
View File
@@ -0,0 +1,883 @@
# Graph Report - led-controller (2026-11-17)
## Corpus Check
- 388 files · ~686,572 words
- Verdict: corpus is large enough that graph structure adds value.
- Unclassified: 1320 file(s) not represented in the graph (top: .obj 884, .cmake 160, .a 104)
## Summary
- 4940 nodes · 14532 edges · 214 communities (150 shown, 64 thin omitted)
- Extraction: 75% EXTRACTED · 25% INFERRED · 0% AMBIGUOUS · INFERRED: 3703 edges (avg confidence: 0.85)
- Token cost: 0 input · 0 output
## Graph Freshness
- Built from commit: `8c783ab9`
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost).
## Community Hubs (Navigation)
- IdfDevice
- htmx Library
- res_device.c
- Browser Tests & Mockup Images
- Audio UI (JS)
- cJSON
- controller
- led-tool Device CLI
- ab
- Compiler
- Spec: Pi Animation Engine
- seq_timeline.js
- Presets UI (JS)
- Zones UI (JS)
- cJSON_Delete
- unique
- Sequences UI (JS)
- PyboardCommand
- esp_err.h
- led_strip Component Docs
- Art-Net Output
- freertos.c
- BridgeSim
- cJSON_IsString
- test_presets.py
- Microdot
- cJSON_CreateObject
- bridge_sim.py
- Devices UI (JS)
- binary_envelope.py
- Colour Picker Mockups
- machine.py
- httpd_sess.c
- httpd_parse.c
- test_sequences.py
- esp_timer_create
- API Docs: Outputs & Audio
- outputs.c
- socket
- Beat Detection DSP (C)
- xSemaphoreGive
- WS2812
- run_all
- sock_db
- httpd_handle_t
- http_parser.h
- beat_start
- USB Latency Tools
- Colour Picker JS
- Chromium Colour Picker JS
- steps
- API Tests: Devices
- espnow_link.cpp
- mpremote Transport
- patterns_start
- httpd_ws_frame
- test_outputs.py
- httpd_config
- gallery.js
- mic_alsa.c
- app_main
- API Test Fixtures & Audio
- Microdot Request (dmx)
- Help: Zones & Palette
- ddp_test.py
- ESPNow
- bridge_main.c
- auth.js
- Transport
- auth.c
- Index Page Modals
- sim_glue.c
- httpd_data
- Microdot WebSocket (dmx)
- presets.cpp
- v1 driver messages (long/short keys)
- Controller Overview & OTA Docs
- bridge_main.c
- sim_split.js
- Audio Monitor Page
- artnet_dmx.py
- OutputManager
- events
- sim_rig.c
- unique
- ESP-NOW Sender Bridge
- desktop_main.c
- Microdot Async IO (dmx)
- DMX Settings
- load_lanes
- Sender
- Microdot Routing (dmx)
- httpd_os_thread_create
- events
- httpd_txrx.c
- Microdot Auth (dmx)
- web.cpp
- settings_load_net
- DMX Preset Model
- sim_stubs.c
- Pin
- Groups UI (JS)
- httpd_req_aux
- Help: Mobile Menu Image
- Pattern Selector Mockup Image
- Driver Pattern Docs
- USB ESP-NOW bridge
- main
- Asm
- Driver Message API Docs
- run_soak
- led_strip Manifest
- test_auth.py
- Outputs UI (JS)
- dependencies
- Help PDF: Overview
- Mockups Index Image
- test_routes.py
- Help: Header Toolbar Image
- Help: Preset Editor Image
- Dashboard Mockup Image
- Device Management Mockup Image
- Presets Mockup Image
- Pattern Contract
- esp_httpd_priv.h
- led_strip_spi_dev.c
- status_get_handler
- Numpad Shortcuts (JS)
- Type
- Colour Picker Demo Image
- Settings Mockup Image
- httpd_ctrl_data
- microdot.py
- esp_http_server_dispatch_event
- PatternPlayer
- HttpDevice
- api_call_t
- Help: Colour Palette Image
- esp_err_t
- LED Driver README
- DMX Driver Art-Net and serial gateway
- SPI Example Manifest
- test_rig_sim.py
- settings_editor.js
- Help PDF: Modes
- Help: Tab Preset Strip Image
- api_error
- vendor.sh
- app.js
- RMT Example Manifest
- Help Tab JS
- Settings Page Template
- led-driver/web/app.js
- thread_data
- wifi_drv.c
- SerialDMX
- nvs_sim.cpp
- build_sim_web.sh
- dependencies
- List Search (JS)
- DMX Solid Pattern
- led-test Manifest
- VPN Autoconnect Script
- graphify Instructions
- bulk.sh Script
- deploy.sh Script
- Driver install.sh
- led-tool install.sh
- Help PDF Build Script
- Web Build Script
- Spec: Pattern Selector UI
- cJSON_CreateString
- sys
- HTTPException
- requests
- time
- web.c
- _simlink_proc.py
- httpd_req
- WLAN
- MultiDict
- build.sh
- dependencies
- examples/blink.py
- driver-worker.js
- layout.js
- README.md
## God Nodes (most connected - your core abstractions)
1. `cJSON` - 268 edges
2. `cJSON_GetObjectItem()` - 213 edges
3. `httpd_req_t` - 178 edges
4. `cJSON_Delete()` - 149 edges
5. `cJSON_CreateObject()` - 145 edges
6. `cJSON_IsString()` - 111 edges
7. `cJSON_AddStringToObject()` - 106 edges
8. `store_coll()` - 99 edges
9. `xSemaphoreTake()` - 68 edges
10. `xSemaphoreGive()` - 68 edges
## Surprising Connections (you probably didn't know these)
- `Channel` --references--> `bridge_serial_set_channel()` [INFERRED]
bridge/README.md → main/bridge_serial.c
- `Build and run` --references--> `info()` [INFERRED]
desktop/README.md → tools/ota.py
- `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.md
- `log_task()` --calls--> `xQueueReceive()` [INFERRED]
main/bench.c → desktop/port/src/freertos.c
- `status_payload()` --calls--> `mic_error()` [INFERRED]
main/audio_api.c → desktop/port/src/mic_alsa.c
## 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 (214 total, 64 thin omitted)
### Community 1 - "htmx Library"
Cohesion: 0.08
Nodes (101): a(), Ae(), an(), at(), B(), be(), bn(), bt() (+93 more)
### Community 2 - "res_device.c"
Cohesion: 0.12
Nodes (39): cJSON_IsNull(), cJSON_IsNumber(), api_body_opt(), setting_int(), have_static_ips(), parse_static(), try_static_ips(), num() (+31 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"
Cohesion: 0.05
Nodes (86): add_item_to_array(), buffer_skip_whitespace(), case_insensitive_strcmp(), cast_away_const(), cJSON, cJSON_AddItemReferenceToArray(), cJSON_AddItemToObjectCS(), cJSON_AddRawToObject() (+78 more)
### Community 6 - "controller"
Cohesion: 0.05
Nodes (39): internal, context, dockerfile, build, cap_drop, condition, environment, expose (+31 more)
### Community 7 - "led-tool Device CLI"
Cohesion: 0.05
Nodes (22): download_presets(), download_settings(), _get_ordered_actions(), _hex_rgb(), _idf_post(), _idf_show(), main(), _preset_content() (+14 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 - "seq_timeline.js"
Cohesion: 0.09
Nodes (73): seqTl, seqTlOnOpen(), TL_COLORS, tlAddAt(), tlAddTrack(), tlAutoSnap(), tlBpm(), tlBtn() (+65 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 - "cJSON_Delete"
Cohesion: 0.13
Nodes (48): list_pulse_sources(), cJSON_Delete(), cJSON_free(), cJSON_IsBool(), cJSON_IsTrue(), cJSON_Parse(), cJSON_PrintUnformatted(), net_sta_status() (+40 more)
### Community 15 - "unique"
Cohesion: 0.08
Nodes (12): new_id(), test_preset_round_trip(), test_profile_import_folds_animation_ids(), test_profile_round_trip(), test_sequence_round_trip(), test_window_is_kept(), test_clone(), test_clone_default_name() (+4 more)
### Community 16 - "Sequences UI (JS)"
Cohesion: 0.11
Nodes (32): addSeqTarget(), addSequenceToTab(), appendZoneSequenceTiles(), applySequenceSwitchWaitFromServer(), buildStepPlaySelect(), createSequenceTileRow(), deleteCurrentSequence(), fetchGroupsMapSeq() (+24 more)
### Community 17 - "PyboardCommand"
Cohesion: 0.08
Nodes (5): PyboardCommand, SerialIntercept, SerialTransport, TransportError, TransportExecError
### Community 18 - "esp_err.h"
Cohesion: 0.05
Nodes (23): heap_caps_malloc(), esp_fill_random(), esp_get_free_heap_size(), esp_get_minimum_free_heap_size(), esp_log_level_set(), esp_log_set_vprintf(), esp_log_timestamp(), esp_log_write() (+15 more)
### 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.10
Nodes (10): ArtNet, as_channels(), build_artdmx(), _ip_bytes(), _pad(), port_lo(), sleep_ms(), ticks_diff() (+2 more)
### Community 21 - "freertos.c"
Cohesion: 0.06
Nodes (49): make_deadline(), queue_send(), sem_give(), sem_new(), sem_take(), uxQueueMessagesWaiting(), vEventGroupDelete(), vQueueDelete() (+41 more)
### Community 22 - "BridgeSim"
Cohesion: 0.06
Nodes (11): BridgeSim, api_seed_layout(), index(), driver_mac(), lan_ip(), mac_str(), main(), Strip (+3 more)
### Community 23 - "cJSON_IsString"
Cohesion: 0.09
Nodes (76): cJSON_GetArrayItem(), cJSON_GetArraySize(), cJSON_IsArray(), cJSON_IsString(), apply_default(), apply_select(), json_for_me(), pick_select() (+68 more)
### Community 24 - "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 26 - "cJSON_CreateObject"
Cohesion: 0.10
Nodes (74): add_item_to_object(), cJSON_AddArrayToObject(), cJSON_AddBoolToObject(), cJSON_AddFalseToObject(), cJSON_AddItemToArray(), cJSON_AddItemToObject(), cJSON_AddNullToObject(), cJSON_AddNumberToObject() (+66 more)
### Community 27 - "bridge_sim.py"
Cohesion: 0.11
Nodes (16): load_config(), _merge(), _read_json(), sync_patterns(), normalise_layout(), _reversed_for_column(), rig_placements(), side_name() (+8 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 - "httpd_sess.c"
Cohesion: 0.07
Nodes (45): httpd_os_thread_delete(), httpd_os_thread_sleep(), httpd_free_ctx_fn_t, httpd_req, httpd_session_enum_function, httpd_accept_conn(), httpd_create(), httpd_delete() (+37 more)
### Community 33 - "httpd_parse.c"
Cohesion: 0.06
Nodes (58): httpd_config_t, cb_header_field(), cb_header_value(), cb_headers_complete(), cb_no_body(), cb_on_body(), cb_url(), continue_parsing() (+50 more)
### Community 34 - "test_sequences.py"
Cohesion: 0.17
Nodes (24): clock(), make(), presets(), test_beat_and_time_lanes_together(), test_chase_moves_and_bounces(), test_editing_stops_playback(), test_legacy_animation_kind_plays_once(), test_looping_sequence_as_clip_plays_once() (+16 more)
### Community 35 - "esp_timer_create"
Cohesion: 0.12
Nodes (22): ap_switch_later(), apply_client_ip(), apply_sta_config(), client_allowed(), net_save_network(), net_scan(), net_sta_connect(), on_ip_event() (+14 more)
### Community 36 - "API Docs: Outputs & Audio"
Cohesion: 0.17
Nodes (21): Audio API /api/audio and /audio page routes, Profile/preset/sequence JSON bundles (import/export), Combined brightness (global x groups x device x zone), /db collection export and replace, Devices resource /devices, Driver group membership lists (group ids, z<zone id>), Device groups resource /groups, LED Controller HTTP/JSON API (+13 more)
### Community 37 - "outputs.c"
Cohesion: 0.20
Nodes (16): fail(), fill(), one_of(), put16(), resolve(), run_test(), send_artnet(), send_ddp() (+8 more)
### Community 38 - "socket"
Cohesion: 0.14
Nodes (9): discover(), local_subnet(), main(), discover(), _expand(), _ip(), local_subnet(), ota_drivers() (+1 more)
### Community 39 - "Beat Detection DSP (C)"
Cohesion: 0.23
Nodes (17): beat_feed(), analyse_beat(), bar_cue(), bar_decide(), beat_dsp_bpm(), beat_dsp_feed(), beat_dsp_init(), beat_dsp_tap() (+9 more)
### Community 40 - "xSemaphoreGive"
Cohesion: 0.04
Nodes (87): ctl_task(), udp_task(), bridge_crc16_update(), bridge_decode_feed(), bridge_encode(), vTaskDelay(), xSemaphoreGive(), xSemaphoreTake() (+79 more)
### Community 41 - "WS2812"
Cohesion: 0.06
Nodes (19): new_ws2812_encoder(), rmt_del_ws2812_encoder(), rmt_encode_ws2812(), rmt_ws2812_encoder_reset(), rmt_ws2812_encoder_t, WS2812, channel_, encoder_ (+11 more)
### Community 42 - "run_all"
Cohesion: 0.12
Nodes (13): dim(), expected(), frame(), frame_sum(), mismatch_detail(), packet(), read_serial(), run_all() (+5 more)
### Community 43 - "sock_db"
Cohesion: 0.07
Nodes (31): httpd_pending_func_t, httpd_recv_func_t, httpd_send_func_t, httpd_recv_opt_t, sock_db, ctx, fd, for_async_req (+23 more)
### Community 44 - "httpd_handle_t"
Cohesion: 0.14
Nodes (31): httpd_err_code_t, httpd_err_handler_func_t, httpd_handle_t, httpd_method_t, httpd_uri, method, httpd_uri_t, uri (+23 more)
### 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 - "beat_start"
Cohesion: 0.11
Nodes (18): beat_start(), led_off_cb(), led_set(), bench_on_beat_tx(), bench_running(), bench_start(), bench_stop(), gen_cb() (+10 more)
### Community 47 - "USB Latency Tools"
Cohesion: 0.10
Nodes (17): analyze(), edges(), main(), pct(), read(), Api, main(), group() (+9 more)
### Community 50 - "steps"
Cohesion: 0.10
Nodes (19): TAG, TOKEN, jobs, release, name, on, push, contents (+11 more)
### Community 52 - "espnow_link.cpp"
Cohesion: 0.09
Nodes (29): on_recv(), beat_on_frame(), asm_find(), asm_free(), Done, done_add(), done_has(), mac (+21 more)
### 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 - "patterns_start"
Cohesion: 0.29
Nodes (8): clamp_leds(), frame_alloc(), patterns_set_hardware(), patterns_start(), fx_init(), sim_nvs_load(), sim_set_mac(), sim_boot()
### Community 55 - "httpd_ws_frame"
Cohesion: 0.25
Nodes (8): httpd_ws_frame, final, fragmented, left_len, len, payload, type, httpd_ws_type_t
### Community 57 - "httpd_config"
Cohesion: 0.06
Nodes (33): httpd_close_func_t, httpd_config, backlog_conn, close_fn, core_id, ctrl_port, enable_so_linger, global_transport_ctx (+25 more)
### Community 58 - "gallery.js"
Cohesion: 0.17
Nodes (28): addPreset(), apply(), applySpec(), banner(), bgField(), buildCard(), checkField(), colourList() (+20 more)
### Community 59 - "mic_alsa.c"
Cohesion: 0.09
Nodes (19): capture_loop(), capture_thread(), list_alsa_devices(), mic_close(), mic_error(), mic_get_level(), mic_is_open(), mic_list_devices() (+11 more)
### Community 60 - "app_main"
Cohesion: 0.25
Nodes (8): ddp_start(), app_main(), ap_timer_cb(), apply_ap(), net_ap_ssid(), net_start(), nvs_flash_erase(), nvs_flash_init()
### Community 61 - "API Test Fixtures & Audio"
Cohesion: 0.17
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 - "bridge_main.c"
Cohesion: 0.05
Nodes (60): app_main(), ctl_open(), ensure_peer(), mic_start(), tx_task(), udp_open(), esp_event_loop_create_default(), xSemaphoreCreateMutex() (+52 more)
### Community 67 - "auth.js"
Cohesion: 0.21
Nodes (22): accountMenu(), addHeaderButton(), applyPerms(), askLogin(), can(), changePassword(), dialog(), close() (+14 more)
### Community 68 - "Transport"
Cohesion: 0.12
Nodes (3): _convert_filesystem_error(), stdout_write_bytes(), Transport
### Community 69 - "auth.c"
Cohesion: 0.05
Nodes (106): audio_api_resume_mic(), mic_follow_setting(), all_edit(), area_index(), auth_can(), auth_classify(), auth_enabled_locked(), auth_gate() (+98 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 - "sim_glue.c"
Cohesion: 0.13
Nodes (10): sim_rx(), esp_err_to_name(), esp_fill_random(), esp_log_level_set(), esp_log_set_vprintf(), esp_log_timestamp(), esp_log_write(), esp_random() (+2 more)
### Community 72 - "httpd_data"
Cohesion: 0.11
Nodes (17): esp_http_server_event_id_t, httpd_data, config, ctrl_fd, ctrl_sock_semaphore, err_handler_fns, hd_calls, hd_req (+9 more)
### Community 74 - "presets.cpp"
Cohesion: 0.19
Nodes (23): clear_all_presets(), patterns_index(), preset_defaults(), build_defaults(), entry_key(), find(), load_entry(), presets_add_defaults() (+15 more)
### Community 75 - "v1 driver messages (long/short keys)"
Cohesion: 0.24
Nodes (8): Controller WebSocket /ws (v1 presets/select), Bench endpoints /test/loss and /test/beats, Binary envelope (main/envelope.c, test/binary_envelope.py), v1 driver messages (long/short keys), WebSocket /ws driver message relay, Lossy-link test (simulated loss, retries, resync), Reliable link (rel: acked unicast, retransmits, ack timeouts), espnow-sender Microdot WebSocket receiver
### Community 76 - "Controller Overview & OTA Docs"
Cohesion: 0.14
Nodes (17): led_controller ESP-IDF project, Driver app update /drivers/ota (staged files, sha, commit/abort), Firmware OTA /ota (idle slot, rollback), 30 ms beat lead (CONFIG_BEAT_LEAD_MS), Bench test: S3 controller and one LED driver, ESP32-C3 vs S3 driver comparison, Driver app update over ESP-NOW test (tools/driver_ota.py), Logic analyzer latency (marker GPIO, tools/analyze_edges.py) (+9 more)
### Community 77 - "bridge_main.c"
Cohesion: 0.09
Nodes (15): bridge_eth_ip(), bridge_eth_start(), on_eth_down(), on_got_ip(), build_info(), handle_frame(), host_rx_task(), log_hook() (+7 more)
### Community 78 - "sim_split.js"
Cohesion: 0.29
Nodes (21): addMenuEntries(), applyWidth(), attachSwipe(), build(), clampWidth(), close(), init(), isOpen() (+13 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 - "artnet_dmx.py"
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 - "sim_rig.c"
Cohesion: 0.17
Nodes (33): cJSON_AddObjectToObject(), api_handler(), config_json(), db_root(), default_room(), ensure_dirs(), find_file(), fixture_by_mac() (+25 more)
### Community 84 - "unique"
Cohesion: 0.06
Nodes (18): find_id_by_field(), missing(), unique(), test_scenes(), device(), group(), test_crud(), test_group_identify_needs_devices() (+10 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 - "desktop_main.c"
Cohesion: 0.60
Nodes (3): main(), set_from_env(), usage()
### Community 89 - "load_lanes"
Cohesion: 0.29
Nodes (13): cJSON_IsFalse(), load(), load_lanes(), load_targets(), mask_of(), num(), send_presets(), seq_oneshot() (+5 more)
### Community 90 - "Sender"
Cohesion: 0.14
Nodes (4): run_interactive(), handle(), show_menu(), Sender
### Community 92 - "httpd_os_thread_create"
Cohesion: 0.40
Nodes (3): httpd_os_thread_create(), httpd_os_thread_handle(), httpd_validate_req_ptr()
### Community 93 - "events"
Cohesion: 0.10
Nodes (24): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+16 more)
### Community 94 - "httpd_txrx.c"
Cohesion: 0.09
Nodes (57): esp_app_get_description(), httpd_req_t, httpd_resp_send_404(), httpd_resp_send_408(), httpd_resp_send_500(), httpd_resp_sendstr(), httpd_resp_sendstr_chunk(), httpd_recv() (+49 more)
### Community 95 - "Microdot Auth (dmx)"
Cohesion: 0.19
Nodes (6): wraps(), print_exception(), websocket_upgrade(), websocket_wrapper(), wrapper(), with_websocket()
### Community 96 - "web.cpp"
Cohesion: 0.04
Nodes (44): in_group(), KeyName, longk, shortk, long_name(), names_me(), own_mac_hex(), be16() (+36 more)
### Community 97 - "settings_load_net"
Cohesion: 0.19
Nodes (20): drop_unicast_peers(), load_channel(), set_channel(), apply_device_config(), ctrl_build_announce(), ctrl_init(), save_groups(), espnow_link_start() (+12 more)
### Community 98 - "DMX Preset Model"
Cohesion: 0.08
Nodes (12): _expand(), _preset_from_map(), process_data(), _select_entries(), _targets_for_key(), create_app(), play(), serial_ports() (+4 more)
### Community 99 - "sim_stubs.c"
Cohesion: 0.16
Nodes (6): mount(), esp_vfs_littlefs_register(), mic_get_level(), mic_start(), mic_stream_open(), mic_stream_read()
### 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 - "USB ESP-NOW bridge"
Cohesion: 0.12
Nodes (14): Build and flash, Channel, Ethernet (W5500), Microphone (S3), Protocol, Running the controller against it, USB ESP-NOW bridge, Build and run (+6 more)
### Community 107 - "main"
Cohesion: 0.18
Nodes (8): find_devices(), probe(), sweep(), load_rig(), local_prefix(), main(), neighbours(), set_fps()
### Community 108 - "Asm"
Cohesion: 0.18
Nodes (11): Asm, buf, cnt, flags, last_us, lens, mac, mask (+3 more)
### 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 110 - "run_soak"
Cohesion: 0.18
Nodes (6): get(), Missing, output_scale(), run_soak(), sample(), soft_get()
### Community 111 - "led_strip Manifest"
Cohesion: 0.20
Nodes (9): dependencies, idf, description, repository, repository_info, commit_sha, path, url (+1 more)
### Community 112 - "test_auth.py"
Cohesion: 0.20
Nodes (19): run(), admin(), anon(), _base(), call(), host(), login(), test_admin_can_edit() (+11 more)
### Community 113 - "Outputs UI (JS)"
Cohesion: 0.33
Nodes (8): fetchOutputs(), loadOutputsModal(), openOutputEditor(), OUTPUT_PROTOCOL_LABELS, outputSummary(), renderOutputsList(), setOutputField(), syncOutputProtocolFields()
### Community 114 - "dependencies"
Cohesion: 0.50
Nodes (3): dependencies, espressif/w5500, version
### 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 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 - "esp_httpd_priv.h"
Cohesion: 0.17
Nodes (22): desktop_base64_encode(), desktop_sha1(), rol(), sha1_block(), httpd_ws_client_info_t, httpd_ws_frame_t, transfer_complete_cb, httpd_ws_check_req() (+14 more)
### Community 125 - "led_strip_spi_dev.c"
Cohesion: 0.06
Nodes (38): heap_caps_calloc(), app_main(), app_main(), configure_led(), app_main(), configure_led(), led_strip_rmt_config_t, led_strip_spi_config_t (+30 more)
### Community 126 - "status_get_handler"
Cohesion: 0.18
Nodes (9): bridge_list(), espnow_tx_ap_clients(), espnow_tx_stats(), reset_reason(), status_get_handler(), mic_get_level(), rel_stats(), rel_ver() (+1 more)
### Community 128 - "Type"
Cohesion: 0.18
Nodes (11): Type, T_BLOB, T_I32, T_I64, T_STR, T_U32, T_U8, Value (+3 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 - "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 132 - "microdot.py"
Cohesion: 0.10
Nodes (5): invoke_handler(), iscoroutine(), Response, aclose(), __anext__()
### Community 133 - "esp_http_server_dispatch_event"
Cohesion: 0.33
Nodes (4): esp_err_to_name(), esp_event_post(), esp_read_mac(), esp_http_server_dispatch_event()
### Community 135 - "PatternPlayer"
Cohesion: 0.15
Nodes (3): main(), output_tick(), PatternPlayer
### Community 136 - "HttpDevice"
Cohesion: 0.08
Nodes (8): _default_image(), _info(), ota_update(), HttpDevice, IdfError, _default_image(), _info(), ota_update()
### Community 137 - "api_call_t"
Cohesion: 0.33
Nodes (5): api_call_t, cap, done, msg, out
### 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 - "esp_err_t"
Cohesion: 0.60
Nodes (4): led_strip_rmt_clear(), led_strip_rmt_del(), led_strip_rmt_refresh(), led_strip_rmt_set_pixel()
### 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 141 - "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 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.12
Nodes (26): all_dark(), col_of(), frames(), led_x(), lit(), mac(), make_preset(), places() (+18 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 - "api_error"
Cohesion: 0.10
Nodes (51): api_body(), api_current_profile(), api_error(), api_json(), api_message(), api_preset_in_profile(), api_result(), api_split() (+43 more)
### Community 155 - "app.js"
Cohesion: 0.11
Nodes (60): addBridge(), addFixture(), addLog(), api(), applyConfig(), banner(), centreStrips(), changed() (+52 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.25
Nodes (11): addStaticIpRow(), describeBridge(), loadBridgeSettings(), loadDeviceSettings(), loadNetworkStatus(), putBridges(), renderBridges(), setApToggle() (+3 more)
### 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 165 - "thread_data"
Cohesion: 0.50
Nodes (3): thread_data, handle, status
### Community 166 - "wifi_drv.c"
Cohesion: 0.14
Nodes (9): add_ptr(), build_query(), decode_name(), handle_rr(), mdns_dup(), mdns_query_ptr(), mdns_query_results_free(), parse_packet() (+1 more)
### Community 168 - "nvs_sim.cpp"
Cohesion: 0.29
Nodes (16): load_legacy(), get_str(), nvs_handle_t, from_hex(), get_bytes(), get_num(), nvs_erase_all(), nvs_erase_key() (+8 more)
### 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 197 - "cJSON_CreateString"
Cohesion: 0.10
Nodes (87): cJSON_AddItemReferenceToObject(), cJSON_CreateBool(), cJSON_CreateNull(), cJSON_CreateString(), cJSON_DeleteItemFromObject(), cJSON_Duplicate(), cJSON_GetObjectItem(), cJSON_IsObject() (+79 more)
### Community 198 - "sys"
Cohesion: 0.11
Nodes (4): mpremote_base(), main(), info(), upload()
### Community 201 - "requests"
Cohesion: 0.18
Nodes (3): test_events_stream(), need_sim(), rig()
### Community 202 - "time"
Cohesion: 0.10
Nodes (14): Blink, Pulse, call(), main(), switch(), wifi_state(), sleep(), sleep_ms() (+6 more)
### Community 203 - "web.c"
Cohesion: 0.36
Nodes (10): audio_page_handler(), etag(), favicon_handler(), find_file(), index_handler(), mime_for(), send_gz(), static_handler() (+2 more)
### Community 204 - "_simlink_proc.py"
Cohesion: 0.16
Nodes (5): connect(), on_feed(), push_pixels(), _reader(), _send_pixels()
### Community 205 - "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 227 - "dependencies"
Cohesion: 0.33
Nodes (5): dependencies, espressif/cjson, espressif/mdns, version, version
### Community 235 - "driver-worker.js"
Cohesion: 0.53
Nodes (4): boot(), exit(), log(), startPixels()
### Community 236 - "layout.js"
Cohesion: 0.43
Nodes (3): fixtureEnd(), fixtureLeds(), roomStrips()
## Knowledge Gaps
- **297 isolated node(s):** `next`, `prev`, `child`, `type`, `valuestring` (+292 more)
These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 1282 node(s) total have ≤1 connection when file, concept and rationale nodes are included.)
- **64 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
## Suggested Questions
_Questions this graph is uniquely positioned to answer:_
- **Why does `string` connect `esp_err.h` to `Type`, `res_device.c`, `cJSON`, `freertos.c`, `api_error`, `cJSON_IsString`, `httpd_sess.c`, `httpd_parse.c`, `esp_timer_create`, `outputs.c`, `wifi_drv.c`, `Beat Detection DSP (C)`, `xSemaphoreGive`, `nvs_sim.cpp`, `beat_start`, `mic_alsa.c`, `bridge_main.c`, `auth.c`, `cJSON_CreateString`, `sim_glue.c`, `web.c`, `bridge_main.c`, `sim_rig.c`, `desktop_main.c`, `sim_stubs.c`, `esp_httpd_priv.h`, `led_strip_spi_dev.c`?**
_High betweenness centrality (0.058) - this node is a cross-community bridge._
- **Are the 208 inferred relationships involving `cJSON_GetObjectItem()` (e.g. with `list_pulse_sources()` and `apply_default()`) actually correct?**
_`cJSON_GetObjectItem()` has 208 INFERRED edges - model-reasoned connections that need verification._
- **What connects `next`, `prev`, `child` to the rest of the system?**
_297 weakly-connected nodes found - possible documentation gaps or missing edges._
- **Should `htmx Library` be split into smaller, more focused modules?**
_Cohesion score 0.07897684839432412 - nodes in this community are weakly interconnected._
- **Why does `led-controller ESP32-S3 firmware` connect `USB ESP-NOW bridge` to `v1 driver messages (long/short keys)`, `API Docs: Outputs & Audio`, `DMX Driver Art-Net and serial gateway`, `Controller Overview & OTA Docs`?**
_High betweenness centrality (0.030) - this node is a cross-community bridge._
- **Are the 124 inferred relationships involving `cJSON_Delete()` (e.g. with `list_pulse_sources()` and `ctrl_handle()`) actually correct?**
_`cJSON_Delete()` has 124 INFERRED edges - model-reasoned connections that need verification._
- **Should `res_device.c` be split into smaller, more focused modules?**
_Cohesion score 0.11980676328502415 - nodes in this community are weakly interconnected._
+12
View File
@@ -0,0 +1,12 @@
{
"runs": [
{
"date": "2026-11-03T12:13:15.159050+00:00",
"input_tokens": 1267015,
"output_tokens": 0,
"files": 332
}
],
"total_input_tokens": 1267015,
"total_output_tokens": 0
}
+1
View File
@@ -0,0 +1 @@
{"directed":false,"multigraph":false,"graph":{"hyperedges":[{"id":"audio_page_endpoints","label":"Audio page live endpoints","nodes":["web_audio_status","web_audio_beats","web_audio_audio_wav","web_audio_time","web_audio_tap_ep"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"web/audio.html"},{"id":"beat_latency_measurement","label":"Beat latency measurement methods","nodes":["docs_api_bench_endpoints","docs_bench_test_usb_latency","docs_bench_test_logic_analyzer","docs_bench_test_beat_lead"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/BENCH_TEST.md"},{"id":"brightness_combination","label":"Combined brightness factors","nodes":["docs_api_combined_brightness","docs_api_settings","docs_api_groups","docs_api_devices","docs_api_zones"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/API.md"},{"id":"color_picker_feature_set","label":"Color picker feature set","nodes":["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"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/color-picker-demo.png"},{"id":"docs_help_edit_mode_management","label":"Edit-mode-only management features","nodes":["docs_help_edit_mode","docs_help_zones_modal","docs_help_send_presets","docs_help_patterns_dialog","docs_help_colour_palette","docs_help_presets_list"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/help.pdf"},{"id":"docs_help_preset_editor_actions","label":"Preset editor actions (Try, Default, Save & Send, Remove from zone)","nodes":["docs_help_try_action","docs_help_default_preset","docs_help_save_and_send","docs_help_remove_from_zone"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/help.pdf"},{"id":"docs_images_help_mobile_menu_header_actions","label":"Header actions aggregated in mobile Menu","nodes":["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"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/images/help/mobile-menu.svg"},{"id":"docs_mockups_device_modal_flow","label":"Device/Group Modal Flow","nodes":["docs_mockups_device_management_showadddevicemodal","docs_mockups_device_management_showaddgroupmodal","docs_mockups_device_management_closemodal","docs_mockups_device_management_savedevice"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/device-management.html"},{"id":"docs_mockups_images_index_ui_mockup_set","label":"LED Driver UI Mockup Set","nodes":["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"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/index.png"},{"id":"docs_mockups_images_pattern_selector_led_patterns","label":"Selectable LED Patterns","nodes":["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"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/pattern-selector.png"},{"id":"docs_mockups_preset_schema","label":"Preset/pattern configuration schema (pattern, colors, delay, step increment, N1-N8)","nodes":["docs_mockups_presets_led_patterns","docs_mockups_presets_delay","docs_mockups_presets_step_increment","docs_mockups_presets_n_parameters","docs_mockups_presets_step_offset"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/presets.html"},{"id":"docs_mockups_settings_sections","label":"Device settings sections","nodes":["docs_mockups_settings_basic_settings","docs_mockups_settings_pattern_settings","docs_mockups_settings_advanced_settings","docs_mockups_settings_network_settings"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/settings.html"},{"id":"docs_mockups_ui_mockup_suite","label":"LED Driver UI Mockup Suite","nodes":["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"],"relation":"foLine truncated
File diff suppressed because it is too large. Load diff
+297 -295
View File
@@ -1,28 +1,28 @@
# Graph Report - led-controller (2026-11-16) # Graph Report - led-controller (2026-11-17)
## Corpus Check ## Corpus Check
- 382 files · ~673,770 words - 388 files · ~686,286 words
- Verdict: corpus is large enough that graph structure adds value. - Verdict: corpus is large enough that graph structure adds value.
- Unclassified: 1317 file(s) not represented in the graph (top: .obj 884, .cmake 160, .a 104) - Unclassified: 1320 file(s) not represented in the graph (top: .obj 884, .cmake 160, .a 104)
## Summary ## Summary
- 4731 nodes · 13767 edges · 216 communities (149 shown, 67 thin omitted) - 4940 nodes · 14529 edges · 214 communities (150 shown, 64 thin omitted)
- Extraction: 75% EXTRACTED · 25% INFERRED · 0% AMBIGUOUS · INFERRED: 3505 edges (avg confidence: 0.85) - Extraction: 75% EXTRACTED · 25% INFERRED · 0% AMBIGUOUS · INFERRED: 3700 edges (avg confidence: 0.85)
- Token cost: 0 input · 0 output - Token cost: 0 input · 0 output
## Graph Freshness ## Graph Freshness
- Built from commit: `581b7519` - Built from commit: `8c783ab9`
- Run `git rev-parse HEAD` and compare to check if the graph is stale. - Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost). - Run `graphify update .` after code changes (no API cost).
## Community Hubs (Navigation) ## Community Hubs (Navigation)
- IdfDevice - IdfDevice
- htmx Library - htmx Library
- Pin - res_device.c
- Browser Tests & Mockup Images - Browser Tests & Mockup Images
- Audio UI (JS) - Audio UI (JS)
- cJSON - cJSON
- create_app - controller
- led-tool Device CLI - led-tool Device CLI
- ab - ab
- Compiler - Compiler
@@ -30,93 +30,93 @@
- seq_timeline.js - seq_timeline.js
- Presets UI (JS) - Presets UI (JS)
- Zones UI (JS) - Zones UI (JS)
- sim_rig.c - cJSON_Delete
- new_id - unique
- Sequences UI (JS) - Sequences UI (JS)
- SerialTransport - PyboardCommand
- esp_err.h - esp_err.h
- led_strip Component Docs - led_strip Component Docs
- Art-Net Output - Art-Net Output
- freertos.c - freertos.c
- bridge.c - BridgeSim
- cJSON_IsString - cJSON_IsString
- cJSON_Delete - test_presets.py
- Microdot - Microdot
- KeyName - cJSON_CreateObject
- seqplay.c - bridge_sim.py
- Devices UI (JS) - Devices UI (JS)
- binary_envelope.py - binary_envelope.py
- Colour Picker Mockups - Colour Picker Mockups
- PyboardCommand - machine.py
- cJSON_CreateObject - httpd_sess.c
- httpd_parse.c - httpd_parse.c
- test_sequences.py - test_sequences.py
- cJSON_Delete - esp_timer_create
- API Docs: Outputs & Audio - API Docs: Outputs & Audio
- stdio - outputs.c
- socket - socket
- Beat Detection DSP (C) - Beat Detection DSP (C)
- xSemaphoreGive - xSemaphoreGive
- WS2812 - WS2812
- run_all - run_all
- usb_cfg.cpp - sock_db
- httpd_handle_t - httpd_handle_t
- http_parser.h - http_parser.h
- bench.c - beat_start
- USB Latency Tools - USB Latency Tools
- Colour Picker JS - Colour Picker JS
- Chromium Colour Picker JS - Chromium Colour Picker JS
- esp_glue.c - steps
- API Tests: Devices - API Tests: Devices
- sys - espnow_link.cpp
- mpremote Transport - mpremote Transport
- httpd_sess.c - patterns_start
- sim_glue.c - httpd_ws_frame
- test_outputs.py - test_outputs.py
- httpd_config - httpd_config
- gallery.js - gallery.js
- mic_alsa.c - mic_alsa.c
- nvs_sim.cpp - app_main
- API Test Fixtures & Audio - API Test Fixtures & Audio
- Microdot Request (dmx) - Microdot Request (dmx)
- Help: Zones & Palette - Help: Zones & Palette
- ddp_test.py - ddp_test.py
- ESPNow - ESPNow
- httpd_handle_t - bridge_main.c
- status_get_handler - auth.js
- httpd_uri.c - Transport
- led_strip_rmt_encoder.c - auth.c
- Index Page Modals - Index Page Modals
- rel.c - sim_glue.c
- httpd_data - httpd_data
- Microdot WebSocket (dmx) - Microdot WebSocket (dmx)
- presets.cpp - presets.cpp
- v1 driver messages (long/short keys) - v1 driver messages (long/short keys)
- Controller Overview & OTA Docs - Controller Overview & OTA Docs
- espnow_link.cpp - bridge_main.c
- sim_split.js - sim_split.js
- Audio Monitor Page - Audio Monitor Page
- artnet_dmx.py - artnet_dmx.py
- OutputManager - OutputManager
- events - events
- pytest - sim_rig.c
- unique - unique
- ESP-NOW Sender Bridge - ESP-NOW Sender Bridge
- net.cpp - desktop_main.c
- Microdot Async IO (dmx) - Microdot Async IO (dmx)
- DMX Settings - DMX Settings
- api_call_t - load_lanes
- Sender - Sender
- Microdot Routing (dmx) - Microdot Routing (dmx)
- esp_log.h - httpd_os_thread_create
- events - events
- send_frame
- Microdot Auth (dmx)
- net.cpp
- machine.py
- DMX Preset Model
- httpd_txrx.c - httpd_txrx.c
- test_routes.py - Microdot Auth (dmx)
- web.cpp
- settings_load_net
- DMX Preset Model
- sim_stubs.c
- Pin
- Groups UI (JS) - Groups UI (JS)
- httpd_req_aux - httpd_req_aux
- Help: Mobile Menu Image - Help: Mobile Menu Image
@@ -124,16 +124,16 @@
- Driver Pattern Docs - Driver Pattern Docs
- USB ESP-NOW bridge - USB ESP-NOW bridge
- main - main
- BridgeSim - Asm
- Driver Message API Docs - Driver Message API Docs
- soft_get - run_soak
- led_strip Manifest - led_strip Manifest
- EMSCRIPTEN_KEEPALIVE - test_auth.py
- Outputs UI (JS) - Outputs UI (JS)
- dependencies - dependencies
- Help PDF: Overview - Help PDF: Overview
- Mockups Index Image - Mockups Index Image
- outputs.c - test_routes.py
- Help: Header Toolbar Image - Help: Header Toolbar Image
- Help: Preset Editor Image - Help: Preset Editor Image
- Dashboard Mockup Image - Dashboard Mockup Image
@@ -142,19 +142,19 @@
- Pattern Contract - Pattern Contract
- esp_httpd_priv.h - esp_httpd_priv.h
- led_strip_spi_dev.c - led_strip_spi_dev.c
- app_main - status_get_handler
- Numpad Shortcuts (JS) - Numpad Shortcuts (JS)
- httpd_ctrl_data - Type
- Colour Picker Demo Image - Colour Picker Demo Image
- Settings Mockup Image - Settings Mockup Image
- beat_start - httpd_ctrl_data
- microdot.py - microdot.py
- pattern_def_t - esp_http_server_dispatch_event
- PatternPlayer - PatternPlayer
- HttpDevice - HttpDevice
- on_sent - api_call_t
- Help: Colour Palette Image - Help: Colour Palette Image
- sim_demo.py - esp_err_t
- LED Driver README - LED Driver README
- DMX Driver Art-Net and serial gateway - DMX Driver Art-Net and serial gateway
- SPI Example Manifest - SPI Example Manifest
@@ -162,16 +162,17 @@
- settings_editor.js - settings_editor.js
- Help PDF: Modes - Help PDF: Modes
- Help: Tab Preset Strip Image - Help: Tab Preset Strip Image
- patterns.c - api_error
- vendor.sh - vendor.sh
- app.js - app.js
- RMT Example Manifest - RMT Example Manifest
- Help Tab JS - Help Tab JS
- Settings Page Template - Settings Page Template
- led-driver/web/app.js - led-driver/web/app.js
- test_presets.py - thread_data
- mdns_host.c - wifi_drv.c
- SerialDMX - SerialDMX
- nvs_sim.cpp
- build_sim_web.sh - build_sim_web.sh
- dependencies - dependencies
- List Search (JS) - List Search (JS)
@@ -179,24 +180,21 @@
- led-test Manifest - led-test Manifest
- VPN Autoconnect Script - VPN Autoconnect Script
- graphify Instructions - graphify Instructions
- bulk_task
- bulk.sh Script - bulk.sh Script
- deploy.sh Script - deploy.sh Script
- Driver install.sh - Driver install.sh
- vTaskDelete
- led-tool install.sh - led-tool install.sh
- Help PDF Build Script - Help PDF Build Script
- Web Build Script - Web Build Script
- Spec: Pattern Selector UI - Spec: Pattern Selector UI
- cJSON_GetObjectItem - cJSON_CreateString
- Transport - sys
- httpd_req
- HTTPException - HTTPException
- json - requests
- string - time
- web.c
- _simlink_proc.py - _simlink_proc.py
- httpd_ws_frame - httpd_req
- relay_forward
- WLAN - WLAN
- MultiDict - MultiDict
- build.sh - build.sh
@@ -207,28 +205,28 @@
- README.md - README.md
## God Nodes (most connected - your core abstractions) ## God Nodes (most connected - your core abstractions)
1. `cJSON` - 257 edges 1. `cJSON` - 268 edges
2. `cJSON_GetObjectItem()` - 195 edges 2. `cJSON_GetObjectItem()` - 213 edges
3. `httpd_req_t` - 155 edges 3. `httpd_req_t` - 178 edges
4. `cJSON_Delete()` - 139 edges 4. `cJSON_Delete()` - 149 edges
5. `cJSON_CreateObject()` - 128 edges 5. `cJSON_CreateObject()` - 145 edges
6. `cJSON_IsString()` - 108 edges 6. `cJSON_IsString()` - 111 edges
7. `cJSON_AddStringToObject()` - 95 edges 7. `cJSON_AddStringToObject()` - 106 edges
8. `store_coll()` - 81 edges 8. `store_coll()` - 99 edges
9. `xSemaphoreTake()` - 68 edges 9. `xSemaphoreTake()` - 68 edges
10. `xSemaphoreGive()` - 68 edges 10. `xSemaphoreGive()` - 68 edges
## Surprising Connections (you probably didn't know these) ## Surprising Connections (you probably didn't know these)
- `Channel` --references--> `bridge_serial_set_channel()` [INFERRED] - `Channel` --references--> `bridge_serial_set_channel()` [INFERRED]
bridge/README.md → main/bridge_serial.c bridge/README.md → main/bridge_serial.c
- `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.md
- `Build and run` --references--> `info()` [INFERRED] - `Build and run` --references--> `info()` [INFERRED]
desktop/README.md → tools/ota.py desktop/README.md → tools/ota.py
- `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.md
- `log_task()` --calls--> `xQueueReceive()` [INFERRED]
main/bench.c → desktop/port/src/freertos.c
- `status_payload()` --calls--> `mic_error()` [INFERRED] - `status_payload()` --calls--> `mic_error()` [INFERRED]
main/audio_api.c → desktop/port/src/mic_alsa.c main/audio_api.c → desktop/port/src/mic_alsa.c
- `audio_handler()` --calls--> `mic_is_open()` [INFERRED]
main/audio_api.c → desktop/port/src/mic_alsa.c
## Import Cycles ## Import Cycles
- None detected. - None detected.
@@ -259,16 +257,16 @@
- **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] - **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] - **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 (216 total, 67 thin omitted) ## Communities (214 total, 64 thin omitted)
### Community 0 - "IdfDevice"
Cohesion: 0.10
Nodes (7): _hex_rgb(), _idf_post(), _idf_show(), _preset_content(), run_idf(), IdfDevice, probe()
### Community 1 - "htmx Library" ### Community 1 - "htmx Library"
Cohesion: 0.08 Cohesion: 0.08
Nodes (101): a(), Ae(), an(), at(), B(), be(), bn(), bt() (+93 more) Nodes (101): a(), Ae(), an(), at(), B(), be(), bn(), bt() (+93 more)
### Community 2 - "res_device.c"
Cohesion: 0.12
Nodes (39): cJSON_IsNull(), cJSON_IsNumber(), api_body_opt(), setting_int(), have_static_ips(), parse_static(), try_static_ips(), num() (+31 more)
### Community 3 - "Browser Tests & Mockup Images" ### Community 3 - "Browser Tests & Mockup Images"
Cohesion: 0.06 Cohesion: 0.06
Nodes (17): generate_image(), generate_with_html2image(), generate_with_playwright(), generate_with_selenium(), main(), browser(), _browser_sleep(), BrowserTest (+9 more) Nodes (17): generate_image(), generate_with_html2image(), generate_with_playwright(), generate_with_selenium(), main(), browser(), _browser_sleep(), BrowserTest (+9 more)
@@ -278,16 +276,16 @@ Cohesion: 0.11
Nodes (58): applyAudioStatus(), applyServerAudioUiFields(), audioRunPreferredDeviceId(), beatSyncButtonTitle(), bind(), clampLiveBpm(), clampSimulatedBpm(), clearBeatPhaseTimers() (+50 more) Nodes (58): applyAudioStatus(), applyServerAudioUiFields(), audioRunPreferredDeviceId(), beatSyncButtonTitle(), bind(), clampLiveBpm(), clampSimulatedBpm(), clearBeatPhaseTimers() (+50 more)
### Community 5 - "cJSON" ### Community 5 - "cJSON"
Cohesion: 0.07 Cohesion: 0.05
Nodes (64): add_item_to_array(), add_item_to_object(), buffer_skip_whitespace(), case_insensitive_strcmp(), cast_away_const(), cJSON_AddItemReferenceToArray(), cJSON_AddItemToObjectCS(), cJSON_AddNullToObject() (+56 more) Nodes (86): add_item_to_array(), buffer_skip_whitespace(), case_insensitive_strcmp(), cast_away_const(), cJSON, cJSON_AddItemReferenceToArray(), cJSON_AddItemToObjectCS(), cJSON_AddRawToObject() (+78 more)
### Community 6 - "create_app" ### Community 6 - "controller"
Cohesion: 0.12 Cohesion: 0.05
Nodes (6): create_app(), serial_ports(), ws_handler(), list_serial_ports(), main(), output_tick() Nodes (39): internal, context, dockerfile, build, cap_drop, condition, environment, expose (+31 more)
### Community 7 - "led-tool Device CLI" ### Community 7 - "led-tool Device CLI"
Cohesion: 0.06 Cohesion: 0.05
Nodes (17): download_presets(), download_settings(), _get_ordered_actions(), main(), print_settings(), resolve_flash_binary(), upload_presets(), upload_settings() (+9 more) Nodes (22): download_presets(), download_settings(), _get_ordered_actions(), _hex_rgb(), _idf_post(), _idf_show(), main(), _preset_content() (+14 more)
### Community 8 - "ab" ### Community 8 - "ab"
Cohesion: 0.11 Cohesion: 0.11
@@ -302,8 +300,8 @@ 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) 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 - "seq_timeline.js" ### Community 11 - "seq_timeline.js"
Cohesion: 0.11 Cohesion: 0.09
Nodes (61): seqTl, seqTlOnOpen(), TL_COLORS, tlAddAt(), tlAddTrack(), tlBpm(), tlBtn(), tlBuildSnap() (+53 more) Nodes (73): seqTl, seqTlOnOpen(), TL_COLORS, tlAddAt(), tlAddTrack(), tlAutoSnap(), tlBpm(), tlBtn() (+65 more)
### Community 12 - "Presets UI (JS)" ### Community 12 - "Presets UI (JS)"
Cohesion: 0.09 Cohesion: 0.09
@@ -313,57 +311,57 @@ Nodes (42): arrayToGrid(), coerceManualBeatN(), coercePresetAuto(), coercePreset
Cohesion: 0.10 Cohesion: 0.10
Nodes (42): applyBrightnessSliders(), applyZoneContentKindEditModal(), clamp255(), computeZoneNamesTargets(), computeZonePresetUnionTargets(), computeZoneTargets(), createZone(), effectiveGroupIdsForZonePreset() (+34 more) Nodes (42): applyBrightnessSliders(), applyZoneContentKindEditModal(), clamp255(), computeZoneNamesTargets(), computeZonePresetUnionTargets(), computeZoneTargets(), createZone(), effectiveGroupIdsForZonePreset() (+34 more)
### Community 14 - "sim_rig.c" ### Community 14 - "cJSON_Delete"
Cohesion: 0.12 Cohesion: 0.13
Nodes (40): cJSON_AddObjectToObject(), cJSON_IsObject(), cJSON_Print(), api_migrate_sequences(), colors_from(), palette_colors(), api_handler(), config_json() (+32 more) Nodes (48): list_pulse_sources(), cJSON_Delete(), cJSON_free(), cJSON_IsBool(), cJSON_IsTrue(), cJSON_Parse(), cJSON_PrintUnformatted(), net_sta_status() (+40 more)
### Community 15 - "new_id" ### Community 15 - "unique"
Cohesion: 0.08 Cohesion: 0.08
Nodes (12): new_id(), test_preset_round_trip(), test_profile_import_folds_animation_ids(), test_profile_round_trip(), test_sequence_round_trip(), test_window_is_kept(), test_clone(), test_clone_default_name() (+4 more) Nodes (12): new_id(), test_preset_round_trip(), test_profile_import_folds_animation_ids(), test_profile_round_trip(), test_sequence_round_trip(), test_window_is_kept(), test_clone(), test_clone_default_name() (+4 more)
### Community 16 - "Sequences UI (JS)" ### Community 16 - "Sequences UI (JS)"
Cohesion: 0.11 Cohesion: 0.11
Nodes (33): addSeqTarget(), addSequenceToTab(), addTargetsPerDriver(), appendZoneSequenceTiles(), applySequenceSwitchWaitFromServer(), buildStepPlaySelect(), createSequenceTileRow(), deleteCurrentSequence() (+25 more) Nodes (32): addSeqTarget(), addSequenceToTab(), appendZoneSequenceTiles(), applySequenceSwitchWaitFromServer(), buildStepPlaySelect(), createSequenceTileRow(), deleteCurrentSequence(), fetchGroupsMapSeq() (+24 more)
### Community 17 - "SerialTransport" ### Community 17 - "PyboardCommand"
Cohesion: 0.14 Cohesion: 0.08
Nodes (3): SerialIntercept, SerialTransport, TransportError Nodes (5): PyboardCommand, SerialIntercept, SerialTransport, TransportError, TransportExecError
### Community 18 - "esp_err.h" ### Community 18 - "esp_err.h"
Cohesion: 0.10 Cohesion: 0.05
Nodes (3): esp_http_server_event_data, http_method, clamp8() Nodes (23): heap_caps_malloc(), esp_fill_random(), esp_get_free_heap_size(), esp_get_minimum_free_heap_size(), esp_log_level_set(), esp_log_set_vprintf(), esp_log_timestamp(), esp_log_write() (+15 more)
### Community 19 - "led_strip Component Docs" ### Community 19 - "led_strip Component Docs"
Cohesion: 0.10 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) 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" ### Community 20 - "Art-Net Output"
Cohesion: 0.09 Cohesion: 0.10
Nodes (10): ArtNet, as_channels(), build_artdmx(), _ip_bytes(), _pad(), port_lo(), ticks_diff(), ticks_ms() (+2 more) Nodes (10): ArtNet, as_channels(), build_artdmx(), _ip_bytes(), _pad(), port_lo(), sleep_ms(), ticks_diff() (+2 more)
### Community 21 - "freertos.c" ### Community 21 - "freertos.c"
Cohesion: 0.06 Cohesion: 0.06
Nodes (51): bridge_eth_start(), app_main(), ctl_open(), mic_start(), udp_open(), make_deadline(), queue_send(), sem_give() (+43 more) Nodes (49): make_deadline(), queue_send(), sem_give(), sem_new(), sem_take(), uxQueueMessagesWaiting(), vEventGroupDelete(), vQueueDelete() (+41 more)
### Community 22 - "bridge.c" ### Community 22 - "BridgeSim"
Cohesion: 0.10 Cohesion: 0.06
Nodes (26): vTaskDelay(), activate(), bridge_board_set_channel(), bridge_mic(), bridge_ports_json(), bridge_set_all(), connect_udp(), ctl_rx_task() (+18 more) Nodes (11): BridgeSim, api_seed_layout(), index(), driver_mac(), lan_ip(), mac_str(), main(), Strip (+3 more)
### Community 23 - "cJSON_IsString" ### Community 23 - "cJSON_IsString"
Cohesion: 0.06
Nodes (104): cJSON, child, cJSON_DeleteItemFromArray(), cJSON_DetachItemFromArray(), cJSON_DetachItemFromObject(), cJSON_DetachItemViaPointer(), cJSON_GetArrayItem(), cJSON_GetArraySize() (+96 more)
### Community 24 - "cJSON_Delete"
Cohesion: 0.14
Nodes (46): ddp_set_enabled(), net_ap_on(), net_sta_status(), add_uri(), api_fn_t, api_http_entry(), api_req_t, api_route_t (+38 more)
### Community 26 - "KeyName"
Cohesion: 0.50
Nodes (4): KeyName, longk, shortk, long_name()
### Community 27 - "seqplay.c"
Cohesion: 0.09 Cohesion: 0.09
Nodes (63): audio_api_resume_mic(), mic_follow_setting(), engine_zone_current(), engine_zone_note(), espnow_tx_set_mic_beats(), add_id(), advance_time(), anchor_bar() (+55 more) Nodes (76): cJSON_GetArrayItem(), cJSON_GetArraySize(), cJSON_IsArray(), cJSON_IsString(), apply_default(), apply_select(), json_for_me(), pick_select() (+68 more)
### Community 24 - "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 26 - "cJSON_CreateObject"
Cohesion: 0.10
Nodes (74): add_item_to_object(), cJSON_AddArrayToObject(), cJSON_AddBoolToObject(), cJSON_AddFalseToObject(), cJSON_AddItemToArray(), cJSON_AddItemToObject(), cJSON_AddNullToObject(), cJSON_AddNumberToObject() (+66 more)
### Community 27 - "bridge_sim.py"
Cohesion: 0.11
Nodes (16): load_config(), _merge(), _read_json(), sync_patterns(), normalise_layout(), _reversed_for_column(), rig_placements(), side_name() (+8 more)
### Community 28 - "Devices UI (JS)" ### Community 28 - "Devices UI (JS)"
Cohesion: 0.10 Cohesion: 0.10
@@ -377,9 +375,9 @@ Nodes (18): brightness_0_255_from_wire(), brightness_wire_from_0_255(), _clamp_i
Cohesion: 0.11 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) 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 - "cJSON_CreateObject" ### Community 32 - "httpd_sess.c"
Cohesion: 0.08 Cohesion: 0.07
Nodes (88): list_pulse_sources(), cJSON_AddArrayToObject(), cJSON_AddBoolToObject(), cJSON_AddFalseToObject(), cJSON_AddItemToArray(), cJSON_AddItemToObject(), cJSON_AddNumberToObject(), cJSON_AddStringToObject() (+80 more) Nodes (45): httpd_os_thread_delete(), httpd_os_thread_sleep(), httpd_free_ctx_fn_t, httpd_req, httpd_session_enum_function, httpd_accept_conn(), httpd_create(), httpd_delete() (+37 more)
### Community 33 - "httpd_parse.c" ### Community 33 - "httpd_parse.c"
Cohesion: 0.06 Cohesion: 0.06
@@ -389,29 +387,29 @@ Nodes (58): httpd_config_t, cb_header_field(), cb_header_value(), cb_headers_com
Cohesion: 0.17 Cohesion: 0.17
Nodes (24): clock(), make(), presets(), test_beat_and_time_lanes_together(), test_chase_moves_and_bounces(), test_editing_stops_playback(), test_legacy_animation_kind_plays_once(), test_looping_sequence_as_clip_plays_once() (+16 more) Nodes (24): clock(), make(), presets(), test_beat_and_time_lanes_together(), test_chase_moves_and_bounces(), test_editing_stops_playback(), test_legacy_animation_kind_plays_once(), test_looping_sequence_as_clip_plays_once() (+16 more)
### Community 35 - "cJSON_Delete" ### Community 35 - "esp_timer_create"
Cohesion: 0.17 Cohesion: 0.12
Nodes (33): cJSON_IsNull(), cJSON_IsNumber(), int_field(), api_apply_driver_cfg(), api_effective_brightness(), api_identify_group(), clamp255(), create_device() (+25 more) Nodes (22): ap_switch_later(), apply_client_ip(), apply_sta_config(), client_allowed(), net_save_network(), net_scan(), net_sta_connect(), on_ip_event() (+14 more)
### Community 36 - "API Docs: Outputs & Audio" ### Community 36 - "API Docs: Outputs & Audio"
Cohesion: 0.17 Cohesion: 0.17
Nodes (21): Audio API /api/audio and /audio page routes, Profile/preset/sequence JSON bundles (import/export), Combined brightness (global x groups x device x zone), /db collection export and replace, Devices resource /devices, Driver group membership lists (group ids, z<zone id>), Device groups resource /groups, LED Controller HTTP/JSON API (+13 more) Nodes (21): Audio API /api/audio and /audio page routes, Profile/preset/sequence JSON bundles (import/export), Combined brightness (global x groups x device x zone), /db collection export and replace, Devices resource /devices, Driver group membership lists (group ids, z<zone id>), Device groups resource /groups, LED Controller HTTP/JSON API (+13 more)
### Community 37 - "stdio" ### Community 37 - "outputs.c"
Cohesion: 0.14 Cohesion: 0.20
Nodes (16): app_main(), app_main(), configure_led(), app_main(), configure_led(), led_strip_spi_config_t, led_model_t, led_pixel_format_t (+8 more) Nodes (16): fail(), fill(), one_of(), put16(), resolve(), run_test(), send_artnet(), send_ddp() (+8 more)
### Community 38 - "socket" ### Community 38 - "socket"
Cohesion: 0.20 Cohesion: 0.14
Nodes (6): discover(), _expand(), _ip(), local_subnet(), ota_drivers(), parse_targets() Nodes (9): discover(), local_subnet(), main(), discover(), _expand(), _ip(), local_subnet(), ota_drivers() (+1 more)
### Community 39 - "Beat Detection DSP (C)" ### Community 39 - "Beat Detection DSP (C)"
Cohesion: 0.23 Cohesion: 0.23
Nodes (17): beat_feed(), analyse_beat(), bar_cue(), bar_decide(), beat_dsp_bpm(), beat_dsp_feed(), beat_dsp_init(), beat_dsp_tap() (+9 more) Nodes (17): beat_feed(), analyse_beat(), bar_cue(), bar_decide(), beat_dsp_bpm(), beat_dsp_feed(), beat_dsp_init(), beat_dsp_tap() (+9 more)
### Community 40 - "xSemaphoreGive" ### Community 40 - "xSemaphoreGive"
Cohesion: 0.07 Cohesion: 0.04
Nodes (58): ctl_task(), log_hook(), mic_task(), rx_task(), udp_send_up(), udp_task(), usb_send_frame(), xSemaphoreGive() (+50 more) Nodes (87): ctl_task(), udp_task(), bridge_crc16_update(), bridge_decode_feed(), bridge_encode(), vTaskDelay(), xSemaphoreGive(), xSemaphoreTake() (+79 more)
### Community 41 - "WS2812" ### Community 41 - "WS2812"
Cohesion: 0.06 Cohesion: 0.06
@@ -419,63 +417,63 @@ Nodes (19): new_ws2812_encoder(), rmt_del_ws2812_encoder(), rmt_encode_ws2812(),
### Community 42 - "run_all" ### Community 42 - "run_all"
Cohesion: 0.12 Cohesion: 0.12
Nodes (12): dim(), expected(), frame(), frame_sum(), mismatch_detail(), packet(), read_serial(), run_all() (+4 more) Nodes (13): dim(), expected(), frame(), frame_sum(), mismatch_detail(), packet(), read_serial(), run_all() (+5 more)
### Community 43 - "usb_cfg.cpp" ### Community 43 - "sock_db"
Cohesion: 0.10 Cohesion: 0.07
Nodes (4): read_handshake(), read_n(), ws_client_connect(), ws_client_recv_text() Nodes (31): httpd_pending_func_t, httpd_recv_func_t, httpd_send_func_t, httpd_recv_opt_t, sock_db, ctx, fd, for_async_req (+23 more)
### Community 44 - "httpd_handle_t" ### Community 44 - "httpd_handle_t"
Cohesion: 0.12 Cohesion: 0.14
Nodes (28): httpd_os_thread_create(), httpd_os_thread_handle(), httpd_err_code_t, httpd_err_handler_func_t, httpd_handle_t, httpd_method_t, httpd_uri, method (+20 more) Nodes (31): httpd_err_code_t, httpd_err_handler_func_t, httpd_handle_t, httpd_method_t, httpd_uri, method, httpd_uri_t, uri (+23 more)
### Community 45 - "http_parser.h" ### Community 45 - "http_parser.h"
Cohesion: 0.05 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) 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 - "bench.c" ### Community 46 - "beat_start"
Cohesion: 0.13 Cohesion: 0.11
Nodes (14): bench_on_beat_tx(), bench_running(), bench_start(), bench_stop(), gen_cb(), gpio_mark(), espnow_tx_beat(), on_beat() (+6 more) Nodes (18): beat_start(), led_off_cb(), led_set(), bench_on_beat_tx(), bench_running(), bench_start(), bench_stop(), gen_cb() (+10 more)
### Community 47 - "USB Latency Tools" ### Community 47 - "USB Latency Tools"
Cohesion: 0.12 Cohesion: 0.10
Nodes (13): discover(), local_subnet(), main(), analyze(), edges(), main(), pct(), read() (+5 more) Nodes (17): analyze(), edges(), main(), pct(), read(), Api, main(), group() (+9 more)
### Community 50 - "esp_glue.c" ### Community 50 - "steps"
Cohesion: 0.11 Cohesion: 0.10
Nodes (13): esp_fill_random(), esp_get_free_heap_size(), esp_get_minimum_free_heap_size(), esp_log_level_set(), esp_log_set_vprintf(), esp_log_timestamp(), esp_log_write(), esp_random() (+5 more) Nodes (19): TAG, TOKEN, jobs, release, name, on, push, contents (+11 more)
### Community 52 - "sys" ### Community 52 - "espnow_link.cpp"
Cohesion: 0.08 Cohesion: 0.09
Nodes (3): mpremote_base(), main(), TransportExecError Nodes (29): on_recv(), beat_on_frame(), asm_find(), asm_free(), Done, done_add(), done_has(), mac (+21 more)
### Community 53 - "mpremote Transport" ### Community 53 - "mpremote Transport"
Cohesion: 0.12 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) 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 - "httpd_sess.c" ### Community 54 - "patterns_start"
Cohesion: 0.14 Cohesion: 0.29
Nodes (27): httpd_free_ctx_fn_t, httpd_process_session(), enum_function(), fd_is_valid(), httpd_sess_clear_ctx(), httpd_sess_close(), httpd_sess_close_all(), httpd_sess_close_lru() (+19 more) Nodes (8): clamp_leds(), frame_alloc(), patterns_set_hardware(), patterns_start(), fx_init(), sim_nvs_load(), sim_set_mac(), sim_boot()
### Community 55 - "sim_glue.c" ### Community 55 - "httpd_ws_frame"
Cohesion: 0.13 Cohesion: 0.25
Nodes (10): sim_rx(), esp_err_to_name(), esp_fill_random(), esp_log_level_set(), esp_log_set_vprintf(), esp_log_timestamp(), esp_log_write(), esp_random() (+2 more) Nodes (8): httpd_ws_frame, final, fragmented, left_len, len, payload, type, httpd_ws_type_t
### Community 57 - "httpd_config" ### Community 57 - "httpd_config"
Cohesion: 0.06 Cohesion: 0.06
Nodes (33): httpd_close_func_t, httpd_config, backlog_conn, close_fn, core_id, ctrl_port, enable_so_linger, global_transport_ctx (+25 more) Nodes (33): httpd_close_func_t, httpd_config, backlog_conn, close_fn, core_id, ctrl_port, enable_so_linger, global_transport_ctx (+25 more)
### Community 58 - "gallery.js" ### Community 58 - "gallery.js"
Cohesion: 0.26 Cohesion: 0.17
Nodes (15): apply(), banner(), bgField(), buildCard(), checkField(), colourList(), draw(), hex() (+7 more) Nodes (28): addPreset(), apply(), applySpec(), banner(), bgField(), buildCard(), checkField(), colourList() (+20 more)
### Community 59 - "mic_alsa.c" ### Community 59 - "mic_alsa.c"
Cohesion: 0.11 Cohesion: 0.09
Nodes (16): capture_loop(), capture_thread(), list_alsa_devices(), mic_close(), mic_error(), mic_get_level(), mic_is_open(), mic_list_devices() (+8 more) Nodes (19): capture_loop(), capture_thread(), list_alsa_devices(), mic_close(), mic_error(), mic_get_level(), mic_is_open(), mic_list_devices() (+11 more)
### Community 60 - "nvs_sim.cpp" ### Community 60 - "app_main"
Cohesion: 0.11 Cohesion: 0.25
Nodes (36): drop_unicast_peers(), load_channel(), set_channel(), ctrl_init(), save_groups(), get_str(), nvs_handle_t, nvs_open_mode_t (+28 more) Nodes (8): ddp_start(), app_main(), ap_timer_cb(), apply_ap(), net_ap_ssid(), net_start(), nvs_flash_erase(), nvs_flash_init()
### Community 61 - "API Test Fixtures & Audio" ### Community 61 - "API Test Fixtures & Audio"
Cohesion: 0.17 Cohesion: 0.17
@@ -493,29 +491,29 @@ Nodes (18): Colour Palette (per profile), Zone default preset (default hint), DJ
Cohesion: 0.08 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) 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 - "httpd_handle_t" ### Community 66 - "bridge_main.c"
Cohesion: 0.09 Cohesion: 0.05
Nodes (22): httpd_pending_func_t, httpd_recv_func_t, httpd_send_func_t, sock_db, ctx, fd, for_async_req, free_ctx (+14 more) Nodes (60): app_main(), ctl_open(), ensure_peer(), mic_start(), tx_task(), udp_open(), esp_event_loop_create_default(), xSemaphoreCreateMutex() (+52 more)
### Community 67 - "status_get_handler" ### Community 67 - "auth.js"
Cohesion: 0.13 Cohesion: 0.21
Nodes (11): beat_get_info(), bridge_list(), espnow_tx_ap_clients(), espnow_tx_stats(), reset_reason(), status_get_handler(), w5500_init(), mic_get_level() (+3 more) Nodes (22): accountMenu(), addHeaderButton(), applyPerms(), askLogin(), can(), changePassword(), dialog(), close() (+14 more)
### Community 68 - "httpd_uri.c" ### Community 68 - "Transport"
Cohesion: 0.08 Cohesion: 0.12
Nodes (25): httpd_os_thread_delete(), httpd_recv_opt_t, httpd_req, httpd_session_enum_function, thread_data, handle, status, httpd_accept_conn() (+17 more) Nodes (3): _convert_filesystem_error(), stdout_write_bytes(), Transport
### Community 69 - "led_strip_rmt_encoder.c" ### Community 69 - "auth.c"
Cohesion: 0.22 Cohesion: 0.05
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() Nodes (106): audio_api_resume_mic(), mic_follow_setting(), all_edit(), area_index(), auth_can(), auth_classify(), auth_enabled_locked(), auth_gate() (+98 more)
### Community 70 - "Index Page Modals" ### Community 70 - "Index Page Modals"
Cohesion: 0.11 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) 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 - "rel.c" ### Community 71 - "sim_glue.c"
Cohesion: 0.19 Cohesion: 0.13
Nodes (15): espnow_tx_send(), full_mask(), handle_rx(), peer_get(), record_done(), rel_init(), rel_peer_status(), rel_send() (+7 more) Nodes (10): sim_rx(), esp_err_to_name(), esp_fill_random(), esp_log_level_set(), esp_log_set_vprintf(), esp_log_timestamp(), esp_log_write(), esp_random() (+2 more)
### Community 72 - "httpd_data" ### Community 72 - "httpd_data"
Cohesion: 0.11 Cohesion: 0.11
@@ -523,7 +521,7 @@ Nodes (17): esp_http_server_event_id_t, httpd_data, config, ctrl_fd, ctrl_sock_s
### Community 74 - "presets.cpp" ### Community 74 - "presets.cpp"
Cohesion: 0.19 Cohesion: 0.19
Nodes (24): clear_all_presets(), build_defaults(), entry_key(), find(), load_entry(), load_legacy(), presets_add_defaults(), presets_apply_startup() (+16 more) Nodes (23): clear_all_presets(), patterns_index(), preset_defaults(), build_defaults(), entry_key(), find(), load_entry(), presets_add_defaults() (+15 more)
### Community 75 - "v1 driver messages (long/short keys)" ### Community 75 - "v1 driver messages (long/short keys)"
Cohesion: 0.24 Cohesion: 0.24
@@ -533,13 +531,13 @@ Nodes (8): Controller WebSocket /ws (v1 presets/select), Bench endpoints /test/l
Cohesion: 0.14 Cohesion: 0.14
Nodes (17): led_controller ESP-IDF project, Driver app update /drivers/ota (staged files, sha, commit/abort), Firmware OTA /ota (idle slot, rollback), 30 ms beat lead (CONFIG_BEAT_LEAD_MS), Bench test: S3 controller and one LED driver, ESP32-C3 vs S3 driver comparison, Driver app update over ESP-NOW test (tools/driver_ota.py), Logic analyzer latency (marker GPIO, tools/analyze_edges.py) (+9 more) Nodes (17): led_controller ESP-IDF project, Driver app update /drivers/ota (staged files, sha, commit/abort), Firmware OTA /ota (idle slot, rollback), 30 ms beat lead (CONFIG_BEAT_LEAD_MS), Bench test: S3 controller and one LED driver, ESP32-C3 vs S3 driver comparison, Driver app update over ESP-NOW test (tools/driver_ota.py), Logic analyzer latency (marker GPIO, tools/analyze_edges.py) (+9 more)
### Community 77 - "espnow_link.cpp" ### Community 77 - "bridge_main.c"
Cohesion: 0.07 Cohesion: 0.09
Nodes (40): on_recv(), beat_on_frame(), Asm, buf, cnt, asm_find(), flags, asm_free() (+32 more) Nodes (15): bridge_eth_ip(), bridge_eth_start(), on_eth_down(), on_got_ip(), build_info(), handle_frame(), host_rx_task(), log_hook() (+7 more)
### Community 78 - "sim_split.js" ### Community 78 - "sim_split.js"
Cohesion: 0.32 Cohesion: 0.29
Nodes (18): addMenuEntries(), applyWidth(), attachSwipe(), build(), clampWidth(), close(), init(), isOpen() (+10 more) Nodes (21): addMenuEntries(), applyWidth(), attachSwipe(), build(), clampWidth(), close(), init(), isOpen() (+13 more)
### Community 79 - "Audio Monitor Page" ### Community 79 - "Audio Monitor Page"
Cohesion: 0.16 Cohesion: 0.16
@@ -553,9 +551,9 @@ Nodes (9): parse(), _assert_eq(), main(), test_artnet_send_loopback(), test_buil
Cohesion: 0.09 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) Nodes (21): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+13 more)
### Community 83 - "pytest" ### Community 83 - "sim_rig.c"
Cohesion: 0.16 Cohesion: 0.17
Nodes (3): test_events_stream(), need_sim(), rig() Nodes (33): cJSON_AddObjectToObject(), api_handler(), config_json(), db_root(), default_room(), ensure_dirs(), find_file(), fixture_by_mac() (+25 more)
### Community 84 - "unique" ### Community 84 - "unique"
Cohesion: 0.06 Cohesion: 0.06
@@ -565,45 +563,49 @@ Nodes (18): find_id_by_field(), missing(), unique(), test_scenes(), device(), gr
Cohesion: 0.20 Cohesion: 0.20
Nodes (10): ap(), _broadcast_ws(), _espnow_receive_loop(), _init_espnow(), main(), _send_espnow(), _validate_envelope(), ws() (+2 more) Nodes (10): ap(), _broadcast_ws(), _espnow_receive_loop(), _init_espnow(), main(), _send_espnow(), _validate_envelope(), ws() (+2 more)
### Community 86 - "net.cpp" ### Community 86 - "desktop_main.c"
Cohesion: 0.11 Cohesion: 0.60
Nodes (28): apply_device_config(), ctrl_build_announce(), names_me(), own_mac_hex(), ddp_start(), espnow_link_start(), app_main(), ap_timer_cb() (+20 more) Nodes (3): main(), set_from_env(), usage()
### Community 89 - "api_call_t" ### Community 89 - "load_lanes"
Cohesion: 0.33 Cohesion: 0.29
Nodes (5): api_call_t, cap, done, msg, out Nodes (13): cJSON_IsFalse(), load(), load_lanes(), load_targets(), mask_of(), num(), send_presets(), seq_oneshot() (+5 more)
### Community 90 - "Sender" ### Community 90 - "Sender"
Cohesion: 0.11 Cohesion: 0.14
Nodes (9): get(), output_scale(), run_interactive(), handle(), show_menu(), run_soak(), sample(), send_sync() (+1 more) Nodes (4): run_interactive(), handle(), show_menu(), Sender
### Community 92 - "esp_log.h" ### Community 92 - "httpd_os_thread_create"
Cohesion: 0.09 Cohesion: 0.40
Nodes (19): bridge_eth_ip(), build_info(), handle_frame(), host_rx_task(), put_u32(), send_info(), bridge_crc16_update(), bridge_decode_feed() (+11 more) Nodes (3): httpd_os_thread_create(), httpd_os_thread_handle(), httpd_validate_req_ptr()
### Community 93 - "events" ### Community 93 - "events"
Cohesion: 0.10 Cohesion: 0.10
Nodes (24): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+16 more) Nodes (24): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+16 more)
### Community 94 - "send_frame" ### Community 94 - "httpd_txrx.c"
Cohesion: 0.33 Cohesion: 0.09
Nodes (9): bridge_serial_mic(), bridge_serial_send(), bridge_serial_set_channel(), bridge_serial_status(), get_u32(), handle_frame(), link_task(), open_port() (+1 more) Nodes (57): esp_app_get_description(), httpd_req_t, httpd_resp_send_404(), httpd_resp_send_408(), httpd_resp_send_500(), httpd_resp_sendstr(), httpd_resp_sendstr_chunk(), httpd_recv() (+49 more)
### Community 95 - "Microdot Auth (dmx)" ### Community 95 - "Microdot Auth (dmx)"
Cohesion: 0.19 Cohesion: 0.19
Nodes (6): wraps(), print_exception(), websocket_upgrade(), websocket_wrapper(), wrapper(), with_websocket() Nodes (6): wraps(), print_exception(), websocket_upgrade(), websocket_wrapper(), wrapper(), with_websocket()
### Community 96 - "net.cpp" ### Community 96 - "web.cpp"
Cohesion: 0.10 Cohesion: 0.04
Nodes (17): on_eth_down(), on_got_ip(), ap_switch_later(), client_allowed(), on_ip_event(), on_wifi_event(), reconnect_cb(), retry_cb() (+9 more) Nodes (44): in_group(), KeyName, longk, shortk, long_name(), names_me(), own_mac_hex(), be16() (+36 more)
### Community 97 - "settings_load_net"
Cohesion: 0.19
Nodes (20): drop_unicast_peers(), load_channel(), set_channel(), apply_device_config(), ctrl_build_announce(), ctrl_init(), save_groups(), espnow_link_start() (+12 more)
### Community 98 - "DMX Preset Model" ### Community 98 - "DMX Preset Model"
Cohesion: 0.13 Cohesion: 0.08
Nodes (8): _expand(), _preset_from_map(), process_data(), _select_entries(), _targets_for_key(), play(), _parse_colour(), Preset Nodes (12): _expand(), _preset_from_map(), process_data(), _select_entries(), _targets_for_key(), create_app(), play(), serial_ports() (+4 more)
### Community 99 - "httpd_txrx.c" ### Community 99 - "sim_stubs.c"
Cohesion: 0.10 Cohesion: 0.16
Nodes (45): esp_app_get_description(), httpd_resp_send_404(), httpd_resp_send_408(), httpd_resp_sendstr(), httpd_resp_sendstr_chunk(), httpd_req_async_handler_begin(), httpd_req_recv(), httpd_resp_send() (+37 more) Nodes (6): mount(), esp_vfs_littlefs_register(), mic_get_level(), mic_start(), mic_stream_open(), mic_stream_read()
### Community 101 - "Groups UI (JS)" ### Community 101 - "Groups UI (JS)"
Cohesion: 0.29 Cohesion: 0.29
@@ -633,21 +635,25 @@ Nodes (14): Build and flash, Channel, Ethernet (W5500), Microphone (S3), Protoco
Cohesion: 0.18 Cohesion: 0.18
Nodes (8): find_devices(), probe(), sweep(), load_rig(), local_prefix(), main(), neighbours(), set_fps() Nodes (8): find_devices(), probe(), sweep(), load_rig(), local_prefix(), main(), neighbours(), set_fps()
### Community 108 - "BridgeSim" ### Community 108 - "Asm"
Cohesion: 0.04 Cohesion: 0.18
Nodes (27): BridgeSim, api_seed_layout(), index(), driver_mac(), lan_ip(), load_config(), mac_str(), main() (+19 more) Nodes (11): Asm, buf, cnt, flags, last_us, lens, mac, mask (+3 more)
### Community 109 - "Driver Message API Docs" ### Community 109 - "Driver Message API Docs"
Cohesion: 0.38 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) 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 110 - "run_soak"
Cohesion: 0.18
Nodes (6): get(), Missing, output_scale(), run_soak(), sample(), soft_get()
### Community 111 - "led_strip Manifest" ### Community 111 - "led_strip Manifest"
Cohesion: 0.20 Cohesion: 0.20
Nodes (9): dependencies, idf, description, repository, repository_info, commit_sha, path, url (+1 more) Nodes (9): dependencies, idf, description, repository, repository_info, commit_sha, path, url (+1 more)
### Community 112 - "EMSCRIPTEN_KEEPALIVE" ### Community 112 - "test_auth.py"
Cohesion: 0.22 Cohesion: 0.20
Nodes (8): patterns_count(), patterns_name(), fx_count(), fx_init(), fx_name(), fx_step(), sim_nvs_load(), sim_clock_set_us() Nodes (19): run(), admin(), anon(), _base(), call(), host(), login(), test_admin_can_edit() (+11 more)
### Community 113 - "Outputs UI (JS)" ### Community 113 - "Outputs UI (JS)"
Cohesion: 0.33 Cohesion: 0.33
@@ -665,10 +671,6 @@ Nodes (9): API.md, LED controller user guide, Main web UI (Raspberry Pi app), Pa
Cohesion: 0.31 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) 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 - "outputs.c"
Cohesion: 0.41
Nodes (11): fail(), fill(), one_of(), put16(), resolve(), run_test(), send_artnet(), send_ddp() (+3 more)
### Community 118 - "Help: Header Toolbar Image" ### Community 118 - "Help: Header Toolbar Image"
Cohesion: 0.29 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 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
@@ -694,20 +696,20 @@ 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 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 - "esp_httpd_priv.h" ### Community 124 - "esp_httpd_priv.h"
Cohesion: 0.15 Cohesion: 0.17
Nodes (22): desktop_base64_encode(), desktop_sha1(), rol(), sha1_block(), httpd_ws_client_info_t, httpd_ws_frame_t, transfer_complete_cb, httpd_send() (+14 more) Nodes (22): desktop_base64_encode(), desktop_sha1(), rol(), sha1_block(), httpd_ws_client_info_t, httpd_ws_frame_t, transfer_complete_cb, httpd_ws_check_req() (+14 more)
### Community 125 - "led_strip_spi_dev.c" ### Community 125 - "led_strip_spi_dev.c"
Cohesion: 0.10 Cohesion: 0.06
Nodes (23): heap_caps_calloc(), led_strip_rmt_config_t, led_strip_config_t, led_strip_t, led_strip_new_rmt_device(), led_strip_rmt_clear(), led_strip_rmt_del(), led_strip_rmt_refresh() (+15 more) Nodes (38): heap_caps_calloc(), app_main(), app_main(), configure_led(), app_main(), configure_led(), led_strip_rmt_config_t, led_strip_spi_config_t (+30 more)
### Community 126 - "app_main" ### Community 126 - "status_get_handler"
Cohesion: 0.07 Cohesion: 0.18
Nodes (25): esp_err_to_name(), esp_event_loop_create_default(), esp_event_post(), esp_read_mac(), cJSON_Hooks, cJSON_InitHooks(), esp_http_server_dispatch_event(), engine_init() (+17 more) Nodes (9): bridge_list(), espnow_tx_ap_clients(), espnow_tx_stats(), reset_reason(), status_get_handler(), mic_get_level(), rel_stats(), rel_ver() (+1 more)
### Community 128 - "httpd_ctrl_data" ### Community 128 - "Type"
Cohesion: 0.22 Cohesion: 0.18
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) Nodes (11): Type, T_BLOB, T_I32, T_I64, T_STR, T_U32, T_U8, Value (+3 more)
### Community 129 - "Colour Picker Demo Image" ### Community 129 - "Colour Picker Demo Image"
Cohesion: 0.33 Cohesion: 0.33
@@ -717,25 +719,37 @@ Nodes (6): Custom Color Picker Demo (screenshot), Hex and RGB input support, HSB
Cohesion: 0.33 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) 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 - "beat_start" ### Community 131 - "httpd_ctrl_data"
Cohesion: 0.29 Cohesion: 0.22
Nodes (4): mic_start(), beat_start(), bridge_set_audio_cb(), bridge_serial_set_audio_cb() 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 132 - "microdot.py" ### Community 132 - "microdot.py"
Cohesion: 0.10 Cohesion: 0.10
Nodes (5): invoke_handler(), iscoroutine(), Response, aclose(), __anext__() Nodes (5): invoke_handler(), iscoroutine(), Response, aclose(), __anext__()
### Community 133 - "pattern_def_t" ### Community 133 - "esp_http_server_dispatch_event"
Cohesion: 0.40 Cohesion: 0.33
Nodes (5): fx_fn, pattern_def_t, fn, name, web_each() Nodes (4): esp_err_to_name(), esp_event_post(), esp_read_mac(), esp_http_server_dispatch_event()
### Community 135 - "PatternPlayer"
Cohesion: 0.15
Nodes (3): main(), output_tick(), PatternPlayer
### Community 136 - "HttpDevice"
Cohesion: 0.08
Nodes (8): _default_image(), _info(), ota_update(), HttpDevice, IdfError, _default_image(), _info(), ota_update()
### Community 137 - "api_call_t"
Cohesion: 0.33
Nodes (5): api_call_t, cap, done, msg, out
### Community 138 - "Help: Colour Palette Image" ### Community 138 - "Help: Colour Palette Image"
Cohesion: 0.40 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) 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 - "sim_demo.py" ### Community 139 - "esp_err_t"
Cohesion: 0.26 Cohesion: 0.60
Nodes (7): Api, main(), group(), preset(), sequence(), new_id(), rig_bars() Nodes (4): led_strip_rmt_clear(), led_strip_rmt_del(), led_strip_rmt_refresh(), led_strip_rmt_set_pixel()
### Community 140 - "LED Driver README" ### Community 140 - "LED Driver README"
Cohesion: 0.47 Cohesion: 0.47
@@ -761,13 +775,13 @@ Nodes (4): Edit mode, Mobile layout Menu, Run mode, Zones modal
Cohesion: 0.60 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) 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 - "patterns.c" ### Community 149 - "api_error"
Cohesion: 0.25 Cohesion: 0.10
Nodes (18): add_name(), all_patterns(), base_name(), builtin(), create_driver_pattern(), exists(), file_names(), file_path() (+10 more) Nodes (51): api_body(), api_current_profile(), api_error(), api_json(), api_message(), api_preset_in_profile(), api_result(), api_split() (+43 more)
### Community 155 - "app.js" ### Community 155 - "app.js"
Cohesion: 0.11 Cohesion: 0.11
Nodes (56): addBridge(), addFixture(), addLog(), api(), applyConfig(), banner(), changed(), colourAt() (+48 more) Nodes (60): addBridge(), addFixture(), addLog(), api(), applyConfig(), banner(), centreStrips(), changed() (+52 more)
### Community 156 - "RMT Example Manifest" ### Community 156 - "RMT Example Manifest"
Cohesion: 0.40 Cohesion: 0.40
@@ -785,17 +799,17 @@ Nodes (4): Settings modal (device, network), loadEspnowChannel(), Device Setting
Cohesion: 0.10 Cohesion: 0.10
Nodes (49): api(), applyMode(), attachDrag(), closeEditor(), closeSock(), deviceChoices(), direct(), discoverDevices() (+41 more) Nodes (49): api(), applyMode(), attachDrag(), closeEditor(), closeSock(), deviceChoices(), direct(), discoverDevices() (+41 more)
### Community 165 - "test_presets.py" ### Community 165 - "thread_data"
Cohesion: 0.13 Cohesion: 0.50
Nodes (4): preset(), test_create_belongs_to_current_profile(), test_create_fills_defaults(), test_presets_scoped_to_profile() Nodes (3): thread_data, handle, status
### Community 166 - "mdns_host.c" ### Community 166 - "wifi_drv.c"
Cohesion: 0.15 Cohesion: 0.14
Nodes (9): add_ptr(), build_query(), decode_name(), handle_rr(), mdns_dup(), mdns_query_ptr(), mdns_query_results_free(), parse_packet() (+1 more) Nodes (9): add_ptr(), build_query(), decode_name(), handle_rr(), mdns_dup(), mdns_query_ptr(), mdns_query_results_free(), parse_packet() (+1 more)
### Community 167 - "SerialDMX" ### Community 168 - "nvs_sim.cpp"
Cohesion: 0.28 Cohesion: 0.29
Nodes (3): sleep_ms(), SerialDMX, sleep() Nodes (16): load_legacy(), get_str(), nvs_handle_t, from_hex(), get_bytes(), get_num(), nvs_erase_all(), nvs_erase_key() (+8 more)
### Community 170 - "dependencies" ### Community 170 - "dependencies"
Cohesion: 0.16 Cohesion: 0.16
@@ -805,45 +819,33 @@ Nodes (13): dependencies, espressif/cjson, espressif/mdns, espressif/w5500, jolt
Cohesion: 0.83 Cohesion: 0.83
Nodes (3): applyListSearch(), initListSearch(), rowSearchText() Nodes (3): applyListSearch(), initListSearch(), rowSearchText()
### Community 177 - "bulk_task" ### Community 197 - "cJSON_CreateString"
Cohesion: 0.12
Nodes (21): ensure_peer(), tx_task(), bench_on_echo(), bridge_active(), bridge_send(), bulk_task(), espnow_tx_drop(), espnow_tx_set_rx_cb() (+13 more)
### Community 184 - "vTaskDelete"
Cohesion: 0.09
Nodes (28): httpd_os_thread_sleep(), vQueueDelete(), vTaskDelete(), httpd_queue_work(), httpd_stop(), httpd_req_async_handler_complete(), httpd_req_to_sockfd(), cs_send_to_ctrl_sock() (+20 more)
### Community 197 - "cJSON_GetObjectItem"
Cohesion: 0.09
Nodes (109): cJSON_AddItemReferenceToObject(), cJSON_CreateString(), cJSON_DeleteItemFromObject(), cJSON_Duplicate(), cJSON_GetObjectItem(), cJSON_IsBool(), cJSON_ReplaceItemInObject(), httpd_req_t (+101 more)
### Community 198 - "Transport"
Cohesion: 0.23
Nodes (3): _convert_filesystem_error(), stdout_write_bytes(), Transport
### Community 199 - "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 202 - "json"
Cohesion: 0.06
Nodes (21): Blink, Pulse, call(), main(), switch(), wifi_state(), _default_image(), _info() (+13 more)
### Community 203 - "string"
Cohesion: 0.10 Cohesion: 0.10
Nodes (6): main(), set_from_env(), usage(), string, ota_confirm_later(), mic_get_level() Nodes (87): cJSON_AddItemReferenceToObject(), cJSON_CreateBool(), cJSON_CreateNull(), cJSON_CreateString(), cJSON_DeleteItemFromObject(), cJSON_Duplicate(), cJSON_GetObjectItem(), cJSON_IsObject() (+79 more)
### Community 198 - "sys"
Cohesion: 0.11
Nodes (4): mpremote_base(), main(), info(), upload()
### Community 201 - "requests"
Cohesion: 0.18
Nodes (3): test_events_stream(), need_sim(), rig()
### Community 202 - "time"
Cohesion: 0.10
Nodes (14): Blink, Pulse, call(), main(), switch(), wifi_state(), sleep(), sleep_ms() (+6 more)
### Community 203 - "web.c"
Cohesion: 0.36
Nodes (10): audio_page_handler(), etag(), favicon_handler(), find_file(), index_handler(), mime_for(), send_gz(), static_handler() (+2 more)
### Community 204 - "_simlink_proc.py" ### Community 204 - "_simlink_proc.py"
Cohesion: 0.15 Cohesion: 0.16
Nodes (5): connect(), on_feed(), push_pixels(), _reader(), _send_pixels() Nodes (5): connect(), on_feed(), push_pixels(), _reader(), _send_pixels()
### Community 205 - "httpd_ws_frame" ### Community 205 - "httpd_req"
Cohesion: 0.25 Cohesion: 0.20
Nodes (8): httpd_ws_frame, final, fragmented, left_len, len, payload, type, httpd_ws_type_t Nodes (10): httpd_req, aux, content_len, free_ctx, handle, ignore_sess_ctx_changes, method, sess_ctx (+2 more)
### Community 207 - "relay_forward"
Cohesion: 0.11
Nodes (20): cJSON_free(), api_call_work(), envelope(), relay_client(), relay_do(), relay_forward(), relay_host_ok(), relay_path_ok() (+12 more)
### Community 227 - "dependencies" ### Community 227 - "dependencies"
Cohesion: 0.33 Cohesion: 0.33
@@ -859,23 +861,23 @@ Nodes (3): fixtureEnd(), fixtureLeds(), roomStrips()
## Knowledge Gaps ## Knowledge Gaps
- **297 isolated node(s):** `next`, `prev`, `child`, `type`, `valuestring` (+292 more) - **297 isolated node(s):** `next`, `prev`, `child`, `type`, `valuestring` (+292 more)
These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 1236 node(s) total have ≤1 connection when file, concept and rationale nodes are included.) These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 1282 node(s) total have ≤1 connection when file, concept and rationale nodes are included.)
- **67 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes. - **64 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
## Suggested Questions ## Suggested Questions
_Questions this graph is uniquely positioned to answer:_ _Questions this graph is uniquely positioned to answer:_
- **Why does `string` connect `string` to `cJSON`, `sim_rig.c`, `esp_err.h`, `freertos.c`, `bridge.c`, `cJSON_IsString`, `patterns.c`, `seqplay.c`, `cJSON_CreateObject`, `httpd_parse.c`, `cJSON_Delete`, `mdns_host.c`, `Beat Detection DSP (C)`, `bench.c`, `esp_glue.c`, `sim_glue.c`, `mic_alsa.c`, `nvs_sim.cpp`, `httpd_uri.c`, `cJSON_GetObjectItem`, `rel.c`, `esp_log.h`, `net.cpp`, `httpd_txrx.c`, `outputs.c`, `esp_httpd_priv.h`, `led_strip_spi_dev.c`?** - **Why does `string` connect `esp_err.h` to `Type`, `res_device.c`, `cJSON`, `freertos.c`, `api_error`, `cJSON_IsString`, `httpd_sess.c`, `httpd_parse.c`, `esp_timer_create`, `outputs.c`, `wifi_drv.c`, `Beat Detection DSP (C)`, `xSemaphoreGive`, `nvs_sim.cpp`, `beat_start`, `mic_alsa.c`, `bridge_main.c`, `auth.c`, `cJSON_CreateString`, `sim_glue.c`, `web.c`, `bridge_main.c`, `sim_rig.c`, `desktop_main.c`, `sim_stubs.c`, `esp_httpd_priv.h`, `led_strip_spi_dev.c`?**
_High betweenness centrality (0.063) - this node is a cross-community bridge._ _High betweenness centrality (0.058) - this node is a cross-community bridge._
- **Are the 190 inferred relationships involving `cJSON_GetObjectItem()` (e.g. with `list_pulse_sources()` and `apply_default()`) actually correct?** - **Are the 208 inferred relationships involving `cJSON_GetObjectItem()` (e.g. with `list_pulse_sources()` and `apply_default()`) actually correct?**
_`cJSON_GetObjectItem()` has 190 INFERRED edges - model-reasoned connections that need verification._ _`cJSON_GetObjectItem()` has 208 INFERRED edges - model-reasoned connections that need verification._
- **What connects `next`, `prev`, `child` to the rest of the system?** - **What connects `next`, `prev`, `child` to the rest of the system?**
_297 weakly-connected nodes found - possible documentation gaps or missing edges._ _297 weakly-connected nodes found - possible documentation gaps or missing edges._
- **Should `IdfDevice` be split into smaller, more focused modules?**
_Cohesion score 0.10037878787878787 - nodes in this community are weakly interconnected._
- **Why does `led-controller ESP32-S3 firmware` connect `USB ESP-NOW bridge` to `v1 driver messages (long/short keys)`, `API Docs: Outputs & Audio`, `DMX Driver Art-Net and serial gateway`, `Controller Overview & OTA Docs`?**
_High betweenness centrality (0.030) - this node is a cross-community bridge._
- **Are the 114 inferred relationships involving `cJSON_Delete()` (e.g. with `list_pulse_sources()` and `ctrl_handle()`) actually correct?**
_`cJSON_Delete()` has 114 INFERRED edges - model-reasoned connections that need verification._
- **Should `htmx Library` be split into smaller, more focused modules?** - **Should `htmx Library` be split into smaller, more focused modules?**
_Cohesion score 0.07897684839432412 - nodes in this community are weakly interconnected._ _Cohesion score 0.07897684839432412 - nodes in this community are weakly interconnected._
- **Why does `led-controller ESP32-S3 firmware` connect `USB ESP-NOW bridge` to `v1 driver messages (long/short keys)`, `API Docs: Outputs & Audio`, `DMX Driver Art-Net and serial gateway`, `Controller Overview & OTA Docs`?**
_High betweenness centrality (0.030) - this node is a cross-community bridge._
- **Are the 124 inferred relationships involving `cJSON_Delete()` (e.g. with `list_pulse_sources()` and `ctrl_handle()`) actually correct?**
_`cJSON_Delete()` has 124 INFERRED edges - model-reasoned connections that need verification._
- **Should `res_device.c` be split into smaller, more focused modules?**
_Cohesion score 0.11980676328502415 - nodes in this community are weakly interconnected._
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_bridge_c", "label": "bridge.c", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L1"}, {"id": "$graphify-root$_main_bridge_is_serial_addr", "label": "is_serial_addr()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L61", "_callable": true}, {"id": "$graphify-root$_main_bridge_is_browser_addr", "label": "is_browser_addr()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L66", "_callable": true}, {"id": "$graphify-root$_main_bridge_now_ms", "label": "now_ms()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L77", "_callable": true}, {"id": "$graphify-root$_main_bridge_fnv1a", "label": "fnv1a()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L82", "_callable": true}, {"id": "$graphify-root$_main_bridge_deliver", "label": "deliver()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L91", "_callable": true}, {"id": "$graphify-root$_main_bridge_rx_task", "label": "rx_task()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L109", "_callable": true}, {"id": "$graphify-root$_main_bridge_ctl_rx_task", "label": "ctl_rx_task()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L132", "_callable": true}, {"id": "$graphify-root$_main_bridge_keepalive_task", "label": "keepalive_task()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L178", "_callable": true}, {"id": "$graphify-root$_main_bridge_split_udp", "label": "split_udp()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L212", "_callable": true}, {"id": "$graphify-root$_main_bridge_connect_udp", "label": "connect_udp()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L225", "_callable": true}, {"id": "$graphify-root$_main_bridge_find_link", "label": "find_link()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L251", "_callable": true}, {"id": "$graphify-root$_main_bridge_activate", "label": "activate()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L262", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/bridge.c"}, {"id": "$graphify-root$_main_bridge_deactivate", "label": "deactivate()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L332", "_callable": true}, {"id": "$graphify-root$_main_bridge_ensure_tasks", "label": "ensure_tasks()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L354", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_set_all", "label": "bridge_set_all()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L363", "_callable": true}, {"id": "bridge_rx_cb_t", "label": "bridge_rx_cb_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/bridge.c"}, {"id": "$graphify-root$_main_bridge_bridge_active", "label": "bridge_active()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L400", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_list", "label": "bridge_list()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L410", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_send", "label": "bridge_send()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L422", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_status_json", "label": "bridge_status_json()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L461", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_ports_json", "label": "bridge_ports_json()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L516", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_board_set_channel", "label": "bridge_board_set_channel()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L525", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_browser_rx", "label": "bridge_browser_rx()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L543", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_mac_is_browser", "label": "bridge_mac_is_browser()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L569", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_has_browser", "label": "bridge_has_browser()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L583", "_callable": true}, {"id": "$graphify-root$_main_bridge_bridge_set_audio_cb", "label": "bridge_set_audio_cb()", "file_type": "code", "source_file": "main/bridge.c", "source_location": "L597", "_callable": true}, {"id": "bridge_audio_cb_t", "label": "bridgLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_test_api_test_auth_py", "label": "test_auth.py", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L1"}, {"id": "$graphify-root$_test_api_test_auth_base", "label": "_base()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L21", "_callable": true}, {"id": "fixture", "label": "fixture", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/test/api/test_auth.py"}, {"id": "$graphify-root$_test_api_test_auth_host", "label": "host()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L26", "_py_fixture": "?", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_anon", "label": "anon()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L35", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_call", "label": "call()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L42", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_login", "label": "login()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L47", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_admin", "label": "admin()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L55", "_py_fixture": "?", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_open_until_first_user", "label": "test_open_until_first_user()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L66", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_signed_out_reads_and_edits", "label": "test_signed_out_reads_and_edits()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L76", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_signed_out_has_no_settings_or_users", "label": "test_signed_out_has_no_settings_or_users()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L84", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_viewer_does_not_see_wifi_password", "label": "test_viewer_does_not_see_wifi_password()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L90", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_password_hashes_never_returned", "label": "test_password_hashes_never_returned()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L104", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_wrong_password_refused", "label": "test_wrong_password_refused()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L110", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_admin_can_edit", "label": "test_admin_can_edit()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L115", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_custom_role_and_its_limits", "label": "test_custom_role_and_its_limits()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L120", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_admin_role_is_fixed", "label": "test_admin_role_is_fixed()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L143", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_last_manager_cannot_be_removed", "label": "test_last_manager_cannot_be_removed()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L151", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_unknown_area_in_perms_refused", "label": "test_unknown_area_in_perms_refused()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L158", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_login_lockout", "label": "test_login_lockout()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L163", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_rationale_1", "label": "Users, roles and permissions. These turn auth on for the controller they run\u2026", "file_type": "rationale", "source_file": "test/api/test_auth.py", "source_location": "L1"}, {"id": "$graphify-root$_test_api_test_auth_rationale_56", "label": "Creates the first admin (open while no user exists), then signs in as them.", "file_type": "rationale", "source_file": "test/api/test_auth.py", "source_location": "L56"}], "edges": [{"source": "$graphify-root$_test_api_test_auth_py", "target": "os", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "test/api/test_auth.py", "source_location": "L9", "weight": 1.0, "_python_import_module": "os", "_python_import_bindings": [["os", "os"]], "_python_import_module_binding": true}, {"Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_engine_c", "label": "engine.c", "file_type": "code", "source_file": "main/engine.c", "source_location": "L1"}, {"id": "$graphify-root$_main_engine_tx", "label": "tx()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L27", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/engine.c"}, {"id": "$graphify-root$_main_engine_parse_mac", "label": "parse_mac()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L40", "_callable": true}, {"id": "$graphify-root$_main_engine_wrap_wire", "label": "wrap_wire()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L63", "_callable": true}, {"id": "$graphify-root$_main_engine_emit_c", "label": "emit_c()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L88", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/engine.c"}, {"id": "$graphify-root$_main_engine_id_text", "label": "id_text()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L116", "_callable": true}, {"id": "$graphify-root$_main_engine_palette_color", "label": "palette_color()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L129", "_callable": true}, {"id": "$graphify-root$_main_engine_engine_preset_payload", "label": "engine_preset_payload()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L147", "_callable": true}, {"id": "$graphify-root$_main_engine_preset_payload", "label": "preset_payload()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L181", "_callable": true}, {"id": "$graphify-root$_main_engine_zone_names", "label": "zone_names()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L188", "_callable": true}, {"id": "$graphify-root$_main_engine_name_seen", "label": "name_seen()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L195", "_callable": true}, {"id": "$graphify-root$_main_engine_engine_zone_targets", "label": "engine_zone_targets()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L211", "_callable": true}, {"id": "$graphify-root$_main_engine_mac_listed", "label": "mac_listed()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L232", "_callable": true}, {"id": "$graphify-root$_main_engine_in_group", "label": "in_group()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L256", "_callable": true}, {"id": "$graphify-root$_main_engine_driver_in_zone", "label": "driver_in_zone()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L269", "_callable": true}, {"id": "$graphify-root$_main_engine_is_wifi", "label": "is_wifi()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L282", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_in_group", "label": "wifi_in_group()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L289", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_zone", "label": "wifi_zone()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L312", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_selected", "label": "wifi_selected()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L343", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_push", "label": "wifi_push()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L372", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_store_presets", "label": "wifi_store_presets()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L440", "_callable": true}, {"id": "$graphify-root$_main_engine_emit_zone", "label": "emit_zone()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L466", "_callable": true}, {"id": "$graphify-root$_main_engine_select_zone", "label": "select_zone()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L484", "_callable": true}, {"id": "$graphify-root$_main_engine_zone_cur_set", "label": "zone_cur_set()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L501", "_callable": true}, {"id": "$graphify-root$_main_engine_play_locked", "label": "play_locked()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L520", "_callable": true}, {"id": "$graphify-root$_main_engine_engine_zone_note", "label": "engine_zone_note()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L549", "_callable": true}, {"id": "$graphify-root$_main_engine_engine_zone_current", "label": "engine_zone_current()", "file_type": "code", "source_file": "main/engine.c",Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_sim_controller_components_sim_sim_rig_c", "label": "sim_rig.c", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L1"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_find_file", "label": "find_file()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L62", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_mime_for", "label": "mime_for()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L89", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_send_file", "label": "send_file()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L107", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_rig.c"}, {"id": "httpd_req_t", "label": "httpd_req_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_rig.c"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_page_handler", "label": "page_handler()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L128", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_db_root", "label": "db_root()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L155", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_sim_path", "label": "sim_path()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L161", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_ensure_dirs", "label": "ensure_dirs()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L166", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_read_text", "label": "read_text()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L177", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_read_json", "label": "read_json()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L195", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_rig.c"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_write_text", "label": "write_text()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L207", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_write_json", "label": "write_json()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L221", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_name_ok", "label": "name_ok()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L231", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_room_name_ok", "label": "room_name_ok()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L245", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_id_ok", "label": "id_ok()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L250", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_mac_ok", "label": "mac_ok()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L255", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_round_to", "label": "round_to()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L268", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_wrap_deg", "label": "wrap_deg()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L273", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_num_in", "label": "num_in()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L285", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_validate_room", "label": "validate_room()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L302", "_callable": true}, {"id": "$grapLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_patterns_c", "label": "patterns.c", "file_type": "code", "source_file": "main/patterns.c", "source_location": "L1"}, {"id": "$graphify-root$_main_patterns_builtin", "label": "builtin()", "file_type": "code", "source_file": "main/patterns.c", "source_location": "L23", "_callable": true}, {"id": "$graphify-root$_main_patterns_base_name", "label": "base_name()", "file_type": "code", "source_file": "main/patterns.c", "source_location": "L29", "_callable": true}, {"id": "$graphify-root$_main_patterns_file_path", "label": "file_path()", "file_type": "code", "source_file": "main/patterns.c", "source_location": "L49", "_callable": true}, {"id": "$graphify-root$_main_patterns_load", "label": "load()", "file_type": "code", "source_file": "main/patterns.c", "source_location": "L55", "_callable": true}, {"id": "$graphify-root$_main_patterns_exists", "label": "exists()", "file_type": "code", "source_file": "main/patterns.c", "source_location": "L86", "_callable": true}, {"id": "$graphify-root$_main_patterns_add_name", "label": "add_name()", "file_type": "code", "source_file": "main/patterns.c", "source_location": "L100", "_callable": true}, {"id": "$graphify-root$_main_patterns_file_names", "label": "file_names()", "file_type": "code", "source_file": "main/patterns.c", "source_location": "L109", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/patterns.c"}, {"id": "$graphify-root$_main_patterns_write_file", "label": "write_file()", "file_type": "code", "source_file": "main/patterns.c", "source_location": "L124", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/patterns.c"}, {"id": "$graphify-root$_main_patterns_all_patterns", "label": "all_patterns()", "file_type": "code", "source_file": "main/patterns.c", "source_location": "L183", "_callable": true}, {"id": "$graphify-root$_main_patterns_list_patterns", "label": "list_patterns()", "file_type": "code", "source_file": "main/patterns.c", "source_location": "L203", "_callable": true}, {"id": "httpd_req_t", "label": "httpd_req_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/patterns.c"}, {"id": "$graphify-root$_main_patterns_list_pattern_names", "label": "list_pattern_names()", "file_type": "code", "source_file": "main/patterns.c", "source_location": "L209", "_callable": true}, {"id": "$graphify-root$_main_patterns_get_pattern", "label": "get_pattern()", "file_type": "code", "source_file": "main/patterns.c", "source_location": "L221", "_callable": true}, {"id": "$graphify-root$_main_patterns_create_pattern", "label": "create_pattern()", "file_type": "code", "source_file": "main/patterns.c", "source_location": "L234", "_callable": true}, {"id": "$graphify-root$_main_patterns_serve_file", "label": "serve_file()", "file_type": "code", "source_file": "main/patterns.c", "source_location": "L260", "_callable": true}, {"id": "$graphify-root$_main_patterns_manifest", "label": "manifest()", "file_type": "code", "source_file": "main/patterns.c", "source_location": "L283", "_callable": true}, {"id": "$graphify-root$_main_patterns_upload_args", "label": "upload_args()", "file_type": "code", "source_file": "main/patterns.c", "source_location": "L306", "_callable": true}, {"id": "$graphify-root$_main_patterns_upload", "label": "upload()", "file_type": "code", "source_file": "main/patterns.c", "source_location": "L334", "_callable": true}, {"id": "$graphify-root$_main_patterns_create_driver_pattern", "label": "create_driver_pattern()", "file_type": "code", "source_file": "main/patterns.c", "source_location": "L365", "_callable": true}, {"id": "$graphify-root$_main_patterns_patterns_route", "label": "patterns_route()", "file_type": "code", "source_file": "main/patterns.c", "source_location": "L436", "_callable": true}, {"id": "api_seg_t", "label": "api_seg_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/patterns.c"}], "edges": [{"source": "$graphify-root$_main_patterns_c", "target": "ctype", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/patterns.c", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_main_patterns_c", "target": "dirent", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/patterns.c", "source_location": "L6", "weight": 1.0}, {"source": "$graphify-root$_main_patterns_c", "target": "errno", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/patterns.c", "source_location": "L7", "weight": 1.0}, {"source": "$graphify-root$_main_patterns_c", "target": "stdio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/patterns.c", "source_Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_sim_controller_components_sim_sim_rig_c", "label": "sim_rig.c", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L1"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_find_file", "label": "find_file()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L63", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_mime_for", "label": "mime_for()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L90", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_send_file", "label": "send_file()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L108", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_rig.c"}, {"id": "httpd_req_t", "label": "httpd_req_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_rig.c"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_page_handler", "label": "page_handler()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L129", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_db_root", "label": "db_root()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L156", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_sim_path", "label": "sim_path()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L162", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_ensure_dirs", "label": "ensure_dirs()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L167", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_read_text", "label": "read_text()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L178", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_read_json", "label": "read_json()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L196", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_rig.c"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_write_text", "label": "write_text()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L208", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_write_json", "label": "write_json()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L222", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_name_ok", "label": "name_ok()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L232", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_room_name_ok", "label": "room_name_ok()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L246", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_id_ok", "label": "id_ok()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L251", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_mac_ok", "label": "mac_ok()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L256", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_round_to", "label": "round_to()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L269", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_wrap_deg", "label": "wrap_deg()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L274", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_num_in", "label": "num_in()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L286", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_validate_room", "label": "validate_room()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L303", "_callable": true}, {"id": "$grapLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_test_api_test_auth_py", "label": "test_auth.py", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L1"}, {"id": "$graphify-root$_test_api_test_auth_base", "label": "_base()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L21", "_callable": true}, {"id": "fixture", "label": "fixture", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/test/api/test_auth.py"}, {"id": "$graphify-root$_test_api_test_auth_host", "label": "host()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L26", "_py_fixture": "?", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_anon", "label": "anon()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L35", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_call", "label": "call()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L42", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_login", "label": "login()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L47", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_admin", "label": "admin()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L55", "_py_fixture": "?", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_open_until_first_user", "label": "test_open_until_first_user()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L66", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_signed_out_reads_and_edits", "label": "test_signed_out_reads_and_edits()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L76", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_signed_out_has_no_settings_or_users", "label": "test_signed_out_has_no_settings_or_users()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L84", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_viewer_does_not_see_wifi_password", "label": "test_viewer_does_not_see_wifi_password()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L90", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_password_hashes_never_returned", "label": "test_password_hashes_never_returned()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L104", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_wrong_password_refused", "label": "test_wrong_password_refused()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L110", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_admin_can_edit", "label": "test_admin_can_edit()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L115", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_custom_role_and_its_limits", "label": "test_custom_role_and_its_limits()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L120", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_admin_role_is_fixed", "label": "test_admin_role_is_fixed()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L143", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_last_manager_cannot_be_removed", "label": "test_last_manager_cannot_be_removed()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L151", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_unknown_area_in_perms_refused", "label": "test_unknown_area_in_perms_refused()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L158", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_test_login_lockout", "label": "test_login_lockout()", "file_type": "code", "source_file": "test/api/test_auth.py", "source_location": "L163", "_callable": true}, {"id": "$graphify-root$_test_api_test_auth_rationale_1", "label": "Users, roles and permissions. These turn auth on for the controller they run\u2026", "file_type": "rationale", "source_file": "test/api/test_auth.py", "source_location": "L1"}, {"id": "$graphify-root$_test_api_test_auth_rationale_56", "label": "Creates the first admin (open while no user exists), then signs in as them.", "file_type": "rationale", "source_file": "test/api/test_auth.py", "source_location": "L56"}], "edges": [{"source": "$graphify-root$_test_api_test_auth_py", "target": "os", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "test/api/test_auth.py", "source_location": "L9", "weight": 1.0, "_python_import_module": "os", "_python_import_bindings": [["os", "os"]], "_python_import_module_binding": true}, {"Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_auth_h", "label": "auth.h", "file_type": "code", "source_file": "main/auth.h", "source_location": "L1"}], "edges": [{"source": "$graphify-root$_main_auth_h", "target": "stdbool", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/auth.h", "source_location": "L3", "weight": 1.0}, {"source": "$graphify-root$_main_auth_h", "target": "cjson", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/auth.h", "source_location": "L4", "weight": 1.0, "metadata": {"raw_include": "cJSON.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_auth_h", "target": "esp_err", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/auth.h", "source_location": "L5", "weight": 1.0, "metadata": {"raw_include": "esp_err.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_auth_h", "target": "esp_http_server", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/auth.h", "source_location": "L6", "weight": 1.0, "metadata": {"raw_include": "esp_http_server.h", "include_kind": "quoted"}}], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_led_driver_main_patterns_cpp", "label": "patterns.cpp", "file_type": "code", "source_file": "led-driver/main/patterns.cpp", "source_location": "L1"}, {"id": "$graphify-root$_led_driver_main_patterns_fx_fn", "label": "fx_fn", "file_type": "code", "source_file": "led-driver/main/patterns.cpp", "source_location": "L27"}, {"id": "$graphify-root$_led_driver_main_patterns_pattern_def_t", "label": "pattern_def_t", "file_type": "code", "source_file": "led-driver/main/patterns.cpp", "source_location": "L28", "_cpp_qualified": "pattern_def_t", "_callable": true, "_callable_class": true}, {"id": "$graphify-root$_led_driver_main_patterns_pattern_def_t_name", "label": "name", "file_type": "code", "source_file": "led-driver/main/patterns.cpp", "source_location": "L29"}, {"id": "$graphify-root$_led_driver_main_patterns_pattern_def_t_fn", "label": "fn", "file_type": "code", "source_file": "led-driver/main/patterns.cpp", "source_location": "L30"}, {"id": "$graphify-root$_led_driver_main_patterns_patterns_count", "label": "patterns_count()", "file_type": "code", "source_file": "led-driver/main/patterns.cpp", "source_location": "L113", "_callable": true}, {"id": "$graphify-root$_led_driver_main_patterns_patterns_name", "label": "patterns_name()", "file_type": "code", "source_file": "led-driver/main/patterns.cpp", "source_location": "L118", "_callable": true}, {"id": "$graphify-root$_led_driver_main_patterns_patterns_index", "label": "patterns_index()", "file_type": "code", "source_file": "led-driver/main/patterns.cpp", "source_location": "L123", "_callable": true}, {"id": "$graphify-root$_led_driver_main_patterns_preset_defaults", "label": "preset_defaults()", "file_type": "code", "source_file": "led-driver/main/patterns.cpp", "source_location": "L133", "_callable": true}, {"id": "preset_t", "label": "preset_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/led-driver/main/patterns.cpp"}, {"id": "$graphify-root$_led_driver_main_patterns_sanitize", "label": "sanitize()", "file_type": "code", "source_file": "led-driver/main/patterns.cpp", "source_location": "L150", "_callable": true}, {"id": "$graphify-root$_led_driver_main_patterns_patterns_set", "label": "patterns_set()", "file_type": "code", "source_file": "led-driver/main/patterns.cpp", "source_location": "L172", "_callable": true}, {"id": "$graphify-root$_led_driver_main_patterns_patterns_select", "label": "patterns_select()", "file_type": "code", "source_file": "led-driver/main/patterns.cpp", "source_location": "L186", "_callable": true}, {"id": "$graphify-root$_led_driver_main_patterns_patterns_set_global", "label": "patterns_set_global()", "file_type": "code", "source_file": "led-driver/main/patterns.cpp", "source_location": "L196", "_callable": true}, {"id": "$graphify-root$_led_driver_main_patterns_patterns_get_global", "label": "patterns_get_global()", "file_type": "code", "source_file": "led-driver/main/patterns.cpp", "source_location": "L203", "_callable": true}, {"id": "$graphify-root$_led_driver_main_patterns_patterns_set_master", "label": "patterns_set_master()", "file_type": "code", "source_file": "led-driver/main/patterns.cpp", "source_location": "L211", "_callable": true}, {"id": "$graphify-root$_led_driver_main_patterns_patterns_get_master", "label": "patterns_get_master()", "file_type": "code", "source_file": "led-driver/main/patterns.cpp", "source_location": "L218", "_callable": true}, {"id": "$graphify-root$_led_driver_main_patterns_patterns_get", "label": "patterns_get()", "file_type": "code", "source_file": "led-driver/main/patterns.cpp", "source_location": "L226", "_callable": true}, {"id": "$graphify-root$_led_driver_main_patterns_now_ms", "label": "now_ms()", "file_type": "code", "source_file": "led-driver/main/patterns.cpp", "source_location": "L233", "_callable": true}, {"id": "$graphify-root$_led_driver_main_patterns_within", "label": "within()", "file_type": "code", "source_file": "led-driver/main/patterns.cpp", "source_location": "L240", "_callable": true}, {"id": "$graphify-root$_led_driver_main_patterns_output", "label": "output()", "file_type": "code", "source_file": "led-driver/main/patterns.cpp", "source_location": "L246", "_callable": true}, {"id": "$graphify-root$_led_driver_main_patterns_frame_alloc", "label": "frame_alloc()", "file_type": "code", "source_file": "led-driver/main/patterns.cpp", "source_location": "L282", "_callable": true}, {"id": "$graphify-root$_led_driver_main_patterns_st_reset", "label": "st_reset()", "file_type": "code", "source_file": "led-driver/main/patterns.cpp", "source_location": "L328", "_callable": true}, {"id": "$graphify-root$_led_driver_main_patterns_patterns_frame", "label": "patterns_frame()", "file_type": "code", "source_file": "led-driver/main/patterns.cpp", "source_location": "L356", "_callable": true}, {"id": "$graphify-root$_led_driver_main_patterns_patterns_task", "label": "patterns_task()", "file_type": "code", "sLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_auth_c", "label": "auth.c", "file_type": "code", "source_file": "main/auth.c", "source_location": "L1"}, {"id": "$graphify-root$_main_auth_rotr", "label": "rotr()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L53", "_callable": true}, {"id": "$graphify-root$_main_auth_sha_init", "label": "sha_init()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L58", "_callable": true}, {"id": "sha_t", "label": "sha_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/auth.c"}, {"id": "$graphify-root$_main_auth_sha_block", "label": "sha_block()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L68", "_callable": true}, {"id": "$graphify-root$_main_auth_sha_update", "label": "sha_update()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L106", "_callable": true}, {"id": "$graphify-root$_main_auth_sha_final", "label": "sha_final()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L126", "_callable": true}, {"id": "$graphify-root$_main_auth_hmac256", "label": "hmac256()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L148", "_callable": true}, {"id": "$graphify-root$_main_auth_pbkdf2", "label": "pbkdf2()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L179", "_callable": true}, {"id": "$graphify-root$_main_auth_to_hex", "label": "to_hex()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L194", "_callable": true}, {"id": "$graphify-root$_main_auth_hexval", "label": "hexval()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L204", "_callable": true}, {"id": "$graphify-root$_main_auth_from_hex", "label": "from_hex()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L218", "_callable": true}, {"id": "$graphify-root$_main_auth_const_eq", "label": "const_eq()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L233", "_callable": true}, {"id": "$graphify-root$_main_auth_str_of", "label": "str_of()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L244", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/auth.c"}, {"id": "$graphify-root$_main_auth_obj_set", "label": "obj_set()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L251", "_callable": true}, {"id": "$graphify-root$_main_auth_valid_name", "label": "valid_name()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L260", "_callable": true}, {"id": "$graphify-root$_main_auth_area_index", "label": "area_index()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L274", "_callable": true}, {"id": "$graphify-root$_main_auth_perm_in", "label": "perm_in()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L284", "_callable": true}, {"id": "$graphify-root$_main_auth_role_perm", "label": "role_perm()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L293", "_callable": true}, {"id": "$graphify-root$_main_auth_all_edit", "label": "all_edit()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L302", "_callable": true}, {"id": "$graphify-root$_main_auth_perms_from_json", "label": "perms_from_json()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L314", "_callable": true}, {"id": "$graphify-root$_main_auth_managers_after", "label": "managers_after()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L343", "_callable": true}, {"id": "$graphify-root$_main_auth_auth_enabled_locked", "label": "auth_enabled_locked()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L361", "_callable": true}, {"id": "$graphify-root$_main_auth_sess_find", "label": "sess_find()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L379", "_callable": true}, {"id": "sess_t", "label": "sess_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/auth.c"}, {"id": "$graphify-root$_main_auth_sess_drop_user", "label": "sess_drop_user()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L399", "_callable": true}, {"id": "$graphify-root$_main_auth_sess_drop_tok", "label": "sess_drop_tok()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L408", "_callable": true}, {"id": "$graphify-root$_main_auth_sess_new", "label": "sess_new()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L418", "_callable": true}, {"id": "$graphify-root$_main_auth_cookie_tok", "label": "cookie_tok()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L444", "_callable": true}, {"id": "httpd_req_t", "label": "httpd_req_tLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_ws_c", "label": "ws.c", "file_type": "code", "source_file": "main/ws.c", "source_location": "L1"}, {"id": "$graphify-root$_main_ws_send_text", "label": "send_text()", "file_type": "code", "source_file": "main/ws.c", "source_location": "L15", "_callable": true}, {"id": "httpd_req_t", "label": "httpd_req_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/ws.c"}, {"id": "$graphify-root$_main_ws_forward", "label": "forward()", "file_type": "code", "source_file": "main/ws.c", "source_location": "L22", "_callable": true}, {"id": "$graphify-root$_main_ws_on_open", "label": "on_open()", "file_type": "code", "source_file": "main/ws.c", "source_location": "L51", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/ws.c"}, {"id": "$graphify-root$_main_ws_ws_handler", "label": "ws_handler()", "file_type": "code", "source_file": "main/ws.c", "source_location": "L60", "_callable": true}, {"id": "$graphify-root$_main_ws_ws_register", "label": "ws_register()", "file_type": "code", "source_file": "main/ws.c", "source_location": "L97", "_callable": true}, {"id": "httpd_handle_t", "label": "httpd_handle_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/ws.c"}], "edges": [{"source": "$graphify-root$_main_ws_c", "target": "$graphify-root$_main_auth_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ws.c", "source_location": "L1", "weight": 1.0, "target_file": "$graphify-root$/main/auth.h"}, {"source": "$graphify-root$_main_ws_c", "target": "$graphify-root$_main_ws_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ws.c", "source_location": "L2", "weight": 1.0, "target_file": "$graphify-root$/main/ws.h"}, {"source": "$graphify-root$_main_ws_c", "target": "stdlib", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ws.c", "source_location": "L4", "weight": 1.0}, {"source": "$graphify-root$_main_ws_c", "target": "string", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ws.c", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_main_ws_c", "target": "cjson", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ws.c", "source_location": "L6", "weight": 1.0, "metadata": {"raw_include": "cJSON.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_ws_c", "target": "$graphify-root$_main_engine_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ws.c", "source_location": "L7", "weight": 1.0, "target_file": "$graphify-root$/main/engine.h"}, {"source": "$graphify-root$_main_ws_c", "target": "esp_log", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ws.c", "source_location": "L8", "weight": 1.0, "metadata": {"raw_include": "esp_log.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_ws_c", "target": "$graphify-root$_main_store_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ws.c", "source_location": "L9", "weight": 1.0, "target_file": "$graphify-root$/main/store.h"}, {"source": "$graphify-root$_main_ws_c", "target": "$graphify-root$_main_ws_send_text", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/ws.c", "source_location": "L15", "weight": 1.0}, {"source": "$graphify-root$_main_ws_send_text", "target": "httpd_req_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/ws.c", "source_location": "L15", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_main_ws_c", "target": "$graphify-root$_main_ws_forward", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/ws.c", "source_location": "L22", "weight": 1.0}, {"source": "$graphify-root$_main_ws_forward", "target": "httpd_req_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/ws.c", "source_location": "L22", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_main_ws_c", "target": "$graphify-root$_main_ws_on_open", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/ws.c", "source_location": "L51", "weight": 1.0}, {"source": "$graphify-root$_main_ws_on_open", "target": "esp_err_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/ws.c", "source_location": "L51", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_main_ws_on_open", "target": "httpd_req_t", "relation": "references", "confidence": "EXTRACTED", "source_file": "main/ws.c", "source_location": "L51", "weight": 1.0, "context": "parameter_type"}, {"source": "$graphify-root$_main_ws_c", "target": "$graphifLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_store_c", "label": "store.c", "file_type": "code", "source_file": "main/store.c", "source_location": "L1"}, {"id": "$graphify-root$_main_store_db_root", "label": "db_root()", "file_type": "code", "source_file": "main/store.c", "source_location": "L18", "_callable": true}, {"id": "$graphify-root$_main_store_index_of", "label": "index_of()", "file_type": "code", "source_file": "main/store.c", "source_location": "L38", "_callable": true}, {"id": "$graphify-root$_main_store_mount", "label": "mount()", "file_type": "code", "source_file": "main/store.c", "source_location": "L48", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/store.c"}, {"id": "$graphify-root$_main_store_load_file", "label": "load_file()", "file_type": "code", "source_file": "main/store.c", "source_location": "L59", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/store.c"}, {"id": "$graphify-root$_main_store_json_malloc", "label": "json_malloc()", "file_type": "code", "source_file": "main/store.c", "source_location": "L97", "_callable": true}, {"id": "$graphify-root$_main_store_store_init", "label": "store_init()", "file_type": "code", "source_file": "main/store.c", "source_location": "L103", "_callable": true}, {"id": "$graphify-root$_main_store_store_known", "label": "store_known()", "file_type": "code", "source_file": "main/store.c", "source_location": "L117", "_callable": true}, {"id": "$graphify-root$_main_store_store_coll", "label": "store_coll()", "file_type": "code", "source_file": "main/store.c", "source_location": "L122", "_callable": true}, {"id": "$graphify-root$_main_store_store_save", "label": "store_save()", "file_type": "code", "source_file": "main/store.c", "source_location": "L128", "_callable": true}, {"id": "$graphify-root$_main_store_store_replace", "label": "store_replace()", "file_type": "code", "source_file": "main/store.c", "source_location": "L157", "_callable": true}, {"id": "$graphify-root$_main_store_store_next_id", "label": "store_next_id()", "file_type": "code", "source_file": "main/store.c", "source_location": "L169", "_callable": true}, {"id": "$graphify-root$_main_store_store_settings", "label": "store_settings()", "file_type": "code", "source_file": "main/store.c", "source_location": "L184", "_callable": true}, {"id": "$graphify-root$_main_store_store_bridges", "label": "store_bridges()", "file_type": "code", "source_file": "main/store.c", "source_location": "L189", "_callable": true}, {"id": "$graphify-root$_main_store_store_lock", "label": "store_lock()", "file_type": "code", "source_file": "main/store.c", "source_location": "L212", "_callable": true}, {"id": "$graphify-root$_main_store_store_unlock", "label": "store_unlock()", "file_type": "code", "source_file": "main/store.c", "source_location": "L217", "_callable": true}], "edges": [{"source": "$graphify-root$_main_store_c", "target": "$graphify-root$_main_store_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/store.c", "source_location": "L1", "weight": 1.0, "target_file": "$graphify-root$/main/store.h"}, {"source": "$graphify-root$_main_store_c", "target": "stdio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/store.c", "source_location": "L3", "weight": 1.0}, {"source": "$graphify-root$_main_store_c", "target": "stdlib", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/store.c", "source_location": "L4", "weight": 1.0}, {"source": "$graphify-root$_main_store_c", "target": "string", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/store.c", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_main_store_c", "target": "esp_check", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/store.c", "source_location": "L6", "weight": 1.0, "metadata": {"raw_include": "esp_check.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_store_c", "target": "esp_heap_caps", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/store.c", "source_location": "L7", "weight": 1.0, "metadata": {"raw_include": "esp_heap_caps.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_store_c", "target": "esp_littlefs", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/store.c", "source_location": "L8", "weight": 1.0, "metadata": {"raw_include": "esp_littlefs.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_store_c", "target": "esp_log", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/store.c", "source_location": "L9", "weight": 1.0, "metadLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_engine_c", "label": "engine.c", "file_type": "code", "source_file": "main/engine.c", "source_location": "L1"}, {"id": "$graphify-root$_main_engine_tx", "label": "tx()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L27", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/engine.c"}, {"id": "$graphify-root$_main_engine_parse_mac", "label": "parse_mac()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L40", "_callable": true}, {"id": "$graphify-root$_main_engine_wrap_wire", "label": "wrap_wire()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L63", "_callable": true}, {"id": "$graphify-root$_main_engine_emit_c", "label": "emit_c()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L88", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/engine.c"}, {"id": "$graphify-root$_main_engine_id_text", "label": "id_text()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L116", "_callable": true}, {"id": "$graphify-root$_main_engine_palette_color", "label": "palette_color()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L129", "_callable": true}, {"id": "$graphify-root$_main_engine_engine_preset_payload", "label": "engine_preset_payload()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L147", "_callable": true}, {"id": "$graphify-root$_main_engine_preset_payload", "label": "preset_payload()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L181", "_callable": true}, {"id": "$graphify-root$_main_engine_zone_names", "label": "zone_names()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L188", "_callable": true}, {"id": "$graphify-root$_main_engine_name_seen", "label": "name_seen()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L195", "_callable": true}, {"id": "$graphify-root$_main_engine_engine_zone_targets", "label": "engine_zone_targets()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L211", "_callable": true}, {"id": "$graphify-root$_main_engine_mac_listed", "label": "mac_listed()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L232", "_callable": true}, {"id": "$graphify-root$_main_engine_in_group", "label": "in_group()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L256", "_callable": true}, {"id": "$graphify-root$_main_engine_driver_in_zone", "label": "driver_in_zone()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L269", "_callable": true}, {"id": "$graphify-root$_main_engine_is_wifi", "label": "is_wifi()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L282", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_in_group", "label": "wifi_in_group()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L289", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_zone", "label": "wifi_zone()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L312", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_selected", "label": "wifi_selected()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L343", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_push", "label": "wifi_push()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L372", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_store_presets", "label": "wifi_store_presets()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L440", "_callable": true}, {"id": "$graphify-root$_main_engine_emit_zone", "label": "emit_zone()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L466", "_callable": true}, {"id": "$graphify-root$_main_engine_select_zone", "label": "select_zone()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L484", "_callable": true}, {"id": "$graphify-root$_main_engine_zone_cur_set", "label": "zone_cur_set()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L501", "_callable": true}, {"id": "$graphify-root$_main_engine_play_locked", "label": "play_locked()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L520", "_callable": true}, {"id": "$graphify-root$_main_engine_engine_zone_note", "label": "engine_zone_note()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L549", "_callable": true}, {"id": "$graphify-root$_main_engine_engine_zone_current", "label": "engine_zone_current()", "file_type": "code", "source_file": "main/engine.c",Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_ota_c", "label": "ota.c", "file_type": "code", "source_file": "main/ota.c", "source_location": "L1"}, {"id": "$graphify-root$_main_ota_reboot_cb", "label": "reboot_cb()", "file_type": "code", "source_file": "main/ota.c", "source_location": "L20", "_callable": true}, {"id": "$graphify-root$_main_ota_confirm_cb", "label": "confirm_cb()", "file_type": "code", "source_file": "main/ota.c", "source_location": "L25", "_callable": true}, {"id": "$graphify-root$_main_ota_ota_confirm_later", "label": "ota_confirm_later()", "file_type": "code", "source_file": "main/ota.c", "source_location": "L33", "_callable": true}, {"id": "$graphify-root$_main_ota_fail", "label": "fail()", "file_type": "code", "source_file": "main/ota.c", "source_location": "L47", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/ota.c"}, {"id": "httpd_req_t", "label": "httpd_req_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/ota.c"}, {"id": "$graphify-root$_main_ota_ota_post_handler", "label": "ota_post_handler()", "file_type": "code", "source_file": "main/ota.c", "source_location": "L57", "_callable": true}, {"id": "$graphify-root$_main_ota_ota_get_handler", "label": "ota_get_handler()", "file_type": "code", "source_file": "main/ota.c", "source_location": "L141", "_callable": true}, {"id": "$graphify-root$_main_ota_reboot_post_handler", "label": "reboot_post_handler()", "file_type": "code", "source_file": "main/ota.c", "source_location": "L158", "_callable": true}, {"id": "$graphify-root$_main_ota_ota_register", "label": "ota_register()", "file_type": "code", "source_file": "main/ota.c", "source_location": "L174", "_callable": true}, {"id": "httpd_handle_t", "label": "httpd_handle_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/ota.c"}], "edges": [{"source": "$graphify-root$_main_ota_c", "target": "$graphify-root$_main_auth_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ota.c", "source_location": "L1", "weight": 1.0, "target_file": "$graphify-root$/main/auth.h"}, {"source": "$graphify-root$_main_ota_c", "target": "$graphify-root$_main_ota_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ota.c", "source_location": "L2", "weight": 1.0, "target_file": "$graphify-root$/main/ota.h"}, {"source": "$graphify-root$_main_ota_c", "target": "stdio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ota.c", "source_location": "L4", "weight": 1.0}, {"source": "$graphify-root$_main_ota_c", "target": "stdlib", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ota.c", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_main_ota_c", "target": "esp_log", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ota.c", "source_location": "L6", "weight": 1.0, "metadata": {"raw_include": "esp_log.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_ota_c", "target": "esp_ota_ops", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ota.c", "source_location": "L7", "weight": 1.0, "metadata": {"raw_include": "esp_ota_ops.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_ota_c", "target": "esp_app_format", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ota.c", "source_location": "L8", "weight": 1.0, "metadata": {"raw_include": "esp_app_format.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_ota_c", "target": "esp_system", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ota.c", "source_location": "L9", "weight": 1.0, "metadata": {"raw_include": "esp_system.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_ota_c", "target": "string", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ota.c", "source_location": "L10", "weight": 1.0}, {"source": "$graphify-root$_main_ota_c", "target": "esp_timer", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/ota.c", "source_location": "L11", "weight": 1.0, "metadata": {"raw_include": "esp_timer.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_ota_c", "target": "$graphify-root$_main_ota_reboot_cb", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/ota.c", "source_location": "L20", "weight": 1.0}, {"source": "$graphify-root$_main_ota_c", "target": "$graphify-root$_main_ota_confirm_cb", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/ota.c", "source_location": "L25", "weight": 1.0}, {"source": "$graphify-root$_main_ota_c", "tLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_engine_h", "label": "engine.h", "file_type": "code", "source_file": "main/engine.h", "source_location": "L1"}], "edges": [{"source": "$graphify-root$_main_engine_h", "target": "stdbool", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/engine.h", "source_location": "L3", "weight": 1.0}, {"source": "$graphify-root$_main_engine_h", "target": "cjson", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/engine.h", "source_location": "L4", "weight": 1.0, "metadata": {"raw_include": "cJSON.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_engine_h", "target": "esp_err", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/engine.h", "source_location": "L5", "weight": 1.0, "metadata": {"raw_include": "esp_err.h", "include_kind": "quoted"}}], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [], "edges": [], "skipped": "data json (not a config/manifest)"}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_engine_c", "label": "engine.c", "file_type": "code", "source_file": "main/engine.c", "source_location": "L1"}, {"id": "$graphify-root$_main_engine_tx", "label": "tx()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L27", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/engine.c"}, {"id": "$graphify-root$_main_engine_parse_mac", "label": "parse_mac()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L40", "_callable": true}, {"id": "$graphify-root$_main_engine_wrap_wire", "label": "wrap_wire()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L63", "_callable": true}, {"id": "$graphify-root$_main_engine_emit_c", "label": "emit_c()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L88", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/engine.c"}, {"id": "$graphify-root$_main_engine_id_text", "label": "id_text()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L116", "_callable": true}, {"id": "$graphify-root$_main_engine_palette_color", "label": "palette_color()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L129", "_callable": true}, {"id": "$graphify-root$_main_engine_engine_preset_payload", "label": "engine_preset_payload()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L147", "_callable": true}, {"id": "$graphify-root$_main_engine_preset_payload", "label": "preset_payload()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L181", "_callable": true}, {"id": "$graphify-root$_main_engine_zone_names", "label": "zone_names()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L188", "_callable": true}, {"id": "$graphify-root$_main_engine_name_seen", "label": "name_seen()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L195", "_callable": true}, {"id": "$graphify-root$_main_engine_engine_zone_targets", "label": "engine_zone_targets()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L211", "_callable": true}, {"id": "$graphify-root$_main_engine_mac_listed", "label": "mac_listed()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L232", "_callable": true}, {"id": "$graphify-root$_main_engine_in_group", "label": "in_group()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L256", "_callable": true}, {"id": "$graphify-root$_main_engine_driver_in_zone", "label": "driver_in_zone()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L269", "_callable": true}, {"id": "$graphify-root$_main_engine_is_wifi", "label": "is_wifi()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L282", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_in_group", "label": "wifi_in_group()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L289", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_zone", "label": "wifi_zone()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L310", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_selected", "label": "wifi_selected()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L341", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_push", "label": "wifi_push()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L370", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_store_presets", "label": "wifi_store_presets()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L438", "_callable": true}, {"id": "$graphify-root$_main_engine_emit_zone", "label": "emit_zone()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L464", "_callable": true}, {"id": "$graphify-root$_main_engine_select_zone", "label": "select_zone()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L482", "_callable": true}, {"id": "$graphify-root$_main_engine_zone_cur_set", "label": "zone_cur_set()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L499", "_callable": true}, {"id": "$graphify-root$_main_engine_play_locked", "label": "play_locked()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L518", "_callable": true}, {"id": "$graphify-root$_main_engine_engine_zone_note", "label": "engine_zone_note()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L547", "_callable": true}, {"id": "$graphify-root$_main_engine_engine_zone_current", "label": "engine_zone_current()", "file_type": "code", "source_file": "main/engine.c",Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_audio_api_c", "label": "audio_api.c", "file_type": "code", "source_file": "main/audio_api.c", "source_location": "L1"}, {"id": "$graphify-root$_main_audio_api_setting_int", "label": "setting_int()", "file_type": "code", "source_file": "main/audio_api.c", "source_location": "L29", "_callable": true}, {"id": "$graphify-root$_main_audio_api_mic_follow_setting", "label": "mic_follow_setting()", "file_type": "code", "source_file": "main/audio_api.c", "source_location": "L38", "_callable": true}, {"id": "$graphify-root$_main_audio_api_audio_run", "label": "audio_run()", "file_type": "code", "source_file": "main/audio_api.c", "source_location": "L57", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/audio_api.c"}, {"id": "$graphify-root$_main_audio_api_status_payload", "label": "status_payload()", "file_type": "code", "source_file": "main/audio_api.c", "source_location": "L69", "_callable": true}, {"id": "$graphify-root$_main_audio_api_send_json", "label": "send_json()", "file_type": "code", "source_file": "main/audio_api.c", "source_location": "L162", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/audio_api.c"}, {"id": "httpd_req_t", "label": "httpd_req_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/audio_api.c"}, {"id": "$graphify-root$_main_audio_api_ok_with_status", "label": "ok_with_status()", "file_type": "code", "source_file": "main/audio_api.c", "source_location": "L176", "_callable": true}, {"id": "$graphify-root$_main_audio_api_send_all", "label": "send_all()", "file_type": "code", "source_file": "main/audio_api.c", "source_location": "L186", "_callable": true}, {"id": "$graphify-root$_main_audio_api_send_event", "label": "send_event()", "file_type": "code", "source_file": "main/audio_api.c", "source_location": "L199", "_callable": true}, {"id": "$graphify-root$_main_audio_api_events_task", "label": "events_task()", "file_type": "code", "source_file": "main/audio_api.c", "source_location": "L211", "_callable": true}, {"id": "$graphify-root$_main_audio_api_events", "label": "events()", "file_type": "code", "source_file": "main/audio_api.c", "source_location": "L247", "_callable": true}, {"id": "$graphify-root$_main_audio_api_audio_handler", "label": "audio_handler()", "file_type": "code", "source_file": "main/audio_api.c", "source_location": "L262", "_callable": true}, {"id": "$graphify-root$_main_audio_api_audio_api_resume_mic", "label": "audio_api_resume_mic()", "file_type": "code", "source_file": "main/audio_api.c", "source_location": "L358", "_callable": true}, {"id": "$graphify-root$_main_audio_api_audio_api_register", "label": "audio_api_register()", "file_type": "code", "source_file": "main/audio_api.c", "source_location": "L366", "_callable": true}, {"id": "httpd_handle_t", "label": "httpd_handle_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/audio_api.c"}], "edges": [{"source": "$graphify-root$_main_audio_api_c", "target": "$graphify-root$_main_auth_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/audio_api.c", "source_location": "L5", "weight": 1.0, "target_file": "$graphify-root$/main/auth.h"}, {"source": "$graphify-root$_main_audio_api_c", "target": "$graphify-root$_main_audio_api_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/audio_api.c", "source_location": "L6", "weight": 1.0, "target_file": "$graphify-root$/main/audio_api.h"}, {"source": "$graphify-root$_main_audio_api_c", "target": "math", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/audio_api.c", "source_location": "L8", "weight": 1.0}, {"source": "$graphify-root$_main_audio_api_c", "target": "stdio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/audio_api.c", "source_location": "L9", "weight": 1.0}, {"source": "$graphify-root$_main_audio_api_c", "target": "stdlib", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/audio_api.c", "source_location": "L10", "weight": 1.0}, {"source": "$graphify-root$_main_audio_api_c", "target": "string", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/audio_api.c", "source_location": "L11", "weight": 1.0}, {"source": "$graphify-root$_main_audio_api_c", "target": "strings", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/audio_api.c", "source_location": "L12", "weight": 1.0}, {"source": "$graphify-root$_main_audio_api_c", "target": "$graphify-root$_main_api_util_h", "relation": "imports", "context": "import", "confidence": "EXLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_res_device_c", "label": "res_device.c", "file_type": "code", "source_file": "main/res_device.c", "source_location": "L1"}, {"id": "$graphify-root$_main_res_device_trimmed", "label": "trimmed()", "file_type": "code", "source_file": "main/res_device.c", "source_location": "L24", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/res_device.c"}, {"id": "$graphify-root$_main_res_device_is_espnow", "label": "is_espnow()", "file_type": "code", "source_file": "main/res_device.c", "source_location": "L41", "_callable": true}, {"id": "$graphify-root$_main_res_device_normalize_device", "label": "normalize_device()", "file_type": "code", "source_file": "main/res_device.c", "source_location": "L48", "_callable": true}, {"id": "$graphify-root$_main_res_device_wifi_id", "label": "wifi_id()", "file_type": "code", "source_file": "main/res_device.c", "source_location": "L98", "_callable": true}, {"id": "$graphify-root$_main_res_device_with_connected", "label": "with_connected()", "file_type": "code", "source_file": "main/res_device.c", "source_location": "L125", "_callable": true}, {"id": "$graphify-root$_main_res_device_find", "label": "find()", "file_type": "code", "source_file": "main/res_device.c", "source_location": "L134", "_callable": true}, {"id": "$graphify-root$_main_res_device_create_device", "label": "create_device()", "file_type": "code", "source_file": "main/res_device.c", "source_location": "L145", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/res_device.c"}, {"id": "httpd_req_t", "label": "httpd_req_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/res_device.c"}, {"id": "$graphify-root$_main_res_device_device_config_from", "label": "device_config_from()", "file_type": "code", "source_file": "main/res_device.c", "source_location": "L196", "_callable": true}, {"id": "$graphify-root$_main_res_device_api_apply_driver_cfg", "label": "api_apply_driver_cfg()", "file_type": "code", "source_file": "main/res_device.c", "source_location": "L212", "_callable": true}, {"id": "$graphify-root$_main_res_device_push_to", "label": "push_to()", "file_type": "code", "source_file": "main/res_device.c", "source_location": "L233", "_callable": true}, {"id": "$graphify-root$_main_res_device_push_wifi_hw", "label": "push_wifi_hw()", "file_type": "code", "source_file": "main/res_device.c", "source_location": "L245", "_callable": true}, {"id": "$graphify-root$_main_res_device_push_device_config", "label": "push_device_config()", "file_type": "code", "source_file": "main/res_device.c", "source_location": "L276", "_callable": true}, {"id": "$graphify-root$_main_res_device_update_device", "label": "update_device()", "file_type": "code", "source_file": "main/res_device.c", "source_location": "L293", "_callable": true}, {"id": "$graphify-root$_main_res_device_identify_send", "label": "identify_send()", "file_type": "code", "source_file": "main/res_device.c", "source_location": "L336", "_callable": true}, {"id": "identify_t", "label": "identify_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/res_device.c"}, {"id": "$graphify-root$_main_res_device_identify_off_task", "label": "identify_off_task()", "file_type": "code", "source_file": "main/res_device.c", "source_location": "L357", "_callable": true}, {"id": "$graphify-root$_main_res_device_identify_start", "label": "identify_start()", "file_type": "code", "source_file": "main/res_device.c", "source_location": "L366", "_callable": true}, {"id": "$graphify-root$_main_res_device_api_identify_group", "label": "api_identify_group()", "file_type": "code", "source_file": "main/res_device.c", "source_location": "L381", "_callable": true}, {"id": "$graphify-root$_main_res_device_identify", "label": "identify()", "file_type": "code", "source_file": "main/res_device.c", "source_location": "L386", "_callable": true}, {"id": "$graphify-root$_main_res_device_clamp255", "label": "clamp255()", "file_type": "code", "source_file": "main/res_device.c", "source_location": "L400", "_callable": true}, {"id": "$graphify-root$_main_res_device_api_effective_brightness", "label": "api_effective_brightness()", "file_type": "code", "source_file": "main/res_device.c", "source_location": "L412", "_callable": true}, {"id": "$graphify-root$_main_res_device_zone_brightness", "label": "zone_brightness()", "file_type": "code", "source_file": "main/res_device.c", "source_location": "L448", "_callable": true}, {"id": "$graphify-root$_main_res_device_resolve_brightness", "label": "resolve_brightness()", "file_type": "code", "source_file": "main/res_device.c", "source_location": "L462", "_callable": true}, {"id": "$graphify-root$_main_res_device_device_brightness", Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_seqplay_c", "label": "seqplay.c", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L1"}, {"id": "$graphify-root$_main_seqplay_simulated_bpm", "label": "simulated_bpm()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L115", "_callable": true}, {"id": "$graphify-root$_main_seqplay_audio_drives", "label": "audio_drives()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L122", "_callable": true}, {"id": "$graphify-root$_main_seqplay_wait_for_downbeat", "label": "wait_for_downbeat()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L130", "_callable": true}, {"id": "$graphify-root$_main_seqplay_num", "label": "num()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L136", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/seqplay.c"}, {"id": "$graphify-root$_main_seqplay_str_is", "label": "str_is()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L142", "_callable": true}, {"id": "$graphify-root$_main_seqplay_seq_oneshot", "label": "seq_oneshot()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L149", "_callable": true}, {"id": "$graphify-root$_main_seqplay_add_id", "label": "add_id()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L163", "_callable": true}, {"id": "$graphify-root$_main_seqplay_macs_has", "label": "macs_has()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L175", "_callable": true}, {"id": "macs_t", "label": "macs_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/seqplay.c"}, {"id": "$graphify-root$_main_seqplay_macs_add", "label": "macs_add()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L185", "_callable": true}, {"id": "$graphify-root$_main_seqplay_target_add", "label": "target_add()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L195", "_callable": true}, {"id": "player_t", "label": "player_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/seqplay.c"}, {"id": "$graphify-root$_main_seqplay_target_from_list", "label": "target_from_list()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L219", "_callable": true}, {"id": "$graphify-root$_main_seqplay_target_zone", "label": "target_zone()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L233", "_callable": true}, {"id": "$graphify-root$_main_seqplay_bit", "label": "bit()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L240", "_callable": true}, {"id": "$graphify-root$_main_seqplay_load_targets", "label": "load_targets()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L246", "_callable": true}, {"id": "$graphify-root$_main_seqplay_mask_of", "label": "mask_of()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L276", "_callable": true}, {"id": "$graphify-root$_main_seqplay_groups_for", "label": "groups_for()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L291", "_callable": true}, {"id": "$graphify-root$_main_seqplay_send_msg", "label": "send_msg()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L327", "_callable": true}, {"id": "$graphify-root$_main_seqplay_message", "label": "message()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L337", "_callable": true}, {"id": "$graphify-root$_main_seqplay_upload", "label": "upload()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L349", "_callable": true}, {"id": "$graphify-root$_main_seqplay_send_presets", "label": "send_presets()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L365", "_callable": true}, {"id": "$graphify-root$_main_seqplay_select_on", "label": "select_on()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L382", "_callable": true}, {"id": "$graphify-root$_main_seqplay_chase_mask", "label": "chase_mask()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L397", "_callable": true}, {"id": "lane_t", "label": "lane_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/seqplay.c"}, {"id": "$graphify-root$_main_seqplay_chase_move", "label": "chase_move()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L406", "_callable": true}, {"id": "$graphify-root$_main_seqplay_send_lane", "label": "send_lane()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L436", "_callable": true}, {"id": "$graphify-root$_main_seqplay_load_lanes", "labeLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_docker_compose_prod_yml", "label": "docker-compose.prod.yml", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L1"}, {"id": "$graphify-root$_docker_compose_prod_name", "label": "name", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L4"}, {"id": "$graphify-root$_docker_compose_prod_services", "label": "services", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L6"}, {"id": "$graphify-root$_docker_compose_prod_services_controller", "label": "controller", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L7"}, {"id": "$graphify-root$_docker_compose_prod_controller_build", "label": "build", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L8"}, {"id": "$graphify-root$_docker_compose_prod_build_context", "label": "context", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L9"}, {"id": "$graphify-root$_docker_compose_prod_build_dockerfile", "label": "dockerfile", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L10"}, {"id": "$graphify-root$_docker_compose_prod_controller_image", "label": "image", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L11"}, {"id": "$graphify-root$_docker_compose_prod_controller_restart", "label": "restart", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L12"}, {"id": "$graphify-root$_docker_compose_prod_controller_environment", "label": "environment", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L13"}, {"id": "$graphify-root$_docker_compose_prod_environment_led_admin_user", "label": "LED_ADMIN_USER", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L14"}, {"id": "$graphify-root$_docker_compose_prod_environment_led_admin_password", "label": "LED_ADMIN_PASSWORD", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L15"}, {"id": "$graphify-root$_docker_compose_prod_controller_volumes", "label": "volumes", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L16"}, {"id": "$graphify-root$_docker_compose_prod_controller_expose", "label": "expose", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L18"}, {"id": "$graphify-root$_docker_compose_prod_controller_networks", "label": "networks", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L20"}, {"id": "$graphify-root$_docker_compose_prod_controller_read_only", "label": "read_only", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L22"}, {"id": "$graphify-root$_docker_compose_prod_controller_tmpfs", "label": "tmpfs", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L23"}, {"id": "$graphify-root$_docker_compose_prod_controller_cap_drop", "label": "cap_drop", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L25"}, {"id": "$graphify-root$_docker_compose_prod_controller_security_opt", "label": "security_opt", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L27"}, {"id": "$graphify-root$_docker_compose_prod_controller_pids_limit", "label": "pids_limit", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L29"}, {"id": "$graphify-root$_docker_compose_prod_controller_mem_limit", "label": "mem_limit", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L30"}, {"id": "$graphify-root$_docker_compose_prod_services_proxy", "label": "proxy", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L32"}, {"id": "$graphify-root$_docker_compose_prod_proxy_image", "label": "image", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L33"}, {"id": "$graphify-root$_docker_compose_prod_proxy_restart", "label": "restart", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L34"}, {"id": "$graphify-root$_docker_compose_prod_proxy_depends_on", "label": "depends_on", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L35"}, {"id": "$graphify-root$_docker_compose_prod_depends_on_controller", "label": "controller", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L36"}, {"id": "$graphify-root$_docker_compose_prod_controller_condition", "label": "condition", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L37"}, {"id": "$graphify-root$_docker_compose_prod_proxy_environment", "label": "environment", "file_type": "code", "source_file": "docker-compose.prod.yml", "source_location": "L38"}, {"id": "$graphify-root$_docker_compose_prod_environment_domain", Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_web_c", "label": "web.c", "file_type": "code", "source_file": "main/web.c", "source_location": "L1"}, {"id": "$graphify-root$_main_web_mime_for", "label": "mime_for()", "file_type": "code", "source_file": "main/web.c", "source_location": "L27", "_callable": true}, {"id": "$graphify-root$_main_web_find_file", "label": "find_file()", "file_type": "code", "source_file": "main/web.c", "source_location": "L44", "_callable": true}, {"id": "$graphify-root$_main_web_web_file", "label": "web_file()", "file_type": "code", "source_file": "main/web.c", "source_location": "L74", "_callable": true}, {"id": "$graphify-root$_main_web_web_each", "label": "web_each()", "file_type": "code", "source_file": "main/web.c", "source_location": "L79", "_callable": true}, {"id": "$graphify-root$_main_web_etag", "label": "etag()", "file_type": "code", "source_file": "main/web.c", "source_location": "L107", "_callable": true}, {"id": "$graphify-root$_main_web_send_gz", "label": "send_gz()", "file_type": "code", "source_file": "main/web.c", "source_location": "L121", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/web.c"}, {"id": "httpd_req_t", "label": "httpd_req_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/web.c"}, {"id": "$graphify-root$_main_web_web_send_page", "label": "web_send_page()", "file_type": "code", "source_file": "main/web.c", "source_location": "L143", "_callable": true}, {"id": "$graphify-root$_main_web_index_handler", "label": "index_handler()", "file_type": "code", "source_file": "main/web.c", "source_location": "L148", "_callable": true}, {"id": "$graphify-root$_main_web_audio_page_handler", "label": "audio_page_handler()", "file_type": "code", "source_file": "main/web.c", "source_location": "L153", "_callable": true}, {"id": "$graphify-root$_main_web_static_handler", "label": "static_handler()", "file_type": "code", "source_file": "main/web.c", "source_location": "L158", "_callable": true}, {"id": "$graphify-root$_main_web_favicon_handler", "label": "favicon_handler()", "file_type": "code", "source_file": "main/web.c", "source_location": "L171", "_callable": true}, {"id": "$graphify-root$_main_web_web_register", "label": "web_register()", "file_type": "code", "source_file": "main/web.c", "source_location": "L177", "_callable": true}, {"id": "httpd_handle_t", "label": "httpd_handle_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/web.c"}], "edges": [{"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_auth_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L1", "weight": 1.0, "target_file": "$graphify-root$/main/auth.h"}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L2", "weight": 1.0, "target_file": "$graphify-root$/main/web.h"}, {"source": "$graphify-root$_main_web_c", "target": "stddef", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L4", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "stdio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "stdint", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L6", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "string", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L7", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "esp_app_desc", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L8", "weight": 1.0, "metadata": {"raw_include": "esp_app_desc.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_web_c", "target": "esp_log", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L9", "weight": 1.0, "metadata": {"raw_include": "esp_log.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_mime_for", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L27", "weight": 1.0}, {"source": "$graphify-root$_main_web_c", "target": "$graphify-root$_main_web_find_file", "relation": "contains", "confidence": "EXTRACTED", "source_file": "main/web.c", "source_location": "L44", "weight": 1.0}, {"source": "$graphify-root$_main_Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_sim_controller_components_sim_sim_main_c", "label": "sim_main.c", "file_type": "code", "source_file": "sim-controller/components/sim/sim_main.c", "source_location": "L1"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_main_status_get_handler", "label": "status_get_handler()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_main.c", "source_location": "L44", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_main.c"}, {"id": "httpd_req_t", "label": "httpd_req_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_main.c"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_main_start_webserver", "label": "start_webserver()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_main.c", "source_location": "L82", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_main_settings_str", "label": "settings_str()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_main.c", "source_location": "L114", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_main_app_main", "label": "app_main()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_main.c", "source_location": "L120", "_callable": true}], "edges": [{"source": "$graphify-root$_sim_controller_components_sim_sim_main_c", "target": "auth", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_main.c", "source_location": "L13", "weight": 1.0, "metadata": {"raw_include": "auth.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_sim_controller_components_sim_sim_main_c", "target": "signal", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_main.c", "source_location": "L14", "weight": 1.0}, {"source": "$graphify-root$_sim_controller_components_sim_sim_main_c", "target": "stdio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_main.c", "source_location": "L15", "weight": 1.0}, {"source": "$graphify-root$_sim_controller_components_sim_sim_main_c", "target": "stdlib", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_main.c", "source_location": "L16", "weight": 1.0}, {"source": "$graphify-root$_sim_controller_components_sim_sim_main_c", "target": "string", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_main.c", "source_location": "L17", "weight": 1.0}, {"source": "$graphify-root$_sim_controller_components_sim_sim_main_c", "target": "freertos", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_main.c", "source_location": "L18", "weight": 1.0, "metadata": {"raw_include": "freertos/FreeRTOS.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_sim_controller_components_sim_sim_main_c", "target": "task", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_main.c", "source_location": "L19", "weight": 1.0, "metadata": {"raw_include": "freertos/task.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_sim_controller_components_sim_sim_main_c", "target": "esp_log", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_main.c", "source_location": "L20", "weight": 1.0, "metadata": {"raw_include": "esp_log.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_sim_controller_components_sim_sim_main_c", "target": "esp_event", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_main.c", "source_location": "L21", "weight": 1.0, "metadata": {"raw_include": "esp_event.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_sim_controller_components_sim_sim_main_c", "target": "esp_http_server", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_main.c", "source_location": "L22", "weight": 1.0, "metadata": {"raw_include": "esp_http_server.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_sim_controller_components_sim_sim_main_c", "target": "esp_timer", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_main.c", "source_location": "L23", "weight": 1.0, "metadata": {"raw_include": "esp_timer.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_sim_controller_components_sim_sim_main_c", "Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_test_api_conftest_py", "label": "conftest.py", "file_type": "code", "source_file": "test/api/conftest.py", "source_location": "L1"}, {"id": "$graphify-root$_test_api_conftest_pytest_addoption", "label": "pytest_addoption()", "file_type": "code", "source_file": "test/api/conftest.py", "source_location": "L22", "_callable": true}, {"id": "$graphify-root$_test_api_conftest_pytest_collection_modifyitems", "label": "pytest_collection_modifyitems()", "file_type": "code", "source_file": "test/api/conftest.py", "source_location": "L27", "_callable": true}, {"id": "$graphify-root$_test_api_conftest_client", "label": "Client", "file_type": "code", "source_file": "test/api/conftest.py", "source_location": "L35", "metadata": {"python_opaque_bases": true}, "_callable": true, "_callable_class": true}, {"id": "$graphify-root$_test_api_conftest_client_init", "label": ".__init__()", "file_type": "code", "source_file": "test/api/conftest.py", "source_location": "L38", "_callable": true}, {"id": "$graphify-root$_test_api_conftest_client_request", "label": ".request()", "file_type": "code", "source_file": "test/api/conftest.py", "source_location": "L43", "_callable": true}, {"id": "fixture", "label": "fixture", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/test/api/conftest.py"}, {"id": "$graphify-root$_test_api_conftest_base_url", "label": "base_url()", "file_type": "code", "source_file": "test/api/conftest.py", "source_location": "L49", "_py_fixture": "?", "_callable": true}, {"id": "$graphify-root$_test_api_conftest_c", "label": "c()", "file_type": "code", "source_file": "test/api/conftest.py", "source_location": "L55", "_py_fixture": "Client", "_callable": true}, {"id": "$graphify-root$_test_api_conftest_profile", "label": "profile()", "file_type": "code", "source_file": "test/api/conftest.py", "source_location": "L61", "_py_fixture": "?", "_callable": true}, {"id": "$graphify-root$_test_api_conftest_restore_db", "label": "restore_db()", "file_type": "code", "source_file": "test/api/conftest.py", "source_location": "L72", "_py_fixture": "?", "_callable": true}, {"id": "$graphify-root$_test_api_conftest_rationale_1", "label": "Black-box HTTP tests against a running controller. Ported from the v1 Python\u2026", "file_type": "rationale", "source_file": "test/api/conftest.py", "source_location": "L1"}, {"id": "$graphify-root$_test_api_conftest_rationale_36", "label": "requests.Session that takes paths relative to the controller.", "file_type": "rationale", "source_file": "test/api/conftest.py", "source_location": "L36"}, {"id": "$graphify-root$_test_api_conftest_rationale_62", "label": "A new profile, made current for the test and deleted afterwards.", "file_type": "rationale", "source_file": "test/api/conftest.py", "source_location": "L62"}, {"id": "$graphify-root$_test_api_conftest_rationale_73", "label": "Snapshot every collection before the run and write it back afterwards.", "file_type": "rationale", "source_file": "test/api/conftest.py", "source_location": "L73"}], "edges": [{"source": "$graphify-root$_test_api_conftest_py", "target": "os", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "test/api/conftest.py", "source_location": "L8", "weight": 1.0, "_python_import_module": "os", "_python_import_bindings": [["os", "os"]], "_python_import_module_binding": true}, {"source": "$graphify-root$_test_api_conftest_py", "target": "pytest", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "test/api/conftest.py", "source_location": "L10", "weight": 1.0, "_python_import_module": "pytest", "_python_import_bindings": [["pytest", "pytest"]], "_python_import_module_binding": true}, {"source": "$graphify-root$_test_api_conftest_py", "target": "requests", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "test/api/conftest.py", "source_location": "L11", "weight": 1.0, "_python_import_module": "requests", "_python_import_bindings": [["requests", "requests"]], "_python_import_module_binding": true}, {"source": "$graphify-root$_test_api_conftest_py", "target": "$graphify-root$_test_api_helpers_py", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "test/api/conftest.py", "source_location": "L13", "weight": 1.0, "_python_import_module": "helpers", "_python_import_bindings": [["new_id", "new_id"], ["unique", "unique"]], "target_file": "$graphify-root$/test/api/helpers.py"}, {"source": "$graphify-root$_test_api_conftest_py", "target": "$graphify-root$_test_api_conftest_pytest_addoption", "relation": "contains", "confidence": "EXTRACTED", "source_file": "test/api/conftest.py", "source_location": "L22", "weight": 1.0}, {"source": "$graphify-root$_test_api_conftest_py", "target": "$graphify-root$_test_api_conftest_pytest_collection_modifyitems", "relation": "contains", "confidence": "EXTRACTED", "source_file": "teLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_led_driver_main_effects_a_cpp", "label": "effects_a.cpp", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L1"}, {"id": "$graphify-root$_led_driver_main_effects_a_first_call", "label": "first_call()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L14", "_callable": true}, {"id": "st_t", "label": "st_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/led-driver/main/effects_a.cpp"}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_off", "label": "fx_off()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L25", "_callable": true}, {"id": "fx_t", "label": "fx_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/led-driver/main/effects_a.cpp"}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_on", "label": "fx_on()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L31", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_blink", "label": "fx_blink()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L40", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_aurora", "label": "fx_aurora()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L65", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_bar_graph", "label": "fx_bar_graph()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L130", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_blizzard", "label": "fx_blizzard()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L153", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_candle_glow", "label": "fx_candle_glow()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L197", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_chase_draw", "label": "chase_draw()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L248", "_callable": true}, {"id": "rgb", "label": "rgb", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/led-driver/main/effects_a.cpp"}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_chase", "label": "fx_chase()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L259", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_circle", "label": "fx_circle()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L332", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_clock_sweep", "label": "fx_clock_sweep()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L398", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_gradient_render", "label": "gradient_render()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L431", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_rainbow_render", "label": "rainbow_render()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L452", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_colour_cycle", "label": "fx_colour_cycle()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L462", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_rainbow", "label": "fx_rainbow()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L498", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_flicker", "label": "fx_flicker()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L517", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_gradient_wipe", "label": "fx_gradient_wipe()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L548", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_hit", "label": "fx_hit()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L590", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_icicles", "label": "fx_icicles()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L634", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_ease_t", "label": "ease_t()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L684", "_callable": true}, {"id": "$graphify-root$_led_driver_maiLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_seqplay_c", "label": "seqplay.c", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L1"}, {"id": "$graphify-root$_main_seqplay_simulated_bpm", "label": "simulated_bpm()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L115", "_callable": true}, {"id": "$graphify-root$_main_seqplay_audio_drives", "label": "audio_drives()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L122", "_callable": true}, {"id": "$graphify-root$_main_seqplay_wait_for_downbeat", "label": "wait_for_downbeat()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L130", "_callable": true}, {"id": "$graphify-root$_main_seqplay_num", "label": "num()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L136", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/seqplay.c"}, {"id": "$graphify-root$_main_seqplay_str_is", "label": "str_is()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L142", "_callable": true}, {"id": "$graphify-root$_main_seqplay_seq_oneshot", "label": "seq_oneshot()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L149", "_callable": true}, {"id": "$graphify-root$_main_seqplay_add_id", "label": "add_id()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L163", "_callable": true}, {"id": "$graphify-root$_main_seqplay_macs_has", "label": "macs_has()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L175", "_callable": true}, {"id": "macs_t", "label": "macs_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/seqplay.c"}, {"id": "$graphify-root$_main_seqplay_macs_add", "label": "macs_add()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L185", "_callable": true}, {"id": "$graphify-root$_main_seqplay_target_add", "label": "target_add()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L195", "_callable": true}, {"id": "player_t", "label": "player_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/seqplay.c"}, {"id": "$graphify-root$_main_seqplay_target_from_list", "label": "target_from_list()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L219", "_callable": true}, {"id": "$graphify-root$_main_seqplay_target_zone", "label": "target_zone()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L233", "_callable": true}, {"id": "$graphify-root$_main_seqplay_bit", "label": "bit()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L240", "_callable": true}, {"id": "$graphify-root$_main_seqplay_load_targets", "label": "load_targets()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L246", "_callable": true}, {"id": "$graphify-root$_main_seqplay_mask_of", "label": "mask_of()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L276", "_callable": true}, {"id": "$graphify-root$_main_seqplay_groups_for", "label": "groups_for()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L291", "_callable": true}, {"id": "$graphify-root$_main_seqplay_send_msg", "label": "send_msg()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L327", "_callable": true}, {"id": "$graphify-root$_main_seqplay_message", "label": "message()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L337", "_callable": true}, {"id": "$graphify-root$_main_seqplay_upload", "label": "upload()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L349", "_callable": true}, {"id": "$graphify-root$_main_seqplay_send_presets", "label": "send_presets()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L365", "_callable": true}, {"id": "$graphify-root$_main_seqplay_select_on", "label": "select_on()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L382", "_callable": true}, {"id": "$graphify-root$_main_seqplay_chase_mask", "label": "chase_mask()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L397", "_callable": true}, {"id": "lane_t", "label": "lane_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/seqplay.c"}, {"id": "$graphify-root$_main_seqplay_chase_move", "label": "chase_move()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L406", "_callable": true}, {"id": "$graphify-root$_main_seqplay_send_lane", "label": "send_lane()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L436", "_callable": true}, {"id": "$graphify-root$_main_seqplay_load_lanes", "labeLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_gitea_workflows_release_yml", "label": "release.yml", "file_type": "code", "source_file": ".gitea/workflows/release.yml", "source_location": "L1"}, {"id": "$graphify-root$_gitea_workflows_release_name", "label": "name", "file_type": "code", "source_file": ".gitea/workflows/release.yml", "source_location": "L3"}, {"id": "$graphify-root$_gitea_workflows_release_on", "label": "on", "file_type": "code", "source_file": ".gitea/workflows/release.yml", "source_location": "L5"}, {"id": "$graphify-root$_gitea_workflows_release_on_push", "label": "push", "file_type": "code", "source_file": ".gitea/workflows/release.yml", "source_location": "L6"}, {"id": "$graphify-root$_gitea_workflows_release_push_branches", "label": "branches", "file_type": "code", "source_file": ".gitea/workflows/release.yml", "source_location": "L7"}, {"id": "$graphify-root$_gitea_workflows_release_jobs", "label": "jobs", "file_type": "code", "source_file": ".gitea/workflows/release.yml", "source_location": "L10"}, {"id": "$graphify-root$_gitea_workflows_release_jobs_release", "label": "release", "file_type": "code", "source_file": ".gitea/workflows/release.yml", "source_location": "L11"}, {"id": "$graphify-root$_gitea_workflows_release_release_runs_on", "label": "runs-on", "file_type": "code", "source_file": ".gitea/workflows/release.yml", "source_location": "L12"}, {"id": "$graphify-root$_gitea_workflows_release_release_permissions", "label": "permissions", "file_type": "code", "source_file": ".gitea/workflows/release.yml", "source_location": "L13"}, {"id": "$graphify-root$_gitea_workflows_release_permissions_contents", "label": "contents", "file_type": "code", "source_file": ".gitea/workflows/release.yml", "source_location": "L14"}, {"id": "$graphify-root$_gitea_workflows_release_release_steps", "label": "steps", "file_type": "code", "source_file": ".gitea/workflows/release.yml", "source_location": "L15"}, {"id": "$graphify-root$_gitea_workflows_release_steps_name", "label": "name", "file_type": "code", "source_file": ".gitea/workflows/release.yml", "source_location": "L16"}, {"id": "$graphify-root$_gitea_workflows_release_steps_uses", "label": "uses", "file_type": "code", "source_file": ".gitea/workflows/release.yml", "source_location": "L17"}, {"id": "$graphify-root$_gitea_workflows_release_steps_with", "label": "with", "file_type": "code", "source_file": ".gitea/workflows/release.yml", "source_location": "L18"}, {"id": "$graphify-root$_gitea_workflows_release_with_fetch_depth", "label": "fetch-depth", "file_type": "code", "source_file": ".gitea/workflows/release.yml", "source_location": "L19"}, {"id": "$graphify-root$_gitea_workflows_release_steps_run", "label": "run", "file_type": "code", "source_file": ".gitea/workflows/release.yml", "source_location": "L22"}, {"id": "$graphify-root$_gitea_workflows_release_steps_id", "label": "id", "file_type": "code", "source_file": ".gitea/workflows/release.yml", "source_location": "L25"}, {"id": "$graphify-root$_gitea_workflows_release_steps_env", "label": "env", "file_type": "code", "source_file": ".gitea/workflows/release.yml", "source_location": "L34"}, {"id": "$graphify-root$_gitea_workflows_release_env_tag", "label": "TAG", "file_type": "code", "source_file": ".gitea/workflows/release.yml", "source_location": "L35"}, {"id": "$graphify-root$_gitea_workflows_release_env_token", "label": "TOKEN", "file_type": "code", "source_file": ".gitea/workflows/release.yml", "source_location": "L36"}], "edges": [{"source": "$graphify-root$_gitea_workflows_release_yml", "target": "$graphify-root$_gitea_workflows_release_name", "relation": "contains", "confidence": "EXTRACTED", "source_file": ".gitea/workflows/release.yml", "source_location": "L3", "weight": 1.0}, {"source": "$graphify-root$_gitea_workflows_release_yml", "target": "$graphify-root$_gitea_workflows_release_on", "relation": "contains", "confidence": "EXTRACTED", "source_file": ".gitea/workflows/release.yml", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_gitea_workflows_release_on", "target": "$graphify-root$_gitea_workflows_release_on_push", "relation": "contains", "confidence": "EXTRACTED", "source_file": ".gitea/workflows/release.yml", "source_location": "L6", "weight": 1.0}, {"source": "$graphify-root$_gitea_workflows_release_on_push", "target": "$graphify-root$_gitea_workflows_release_push_branches", "relation": "contains", "confidence": "EXTRACTED", "source_file": ".gitea/workflows/release.yml", "source_location": "L7", "weight": 1.0}, {"source": "$graphify-root$_gitea_workflows_release_yml", "target": "$graphify-root$_gitea_workflows_release_jobs", "relation": "contains", "confidence": "EXTRACTED", "source_file": ".gitea/workflows/release.yml", "source_location": "L10", "weight": 1.0}, {"source": "$graphify-root$_gitea_workflows_release_jobs", "target": "$graphify-root$_gitea_workflows_release_jobs_release", "relation": "contains", "confidence": "EXTRACTED", "source_file": ".gitea/workLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_sim_controller_components_sim_sim_rig_c", "label": "sim_rig.c", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L1"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_find_file", "label": "find_file()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L63", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_mime_for", "label": "mime_for()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L90", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_send_file", "label": "send_file()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L108", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_rig.c"}, {"id": "httpd_req_t", "label": "httpd_req_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_rig.c"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_page_handler", "label": "page_handler()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L129", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_db_root", "label": "db_root()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L156", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_sim_path", "label": "sim_path()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L162", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_ensure_dirs", "label": "ensure_dirs()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L167", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_read_text", "label": "read_text()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L178", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_read_json", "label": "read_json()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L196", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_rig.c"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_write_text", "label": "write_text()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L208", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_write_json", "label": "write_json()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L222", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_name_ok", "label": "name_ok()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L232", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_room_name_ok", "label": "room_name_ok()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L246", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_id_ok", "label": "id_ok()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L251", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_mac_ok", "label": "mac_ok()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L256", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_round_to", "label": "round_to()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L269", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_wrap_deg", "label": "wrap_deg()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L274", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_num_in", "label": "num_in()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L286", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_rig_validate_room", "label": "validate_room()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_rig.c", "source_location": "L303", "_callable": true}, {"id": "$grapLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_engine_c", "label": "engine.c", "file_type": "code", "source_file": "main/engine.c", "source_location": "L1"}, {"id": "$graphify-root$_main_engine_tx", "label": "tx()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L27", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/engine.c"}, {"id": "$graphify-root$_main_engine_parse_mac", "label": "parse_mac()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L40", "_callable": true}, {"id": "$graphify-root$_main_engine_wrap_wire", "label": "wrap_wire()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L63", "_callable": true}, {"id": "$graphify-root$_main_engine_emit_c", "label": "emit_c()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L88", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/engine.c"}, {"id": "$graphify-root$_main_engine_id_text", "label": "id_text()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L116", "_callable": true}, {"id": "$graphify-root$_main_engine_palette_color", "label": "palette_color()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L129", "_callable": true}, {"id": "$graphify-root$_main_engine_engine_preset_payload", "label": "engine_preset_payload()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L147", "_callable": true}, {"id": "$graphify-root$_main_engine_preset_payload", "label": "preset_payload()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L181", "_callable": true}, {"id": "$graphify-root$_main_engine_zone_names", "label": "zone_names()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L188", "_callable": true}, {"id": "$graphify-root$_main_engine_name_seen", "label": "name_seen()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L195", "_callable": true}, {"id": "$graphify-root$_main_engine_engine_zone_targets", "label": "engine_zone_targets()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L211", "_callable": true}, {"id": "$graphify-root$_main_engine_mac_listed", "label": "mac_listed()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L232", "_callable": true}, {"id": "$graphify-root$_main_engine_in_group", "label": "in_group()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L256", "_callable": true}, {"id": "$graphify-root$_main_engine_driver_in_zone", "label": "driver_in_zone()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L269", "_callable": true}, {"id": "$graphify-root$_main_engine_is_wifi", "label": "is_wifi()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L282", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_in_group", "label": "wifi_in_group()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L289", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_zone", "label": "wifi_zone()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L312", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_selected", "label": "wifi_selected()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L343", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_push", "label": "wifi_push()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L372", "_callable": true}, {"id": "$graphify-root$_main_engine_wifi_store_presets", "label": "wifi_store_presets()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L440", "_callable": true}, {"id": "$graphify-root$_main_engine_emit_zone", "label": "emit_zone()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L466", "_callable": true}, {"id": "$graphify-root$_main_engine_select_zone", "label": "select_zone()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L484", "_callable": true}, {"id": "$graphify-root$_main_engine_zone_cur_set", "label": "zone_cur_set()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L501", "_callable": true}, {"id": "$graphify-root$_main_engine_play_locked", "label": "play_locked()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L520", "_callable": true}, {"id": "$graphify-root$_main_engine_engine_zone_note", "label": "engine_zone_note()", "file_type": "code", "source_file": "main/engine.c", "source_location": "L549", "_callable": true}, {"id": "$graphify-root$_main_engine_engine_zone_current", "label": "engine_zone_current()", "file_type": "code", "source_file": "main/engine.c",Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_sim_controller_components_sim_sim_stubs_c", "label": "sim_stubs.c", "file_type": "code", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L1"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_stubs_esp_vfs_littlefs_register", "label": "esp_vfs_littlefs_register()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L11", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_stubs.c"}, {"id": "esp_vfs_littlefs_conf_t", "label": "esp_vfs_littlefs_conf_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_stubs.c"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_stubs_mic_start", "label": "mic_start()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L19", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_stubs_mic_get_level", "label": "mic_get_level()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L24", "_callable": true}, {"id": "mic_level_t", "label": "mic_level_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_stubs.c"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_stubs_mic_stream_open", "label": "mic_stream_open()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L31", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_stubs_mic_stream_read", "label": "mic_stream_read()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L36", "_callable": true}, {"id": "ticktype_t", "label": "TickType_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_stubs.c"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_stubs_mic_stream_close", "label": "mic_stream_close()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L44", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_stubs_ota_confirm_later", "label": "ota_confirm_later()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L50", "_callable": true}, {"id": "$graphify-root$_sim_controller_components_sim_sim_stubs_ota_unsupported", "label": "ota_unsupported()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L54", "_callable": true}, {"id": "httpd_req_t", "label": "httpd_req_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_stubs.c"}, {"id": "$graphify-root$_sim_controller_components_sim_sim_stubs_ota_register", "label": "ota_register()", "file_type": "code", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L61", "_callable": true}, {"id": "httpd_handle_t", "label": "httpd_handle_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/sim-controller/components/sim/sim_stubs.c"}], "edges": [{"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_c", "target": "auth", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L2", "weight": 1.0, "metadata": {"raw_include": "auth.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_c", "target": "string", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L3", "weight": 1.0}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_c", "target": "stat", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L4", "weight": 1.0}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_c", "target": "esp_littlefs", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L5", "weight": 1.0, "metadata": {"raw_include": "esp_littlefs.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_sim_controller_components_sim_sim_stubs_c", "target": "esp_log", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sim-controller/components/sim/sim_stubs.c", "source_location": "L6", "weight": 1.0, "metadata": {"raw_incluLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_main_c", "label": "main.c", "file_type": "code", "source_file": "main/main.c", "source_location": "L1"}, {"id": "$graphify-root$_main_main_reset_reason", "label": "reset_reason()", "file_type": "code", "source_file": "main/main.c", "source_location": "L53", "_callable": true}, {"id": "$graphify-root$_main_main_status_get_handler", "label": "status_get_handler()", "file_type": "code", "source_file": "main/main.c", "source_location": "L70", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "httpd_req_t", "label": "httpd_req_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_settings_bool", "label": "settings_bool()", "file_type": "code", "source_file": "main/main.c", "source_location": "L127", "_callable": true}, {"id": "$graphify-root$_main_main_ap_button_held", "label": "ap_button_held()", "file_type": "code", "source_file": "main/main.c", "source_location": "L134", "_callable": true}, {"id": "$graphify-root$_main_main_settings_str", "label": "settings_str()", "file_type": "code", "source_file": "main/main.c", "source_location": "L154", "_callable": true}, {"id": "$graphify-root$_main_main_parse_static", "label": "parse_static()", "file_type": "code", "source_file": "main/main.c", "source_location": "L162", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "esp_netif_ip_info_t", "label": "esp_netif_ip_info_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "esp_netif_dns_info_t", "label": "esp_netif_dns_info_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_gateway_answers", "label": "gateway_answers()", "file_type": "code", "source_file": "main/main.c", "source_location": "L187", "_callable": true}, {"id": "esp_netif_t", "label": "esp_netif_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "esp_ip4_addr_t", "label": "esp_ip4_addr_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_have_static_ips", "label": "have_static_ips()", "file_type": "code", "source_file": "main/main.c", "source_location": "L209", "_callable": true}, {"id": "$graphify-root$_main_main_try_static_ips", "label": "try_static_ips()", "file_type": "code", "source_file": "main/main.c", "source_location": "L215", "_callable": true}, {"id": "$graphify-root$_main_main_dhcp_settled", "label": "dhcp_settled()", "file_type": "code", "source_file": "main/main.c", "source_location": "L247", "_callable": true}, {"id": "$graphify-root$_main_main_link_up_task", "label": "link_up_task()", "file_type": "code", "source_file": "main/main.c", "source_location": "L261", "_callable": true}, {"id": "$graphify-root$_main_main_start_mdns", "label": "start_mdns()", "file_type": "code", "source_file": "main/main.c", "source_location": "L278", "_callable": true}, {"id": "$graphify-root$_main_main_start_webserver", "label": "start_webserver()", "file_type": "code", "source_file": "main/main.c", "source_location": "L295", "_callable": true}, {"id": "$graphify-root$_main_main_eth_event_handler", "label": "eth_event_handler()", "file_type": "code", "source_file": "main/main.c", "source_location": "L322", "_callable": true}, {"id": "esp_event_base_t", "label": "esp_event_base_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_got_ip_event_handler", "label": "got_ip_event_handler()", "file_type": "code", "source_file": "main/main.c", "source_location": "L357", "_callable": true}, {"id": "$graphify-root$_main_main_w5500_init", "label": "w5500_init()", "file_type": "code", "source_file": "main/main.c", "source_location": "L376", "_callable": true}, {"id": "esp_eth_handle_t", "label": "esp_eth_handle_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/main.c"}, {"id": "$graphify-root$_main_main_app_main", "label": "app_main()", "file_type": "code", "source_file": "main/main.c", "source_location": "L443", "_callable": true}], "edges": [{"source": "$graphify-root$_main_main_c", "target": "$graphify-root$_main_auth_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/main.c", "source_location": "L4", "weight": 1.0, "target_file": "$graphify-root$/main/auth.h"}, {"source": "$graphify-root$_main_main_c", "target": "stdio", "relation": "imports", "context": "import", "confidence":Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_api_c", "label": "api.c", "file_type": "code", "source_file": "main/api.c", "source_location": "L1"}, {"id": "$graphify-root$_main_api_api_json", "label": "api_json()", "file_type": "code", "source_file": "main/api.c", "source_location": "L43", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/api.c"}, {"id": "httpd_req_t", "label": "httpd_req_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/api.c"}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/api.c"}, {"id": "$graphify-root$_main_api_api_error", "label": "api_error()", "file_type": "code", "source_file": "main/api.c", "source_location": "L63", "_callable": true}, {"id": "$graphify-root$_main_api_api_message", "label": "api_message()", "file_type": "code", "source_file": "main/api.c", "source_location": "L70", "_callable": true}, {"id": "$graphify-root$_main_api_api_result", "label": "api_result()", "file_type": "code", "source_file": "main/api.c", "source_location": "L77", "_callable": true}, {"id": "$graphify-root$_main_api_body_impl", "label": "body_impl()", "file_type": "code", "source_file": "main/api.c", "source_location": "L91", "_callable": true}, {"id": "$graphify-root$_main_api_api_body", "label": "api_body()", "file_type": "code", "source_file": "main/api.c", "source_location": "L126", "_callable": true}, {"id": "$graphify-root$_main_api_api_body_opt", "label": "api_body_opt()", "file_type": "code", "source_file": "main/api.c", "source_location": "L127", "_callable": true}, {"id": "$graphify-root$_main_api_api_split", "label": "api_split()", "file_type": "code", "source_file": "main/api.c", "source_location": "L129", "_callable": true}, {"id": "api_seg_t", "label": "api_seg_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/api.c"}, {"id": "$graphify-root$_main_api_coll_for", "label": "coll_for()", "file_type": "code", "source_file": "main/api.c", "source_location": "L147", "_callable": true}, {"id": "$graphify-root$_main_api_api_id", "label": "api_id()", "file_type": "code", "source_file": "main/api.c", "source_location": "L157", "_callable": true}, {"id": "$graphify-root$_main_api_api_current_profile", "label": "api_current_profile()", "file_type": "code", "source_file": "main/api.c", "source_location": "L168", "_callable": true}, {"id": "$graphify-root$_main_api_api_preset_in_profile", "label": "api_preset_in_profile()", "file_type": "code", "source_file": "main/api.c", "source_location": "L178", "_callable": true}, {"id": "$graphify-root$_main_api_api_set", "label": "api_set()", "file_type": "code", "source_file": "main/api.c", "source_location": "L188", "_callable": true}, {"id": "$graphify-root$_main_api_api_merge", "label": "api_merge()", "file_type": "code", "source_file": "main/api.c", "source_location": "L197", "_callable": true}, {"id": "$graphify-root$_main_api_api_add", "label": "api_add()", "file_type": "code", "source_file": "main/api.c", "source_location": "L208", "_callable": true}, {"id": "$graphify-root$_main_api_route", "label": "route()", "file_type": "code", "source_file": "main/api.c", "source_location": "L219", "_callable": true}, {"id": "$graphify-root$_main_api_collection_handler_inner", "label": "collection_handler_inner()", "file_type": "code", "source_file": "main/api.c", "source_location": "L240", "_callable": true}, {"id": "$graphify-root$_main_api_api_settings_defaults", "label": "api_settings_defaults()", "file_type": "code", "source_file": "main/api.c", "source_location": "L352", "_callable": true}, {"id": "$graphify-root$_main_api_int_in", "label": "int_in()", "file_type": "code", "source_file": "main/api.c", "source_location": "L374", "_callable": true}, {"id": "$graphify-root$_main_api_put_settings", "label": "put_settings()", "file_type": "code", "source_file": "main/api.c", "source_location": "L379", "_callable": true}, {"id": "$graphify-root$_main_api_bridge_get", "label": "bridge_get()", "file_type": "code", "source_file": "main/api.c", "source_location": "L445", "_callable": true}, {"id": "$graphify-root$_main_api_bridge_store", "label": "bridge_store()", "file_type": "code", "source_file": "main/api.c", "source_location": "L462", "_callable": true}, {"id": "$graphify-root$_main_api_bridge_put", "label": "bridge_put()", "file_type": "code", "source_file": "main/api.c", "source_location": "L478", "_callable": true}, {"id": "$graphify-root$_main_api_settings_handler_inner", "label": "settings_handler_inner()", "file_type": "code", "source_file": "main/api.c", "source_location": "L549", "_callable": true}, {"id": "$graphify-root$_main_api_db_handler_inner", "label": "db_handler_inner()", "file_type": "code", "source_file": "main/api.c", "source_location": "L581", Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_engine_h", "label": "engine.h", "file_type": "code", "source_file": "main/engine.h", "source_location": "L1"}], "edges": [{"source": "$graphify-root$_main_engine_h", "target": "stdbool", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/engine.h", "source_location": "L3", "weight": 1.0}, {"source": "$graphify-root$_main_engine_h", "target": "cjson", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/engine.h", "source_location": "L4", "weight": 1.0, "metadata": {"raw_include": "cJSON.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_engine_h", "target": "esp_err", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/engine.h", "source_location": "L5", "weight": 1.0, "metadata": {"raw_include": "esp_err.h", "include_kind": "quoted"}}], "raw_calls": []}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_audio_c", "label": "audio.c", "file_type": "code", "source_file": "main/audio.c", "source_location": "L1"}, {"id": "$graphify-root$_main_audio_wav_header", "label": "wav_header()", "file_type": "code", "source_file": "main/audio.c", "source_location": "L20", "_callable": true}, {"id": "$graphify-root$_main_audio_send_all", "label": "send_all()", "file_type": "code", "source_file": "main/audio.c", "source_location": "L34", "_callable": true}, {"id": "httpd_req_t", "label": "httpd_req_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/audio.c"}, {"id": "$graphify-root$_main_audio_audio_stream_task", "label": "audio_stream_task()", "file_type": "code", "source_file": "main/audio.c", "source_location": "L48", "_callable": true}, {"id": "$graphify-root$_main_audio_audio_get_handler", "label": "audio_get_handler()", "file_type": "code", "source_file": "main/audio.c", "source_location": "L88", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/audio.c"}, {"id": "$graphify-root$_main_audio_time_get_handler", "label": "time_get_handler()", "file_type": "code", "source_file": "main/audio.c", "source_location": "L110", "_callable": true}, {"id": "$graphify-root$_main_audio_tap_post_handler", "label": "tap_post_handler()", "file_type": "code", "source_file": "main/audio.c", "source_location": "L119", "_callable": true}, {"id": "$graphify-root$_main_audio_beats_stream_task", "label": "beats_stream_task()", "file_type": "code", "source_file": "main/audio.c", "source_location": "L128", "_callable": true}, {"id": "$graphify-root$_main_audio_beats_get_handler", "label": "beats_get_handler()", "file_type": "code", "source_file": "main/audio.c", "source_location": "L198", "_callable": true}, {"id": "$graphify-root$_main_audio_audio_register", "label": "audio_register()", "file_type": "code", "source_file": "main/audio.c", "source_location": "L212", "_callable": true}, {"id": "httpd_handle_t", "label": "httpd_handle_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/audio.c"}], "edges": [{"source": "$graphify-root$_main_audio_c", "target": "$graphify-root$_main_auth_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/audio.c", "source_location": "L5", "weight": 1.0, "target_file": "$graphify-root$/main/auth.h"}, {"source": "$graphify-root$_main_audio_c", "target": "$graphify-root$_main_audio_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/audio.c", "source_location": "L6", "weight": 1.0, "target_file": "$graphify-root$/main/audio.h"}, {"source": "$graphify-root$_main_audio_c", "target": "stdio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/audio.c", "source_location": "L8", "weight": 1.0}, {"source": "$graphify-root$_main_audio_c", "target": "string", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/audio.c", "source_location": "L9", "weight": 1.0}, {"source": "$graphify-root$_main_audio_c", "target": "$graphify-root$_main_beat_h", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/audio.c", "source_location": "L10", "weight": 1.0, "target_file": "$graphify-root$/main/beat.h"}, {"source": "$graphify-root$_main_audio_c", "target": "esp_log", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/audio.c", "source_location": "L11", "weight": 1.0, "metadata": {"raw_include": "esp_log.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_audio_c", "target": "esp_timer", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/audio.c", "source_location": "L12", "weight": 1.0, "metadata": {"raw_include": "esp_timer.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_audio_c", "target": "freertos", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/audio.c", "source_location": "L13", "weight": 1.0, "metadata": {"raw_include": "freertos/FreeRTOS.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_audio_c", "target": "task", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/audio.c", "source_location": "L14", "weight": 1.0, "metadata": {"raw_include": "freertos/task.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_audio_c", "target": "sockets", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "main/audio.c", "source_location": "L15", "weight": 1.0, "metadata": {"raw_include": "lwip/sockets.h", "include_kind": "quoted"}}, {"source": "$graphify-root$_main_audio_c", "target": "$graphify-root$_main_mic_h", "relation": "importsLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_led_driver_main_presets_cpp", "label": "presets.cpp", "file_type": "code", "source_file": "led-driver/main/presets.cpp", "source_location": "L1"}, {"id": "$graphify-root$_led_driver_main_presets_find", "label": "find()", "file_type": "code", "source_file": "led-driver/main/presets.cpp", "source_location": "L22", "_callable": true}, {"id": "$graphify-root$_led_driver_main_presets_rgb_json", "label": "rgb_json()", "file_type": "code", "source_file": "led-driver/main/presets.cpp", "source_location": "L32", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/led-driver/main/presets.cpp"}, {"id": "$graphify-root$_led_driver_main_presets_read_rgb", "label": "read_rgb()", "file_type": "code", "source_file": "led-driver/main/presets.cpp", "source_location": "L41", "_callable": true}, {"id": "$graphify-root$_led_driver_main_presets_preset_to_json", "label": "preset_to_json()", "file_type": "code", "source_file": "led-driver/main/presets.cpp", "source_location": "L70", "_callable": true}, {"id": "preset_t", "label": "preset_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/led-driver/main/presets.cpp"}, {"id": "$graphify-root$_led_driver_main_presets_preset_from_json", "label": "preset_from_json()", "file_type": "code", "source_file": "led-driver/main/presets.cpp", "source_location": "L94", "_callable": true}, {"id": "$graphify-root$_led_driver_main_presets_entry_key", "label": "entry_key()", "file_type": "code", "source_file": "led-driver/main/presets.cpp", "source_location": "L149", "_callable": true}, {"id": "$graphify-root$_led_driver_main_presets_save_entry", "label": "save_entry()", "file_type": "code", "source_file": "led-driver/main/presets.cpp", "source_location": "L154", "_callable": true}, {"id": "esp_err_t", "label": "esp_err_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/led-driver/main/presets.cpp"}, {"id": "nvs_handle_t", "label": "nvs_handle_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/led-driver/main/presets.cpp"}, {"id": "$graphify-root$_led_driver_main_presets_save_list", "label": "save_list()", "file_type": "code", "source_file": "led-driver/main/presets.cpp", "source_location": "L170", "_callable": true}, {"id": "$graphify-root$_led_driver_main_presets_save_one", "label": "save_one()", "file_type": "code", "source_file": "led-driver/main/presets.cpp", "source_location": "L194", "_callable": true}, {"id": "$graphify-root$_led_driver_main_presets_build_defaults", "label": "build_defaults()", "file_type": "code", "source_file": "led-driver/main/presets.cpp", "source_location": "L209", "_callable": true}, {"id": "$graphify-root$_led_driver_main_presets_presets_add_defaults", "label": "presets_add_defaults()", "file_type": "code", "source_file": "led-driver/main/presets.cpp", "source_location": "L288", "_callable": true}, {"id": "$graphify-root$_led_driver_main_presets_load_legacy", "label": "load_legacy()", "file_type": "code", "source_file": "led-driver/main/presets.cpp", "source_location": "L306", "_callable": true}, {"id": "$graphify-root$_led_driver_main_presets_load_entry", "label": "load_entry()", "file_type": "code", "source_file": "led-driver/main/presets.cpp", "source_location": "L336", "_callable": true}, {"id": "$graphify-root$_led_driver_main_presets_presets_init", "label": "presets_init()", "file_type": "code", "source_file": "led-driver/main/presets.cpp", "source_location": "L360", "_callable": true}, {"id": "$graphify-root$_led_driver_main_presets_presets_count", "label": "presets_count()", "file_type": "code", "source_file": "led-driver/main/presets.cpp", "source_location": "L403", "_callable": true}, {"id": "$graphify-root$_led_driver_main_presets_presets_at", "label": "presets_at()", "file_type": "code", "source_file": "led-driver/main/presets.cpp", "source_location": "L408", "_callable": true}, {"id": "$graphify-root$_led_driver_main_presets_presets_dropped", "label": "presets_dropped()", "file_type": "code", "source_file": "led-driver/main/presets.cpp", "source_location": "L415", "_callable": true}, {"id": "$graphify-root$_led_driver_main_presets_presets_save", "label": "presets_save()", "file_type": "code", "source_file": "led-driver/main/presets.cpp", "source_location": "L420", "_callable": true}, {"id": "$graphify-root$_led_driver_main_presets_presets_set_order", "label": "presets_set_order()", "file_type": "code", "source_file": "led-driver/main/presets.cpp", "source_location": "L445", "_callable": true}, {"id": "$graphify-root$_led_driver_main_presets_presets_delete", "label": "presets_delete()", "file_type": "code", "source_file": "led-driver/main/presets.cpp", "source_location": "L469", "_callable": true}, {"id": "$graphify-root$_led_driver_main_presets_presets_select", "label": "presets_selLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_led_driver_main_effects_a_cpp", "label": "effects_a.cpp", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L1"}, {"id": "$graphify-root$_led_driver_main_effects_a_first_call", "label": "first_call()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L14", "_callable": true}, {"id": "st_t", "label": "st_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/led-driver/main/effects_a.cpp"}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_off", "label": "fx_off()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L25", "_callable": true}, {"id": "fx_t", "label": "fx_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/led-driver/main/effects_a.cpp"}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_on", "label": "fx_on()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L31", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_blink", "label": "fx_blink()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L40", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_aurora", "label": "fx_aurora()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L65", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_bar_graph", "label": "fx_bar_graph()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L130", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_blizzard", "label": "fx_blizzard()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L153", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_candle_glow", "label": "fx_candle_glow()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L197", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_chase_draw", "label": "chase_draw()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L248", "_callable": true}, {"id": "rgb", "label": "rgb", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/led-driver/main/effects_a.cpp"}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_chase", "label": "fx_chase()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L259", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_circle", "label": "fx_circle()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L306", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_clock_sweep", "label": "fx_clock_sweep()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L372", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_gradient_render", "label": "gradient_render()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L405", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_rainbow_render", "label": "rainbow_render()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L426", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_colour_cycle", "label": "fx_colour_cycle()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L436", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_rainbow", "label": "fx_rainbow()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L472", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_flicker", "label": "fx_flicker()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L491", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_gradient_wipe", "label": "fx_gradient_wipe()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L522", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_hit", "label": "fx_hit()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L564", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_fx_icicles", "label": "fx_icicles()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L608", "_callable": true}, {"id": "$graphify-root$_led_driver_main_effects_a_ease_t", "label": "ease_t()", "file_type": "code", "source_file": "led-driver/main/effects_a.cpp", "source_location": "L658", "_callable": true}, {"id": "$graphify-root$_led_driver_maiLine truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_auth_c", "label": "auth.c", "file_type": "code", "source_file": "main/auth.c", "source_location": "L1"}, {"id": "$graphify-root$_main_auth_rotr", "label": "rotr()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L53", "_callable": true}, {"id": "$graphify-root$_main_auth_sha_init", "label": "sha_init()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L58", "_callable": true}, {"id": "sha_t", "label": "sha_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/auth.c"}, {"id": "$graphify-root$_main_auth_sha_block", "label": "sha_block()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L68", "_callable": true}, {"id": "$graphify-root$_main_auth_sha_update", "label": "sha_update()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L106", "_callable": true}, {"id": "$graphify-root$_main_auth_sha_final", "label": "sha_final()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L126", "_callable": true}, {"id": "$graphify-root$_main_auth_hmac256", "label": "hmac256()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L148", "_callable": true}, {"id": "$graphify-root$_main_auth_pbkdf2", "label": "pbkdf2()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L179", "_callable": true}, {"id": "$graphify-root$_main_auth_to_hex", "label": "to_hex()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L194", "_callable": true}, {"id": "$graphify-root$_main_auth_hexval", "label": "hexval()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L204", "_callable": true}, {"id": "$graphify-root$_main_auth_from_hex", "label": "from_hex()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L218", "_callable": true}, {"id": "$graphify-root$_main_auth_const_eq", "label": "const_eq()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L233", "_callable": true}, {"id": "$graphify-root$_main_auth_str_of", "label": "str_of()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L244", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/auth.c"}, {"id": "$graphify-root$_main_auth_obj_set", "label": "obj_set()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L251", "_callable": true}, {"id": "$graphify-root$_main_auth_valid_name", "label": "valid_name()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L260", "_callable": true}, {"id": "$graphify-root$_main_auth_area_index", "label": "area_index()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L274", "_callable": true}, {"id": "$graphify-root$_main_auth_perm_in", "label": "perm_in()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L284", "_callable": true}, {"id": "$graphify-root$_main_auth_role_perm", "label": "role_perm()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L293", "_callable": true}, {"id": "$graphify-root$_main_auth_all_edit", "label": "all_edit()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L302", "_callable": true}, {"id": "$graphify-root$_main_auth_perms_from_json", "label": "perms_from_json()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L314", "_callable": true}, {"id": "$graphify-root$_main_auth_managers_after", "label": "managers_after()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L343", "_callable": true}, {"id": "$graphify-root$_main_auth_auth_enabled_locked", "label": "auth_enabled_locked()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L361", "_callable": true}, {"id": "$graphify-root$_main_auth_lock_slot", "label": "lock_slot()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L387", "_callable": true}, {"id": "lock_t", "label": "lock_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/auth.c"}, {"id": "$graphify-root$_main_auth_sess_find", "label": "sess_find()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L412", "_callable": true}, {"id": "sess_t", "label": "sess_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/auth.c"}, {"id": "$graphify-root$_main_auth_sess_drop_user", "label": "sess_drop_user()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L432", "_callable": true}, {"id": "$graphify-root$_main_auth_sess_drop_tok", "label": "sess_drop_tok()", "file_type": "code", "source_file": "main/auth.c", "source_location": "L441", "_callable": true}, {"id": "$graphify-root$_main_auth_sess_new", "label": "sess_new()Line truncated
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_main_seqplay_c", "label": "seqplay.c", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L1"}, {"id": "$graphify-root$_main_seqplay_simulated_bpm", "label": "simulated_bpm()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L115", "_callable": true}, {"id": "$graphify-root$_main_seqplay_audio_drives", "label": "audio_drives()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L122", "_callable": true}, {"id": "$graphify-root$_main_seqplay_wait_for_downbeat", "label": "wait_for_downbeat()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L130", "_callable": true}, {"id": "$graphify-root$_main_seqplay_num", "label": "num()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L136", "_callable": true}, {"id": "cjson", "label": "cJSON", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/seqplay.c"}, {"id": "$graphify-root$_main_seqplay_str_is", "label": "str_is()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L142", "_callable": true}, {"id": "$graphify-root$_main_seqplay_seq_oneshot", "label": "seq_oneshot()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L149", "_callable": true}, {"id": "$graphify-root$_main_seqplay_add_id", "label": "add_id()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L163", "_callable": true}, {"id": "$graphify-root$_main_seqplay_macs_has", "label": "macs_has()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L175", "_callable": true}, {"id": "macs_t", "label": "macs_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/seqplay.c"}, {"id": "$graphify-root$_main_seqplay_macs_add", "label": "macs_add()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L185", "_callable": true}, {"id": "$graphify-root$_main_seqplay_target_add", "label": "target_add()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L195", "_callable": true}, {"id": "player_t", "label": "player_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/seqplay.c"}, {"id": "$graphify-root$_main_seqplay_target_from_list", "label": "target_from_list()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L219", "_callable": true}, {"id": "$graphify-root$_main_seqplay_target_zone", "label": "target_zone()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L233", "_callable": true}, {"id": "$graphify-root$_main_seqplay_bit", "label": "bit()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L240", "_callable": true}, {"id": "$graphify-root$_main_seqplay_load_targets", "label": "load_targets()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L246", "_callable": true}, {"id": "$graphify-root$_main_seqplay_mask_of", "label": "mask_of()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L276", "_callable": true}, {"id": "$graphify-root$_main_seqplay_groups_for", "label": "groups_for()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L291", "_callable": true}, {"id": "$graphify-root$_main_seqplay_send_msg", "label": "send_msg()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L327", "_callable": true}, {"id": "$graphify-root$_main_seqplay_message", "label": "message()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L337", "_callable": true}, {"id": "$graphify-root$_main_seqplay_upload", "label": "upload()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L349", "_callable": true}, {"id": "$graphify-root$_main_seqplay_send_presets", "label": "send_presets()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L365", "_callable": true}, {"id": "$graphify-root$_main_seqplay_select_on", "label": "select_on()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L382", "_callable": true}, {"id": "$graphify-root$_main_seqplay_chase_mask", "label": "chase_mask()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L397", "_callable": true}, {"id": "lane_t", "label": "lane_t", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/main/seqplay.c"}, {"id": "$graphify-root$_main_seqplay_chase_move", "label": "chase_move()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L406", "_callable": true}, {"id": "$graphify-root$_main_seqplay_send_lane", "label": "send_lane()", "file_type": "code", "source_file": "main/seqplay.c", "source_location": "L436", "_callable": true}, {"id": "$graphify-root$_main_seqplay_load_lanes", "labeLine truncated
@@ -0,0 +1 @@
1
@@ -0,0 +1 @@
5
@@ -0,0 +1 @@
1
+1 -1
View File
@@ -1 +1 @@
1794814913.7640278 1794850142.414677
+1 -1
View File
@@ -1 +1 @@
{".claude/CLAUDE.md":{"size":226,"mtime_ns":1793707532996234423,"indexed_at_ns":1793707658543205519,"word_count":29,"hashes":{".claude/CLAUDE.md":"dd502cd6ce0bbff5d4c021e94be6aa49afe1f99dd85901e0201831908630e94b"}},"CLAUDE.md":{"size":1582,"mtime_ns":1794560833170090840,"indexed_at_ns":1794609720117981763,"word_count":247},"CMakeLists.txt":{"size":111,"mtime_ns":1793622279097091871,"indexed_at_ns":1793707658543849029,"word_count":4,"hashes":{"CMakeLists.txt":"837822e28c9599ef04852743d1f103d636d744f2e9219a407744dd5cd636cc9b"}},"README.md":{"size":3583,"mtime_ns":1794783157300129617,"indexed_at_ns":1794783233679457247,"word_count":498},"db/audio_run.json":{"size":103,"mtime_ns":1792558116811211805,"indexed_at_ns":1793707658868880485,"word_count":10,"hashes":{"db/audio_run.json":"22b6ce7327ac83a083fd0ab93d338685ce8a4bf2eba2122f93dbe7b7b36ffe8d"}},"db/bridges.json":{"size":279,"mtime_ns":1792035647171829311,"indexed_at_ns":1793707658874810261,"word_count":26,"hashes":{"db/bridges.json":"3cacd14c72fe5d4a0d316f8b1189134686de036427c8c97d26827638f5c0a913"}},"db/device.json":{"size":2,"mtime_ns":1793777185742747874,"indexed_at_ns":1793777223754642632,"word_count":1,"hashes":{"db/device.json":"d37387d627ac3f5cd9a139daf3b0490a820f32cc88fdcf09a89f7ed5f2879437"}},"db/group.json":{"size":407,"mtime_ns":1793784073189169768,"indexed_at_ns":1793784223737930610,"word_count":48,"hashes":{"db/group.json":"5ac5e81478218af9a7905607a853f0e58b3b8ed6218fb43406366214d81fdf1f"}},"db/output.json":{"size":2,"mtime_ns":1793777185742792981,"indexed_at_ns":1793777223755186745,"word_count":1,"hashes":{"db/output.json":"41b7170a77edddababaeeacfbfcac81d52aed8cd7ab91326a1b2587168f24fea"}},"db/palette.json":{"size":95,"mtime_ns":1793777185742725183,"indexed_at_ns":1793777223755421480,"word_count":9,"hashes":{"db/palette.json":"51fc59a676fa15de8a94dad96942d2ba1837f08bcfbe5158248a3a26e7b8c867"}},"db/pattern.json":{"size":4111,"mtime_ns":1794267054112010144,"indexed_at_ns":1794270646545205657,"word_count":499,"hashes":{"db/pattern.json":"bc4cd267b2a53018ecd2254967f7e0af64f120394656089d184956b684c970a4"}},"db/preset.json":{"size":1547,"mtime_ns":1794192230145924224,"indexed_at_ns":1794192255641306971,"word_count":2,"hashes":{"db/preset.json":"b787780a60fb5de5ab1ae5e95e28c56209c07e76167bf6f7d54a23098de393f1"}},"db/profile.json":{"size":103,"mtime_ns":1793777185742698915,"indexed_at_ns":1793777223756285988,"word_count":13,"hashes":{"db/profile.json":"0c884cad9c2d30151e71adcf2c73c922accc2adc1ec7e3a5f2557f65348ab16d"}},"db/scene.json":{"size":2,"mtime_ns":1793777185743064106,"indexed_at_ns":1793777223756521395,"word_count":1,"hashes":{"db/scene.json":"3fa068cb49be44a2bca2cc32c266bc67dd33f09a90ca72ff5b7e744f2d6372e4"}},"db/sequence.json":{"size":2,"mtime_ns":1793777185742815256,"indexed_at_ns":1793777223756746197,"word_count":1,"hashes":{"db/sequence.json":"9fe59214947c107acb45669e2f107b00be6b6c6184e12ca597f7fc2b661e341a"}},"db/zone.json":{"size":280,"mtime_ns":1793783703894998088,"indexed_at_ns":1793784223739991976,"word_count":35,"hashes":{"db/zone.json":"cdd502ffa90331dbfa71842351796f0b9317de1d744f644233c2e5537089ff7b"}},"dmx-driver/README.md":{"size":2911,"mtime_ns":1792558116808211795,"indexed_at_ns":1793707658544334791,"word_count":395,"hashes":{"dmx-driver/README.md":"0c5ffe2dffbe102a54487430d3946fadbc65335f06b0f6c79f3c16b82f56ab0b"}},"dmx-driver/dev.py":{"size":2240,"mtime_ns":1792558116805211784,"indexed_at_ns":1793707658877667616,"word_count":194,"hashes":{"dmx-driver/dev.py":"284307111b0bcc67200ad58aa46b1a9f4f909b1f565a4867b3ef4bf4bbaec012"}},"dmx-driver/lib/artnet.py":{"size":10536,"mtime_ns":1792558116801446799,"indexed_at_ns":1793707658877956591,"word_count":1079,"hashes":{"dmx-driver/lib/artnet.py":"3aac26e5fc30ac42944e6c70446b999b5d527d088aa82ff47287f89ae6c1fac5"}},"dmx-driver/lib/dmx.py":{"size":930,"mtime_ns":1792558116819211832,"indexed_at_ns":1793707658878446873,"word_count":106,"hashes":{"dmx-driver/lib/dmx.py":"6c9934df04c6685364a31ddf7efc87d2502ce582d7a8f1c3ddcd42483e99c67e"}},"dmx-driver/lib/microdot/__init__.py":{"size":105,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658878927267,"word_count":13,"hashes":{"dmx-driver/lib/microdot/__init__.py":"ec3f822838066330dbdfa6a24ca7fd3e059ef19aabaccc322e70ef6a7da55aac"}},"dmx-driver/lib/microdot/helpers.py":{"size":232,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658879255364,"word_count":26,"hashes":{"dmx-driver/lib/microdot/helpers.py":"6b2e71d9786d2c149801eb943b8b873d07601bf9ae1bf9c413114941b32163c2"}},"dmx-driver/lib/microdot/microdot.py":{"size":53202,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658879562246,"word_count":5131,"hashes":{"dmx-driver/lib/microdot/microdot.py":"4402b84a5214da121fad794ab9bcb59a355d4c98647d3a53953cf3bc78291688"}},"dmx-driver/lib/microdot/utemplate.py":{"size":2543,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658879958078,"word_count":233,"hashes":{"dmx-driver/lib/microdot/utemplate.py":"d248495f0d973d0a0c0d0121b837e9ffLine truncated {".claude/CLAUDE.md":{"size":226,"mtime_ns":1793707532996234423,"indexed_at_ns":1793707658543205519,"word_count":29,"hashes":{".claude/CLAUDE.md":"dd502cd6ce0bbff5d4c021e94be6aa49afe1f99dd85901e0201831908630e94b"}},"CLAUDE.md":{"size":1582,"mtime_ns":1794560833170090840,"indexed_at_ns":1794609720117981763,"word_count":247},"CMakeLists.txt":{"size":111,"mtime_ns":1793622279097091871,"indexed_at_ns":1793707658543849029,"word_count":4,"hashes":{"CMakeLists.txt":"837822e28c9599ef04852743d1f103d636d744f2e9219a407744dd5cd636cc9b"}},"README.md":{"size":3583,"mtime_ns":1794783157300129617,"indexed_at_ns":1794783233679457247,"word_count":498},"db/audio_run.json":{"size":103,"mtime_ns":1792558116811211805,"indexed_at_ns":1793707658868880485,"word_count":10,"hashes":{"db/audio_run.json":"22b6ce7327ac83a083fd0ab93d338685ce8a4bf2eba2122f93dbe7b7b36ffe8d"}},"db/bridges.json":{"size":279,"mtime_ns":1792035647171829311,"indexed_at_ns":1793707658874810261,"word_count":26,"hashes":{"db/bridges.json":"3cacd14c72fe5d4a0d316f8b1189134686de036427c8c97d26827638f5c0a913"}},"db/device.json":{"size":2,"mtime_ns":1793777185742747874,"indexed_at_ns":1793777223754642632,"word_count":1,"hashes":{"db/device.json":"d37387d627ac3f5cd9a139daf3b0490a820f32cc88fdcf09a89f7ed5f2879437"}},"db/group.json":{"size":407,"mtime_ns":1793784073189169768,"indexed_at_ns":1793784223737930610,"word_count":48,"hashes":{"db/group.json":"5ac5e81478218af9a7905607a853f0e58b3b8ed6218fb43406366214d81fdf1f"}},"db/output.json":{"size":2,"mtime_ns":1793777185742792981,"indexed_at_ns":1793777223755186745,"word_count":1,"hashes":{"db/output.json":"41b7170a77edddababaeeacfbfcac81d52aed8cd7ab91326a1b2587168f24fea"}},"db/palette.json":{"size":95,"mtime_ns":1793777185742725183,"indexed_at_ns":1793777223755421480,"word_count":9,"hashes":{"db/palette.json":"51fc59a676fa15de8a94dad96942d2ba1837f08bcfbe5158248a3a26e7b8c867"}},"db/pattern.json":{"size":3990,"mtime_ns":1794852754898578747,"indexed_at_ns":1794852782207946806,"word_count":484,"hashes":{"db/pattern.json":"77bfca27b86c95fc42394ab0a1cc3bd626bb8cbf902086aa9daba6a045715d41"}},"db/preset.json":{"size":1547,"mtime_ns":1794192230145924224,"indexed_at_ns":1794192255641306971,"word_count":2,"hashes":{"db/preset.json":"b787780a60fb5de5ab1ae5e95e28c56209c07e76167bf6f7d54a23098de393f1"}},"db/profile.json":{"size":103,"mtime_ns":1793777185742698915,"indexed_at_ns":1793777223756285988,"word_count":13,"hashes":{"db/profile.json":"0c884cad9c2d30151e71adcf2c73c922accc2adc1ec7e3a5f2557f65348ab16d"}},"db/scene.json":{"size":2,"mtime_ns":1793777185743064106,"indexed_at_ns":1793777223756521395,"word_count":1,"hashes":{"db/scene.json":"3fa068cb49be44a2bca2cc32c266bc67dd33f09a90ca72ff5b7e744f2d6372e4"}},"db/sequence.json":{"size":2,"mtime_ns":1793777185742815256,"indexed_at_ns":1793777223756746197,"word_count":1,"hashes":{"db/sequence.json":"9fe59214947c107acb45669e2f107b00be6b6c6184e12ca597f7fc2b661e341a"}},"db/zone.json":{"size":280,"mtime_ns":1793783703894998088,"indexed_at_ns":1793784223739991976,"word_count":35,"hashes":{"db/zone.json":"cdd502ffa90331dbfa71842351796f0b9317de1d744f644233c2e5537089ff7b"}},"dmx-driver/README.md":{"size":2911,"mtime_ns":1792558116808211795,"indexed_at_ns":1793707658544334791,"word_count":395,"hashes":{"dmx-driver/README.md":"0c5ffe2dffbe102a54487430d3946fadbc65335f06b0f6c79f3c16b82f56ab0b"}},"dmx-driver/dev.py":{"size":2240,"mtime_ns":1792558116805211784,"indexed_at_ns":1793707658877667616,"word_count":194,"hashes":{"dmx-driver/dev.py":"284307111b0bcc67200ad58aa46b1a9f4f909b1f565a4867b3ef4bf4bbaec012"}},"dmx-driver/lib/artnet.py":{"size":10536,"mtime_ns":1792558116801446799,"indexed_at_ns":1793707658877956591,"word_count":1079,"hashes":{"dmx-driver/lib/artnet.py":"3aac26e5fc30ac42944e6c70446b999b5d527d088aa82ff47287f89ae6c1fac5"}},"dmx-driver/lib/dmx.py":{"size":930,"mtime_ns":1792558116819211832,"indexed_at_ns":1793707658878446873,"word_count":106,"hashes":{"dmx-driver/lib/dmx.py":"6c9934df04c6685364a31ddf7efc87d2502ce582d7a8f1c3ddcd42483e99c67e"}},"dmx-driver/lib/microdot/__init__.py":{"size":105,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658878927267,"word_count":13,"hashes":{"dmx-driver/lib/microdot/__init__.py":"ec3f822838066330dbdfa6a24ca7fd3e059ef19aabaccc322e70ef6a7da55aac"}},"dmx-driver/lib/microdot/helpers.py":{"size":232,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658879255364,"word_count":26,"hashes":{"dmx-driver/lib/microdot/helpers.py":"6b2e71d9786d2c149801eb943b8b873d07601bf9ae1bf9c413114941b32163c2"}},"dmx-driver/lib/microdot/microdot.py":{"size":53202,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658879562246,"word_count":5131,"hashes":{"dmx-driver/lib/microdot/microdot.py":"4402b84a5214da121fad794ab9bcb59a355d4c98647d3a53953cf3bc78291688"}},"dmx-driver/lib/microdot/utemplate.py":{"size":2543,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658879958078,"word_count":233,"hashes":{"dmx-driver/lib/microdot/utemplate.py":"d248495f0d973d0a0c0d0121b837e9ffLine truncated
+4 -4
View File
@@ -94,12 +94,12 @@
</div> </div>
<div id="legend"></div> <div id="legend"></div>
</div> </div>
<div id="stats">4731 nodes &middot; 13767 edges &middot; 216 communities</div> <div id="stats">4940 nodes &middot; 14529 edges &middot; 214 communities</div>
</div> </div>
<script> <script>
const RAW_NODES = [{"id": "led_driver_main_ctrl_msg_keyname", "label": "KeyName", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.5, "font": {"size": 0, "color": "#ffffff"}, "title": "KeyName", "community": 26, "community_name": "KeyName", "source_file": "led-driver/main/ctrl_msg.cpp", "file_type": "code", "degree": 4}, {"id": "led_driver_main_ctrl_msg_rd", "label": "Rd", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 11.3, "font": {"size": 0, "color": "#ffffff"}, "title": "Rd", "community": 32, "community_name": "cJSON_CreateObject", "source_file": "led-driver/main/ctrl_msg.cpp", "file_type": "code", "degree": 11}, {"id": "sim_driver_src_nvs_sim_type", "label": "Type", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 11.2, "font": {"size": 0, "color": "#ffffff"}, "title": "Type", "community": 60, "community_name": "nvs_sim.cpp", "source_file": "sim-driver/src/nvs_sim.cpp", "file_type": "code", "degree": 10}, {"id": "sim_driver_src_nvs_sim_value", "label": "Value", "color": {"background": "#4E79A7", "border": "#4E79A7", "highlight": {"background": "#ffffff", "border": "#4E79A7"}}, "size": 10.8, "font": {"size": 0, "color": "#ffffff"}, "title": "Value", "community": 60, "community_name": "nvs_sim.cpp", "source_file": "sim-driver/src/nvs_sim.cpp", "file_type": "code", "degree": 7}, {"id": "led_driver_main_espnow_link_asm", "label": "Asm", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.5, "font": {"size": 0, "color": "#ffffff"}, "title": "Asm", "community": 77, "community_name": "espnow_link.cpp", "source_file": "led-driver/main/espnow_link.cpp", "file_type": "code", "degree": 13}, {"id": "led_driver_main_espnow_link_done", "label": "Done", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "Done", "community": 77, "community_name": "espnow_link.cpp", "source_file": "led-driver/main/espnow_link.cpp", "file_type": "code", "degree": 3}, {"id": "led_driver_main_espnow_link_frame", "label": "Frame", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.6, "font": {"size": 0, "color": "#ffffff"}, "title": "Frame", "community": 77, "community_name": "espnow_link.cpp", "source_file": "led-driver/main/espnow_link.cpp", "file_type": "code", "degree": 5}, {"id": "led_driver_main_ws2812_ws2812", "label": "WS2812", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 13.0, "font": {"size": 0, "color": "#ffffff"}, "title": "WS2812", "community": 41, "community_name": "WS2812", "source_file": "led-driver/main/ws2812.h", "file_type": "code", "degree": 26}, {"id": "led_driver_main_web_api_call_t", "label": "api_call_t", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 10.7, "font": {"size": 0, "color": "#ffffff"}, "title": "api_call_t", "community": 89, "community_name": "api_call_t", "source_file": "led-driver/main/web.cpp", "file_type": "code", "degree": 6}, {"id": "desktop_third_party_cjson_cjson_cjson", "label": "cJSON", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 40.0, "font": {"size": 12, "color": "#ffffff"}, "title": "cJSON", "community": 23, "community_name": "cJSON_IsString", "source_file": "desktop/third_party/cjson/cJSON.h", "file_type": "code", "degree": 257}, {"id": "desktop_third_party_cjson_cjson_cjson_hooks", "label": "cJSON_Hooks", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "cJSON_Hooks", "community": 126, "community_name": "app_main", "source_file": "desktop/third_party/cjson/cJSON.h", "file_type": "code", "degree": 2}, {"id": "desktop_third_party_http_parser_http_parser_flags", "label": "flags", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 11.1, "font": {"size": 0, "color": "#ffffff"}, "title": "flags", "community": 45, "community_name": "http_parser.h", "source_file": "desktop/third_party/http_parser/http_parser.h", "file_type": "code", "degree": 9}, {"id": "desktop_third_party_http_parser_http_parser_http_errno", "label": "http_errno", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "http_errno", "community": 45, "Line truncated const RAW_NODES = [{"id": "led_driver_main_espnow_link_asm", "label": "Asm", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 11.5, "font": {"size": 0, "color": "#ffffff"}, "title": "Asm", "community": 108, "community_name": "Asm", "source_file": "led-driver/main/espnow_link.cpp", "file_type": "code", "degree": 13}, {"id": "sim_driver_src_nvs_sim_type", "label": "Type", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 11.1, "font": {"size": 0, "color": "#ffffff"}, "title": "Type", "community": 128, "community_name": "Type", "source_file": "sim-driver/src/nvs_sim.cpp", "file_type": "code", "degree": 10}, {"id": "sim_driver_src_nvs_sim_value", "label": "Value", "color": {"background": "#9C755F", "border": "#9C755F", "highlight": {"background": "#ffffff", "border": "#9C755F"}}, "size": 10.8, "font": {"size": 0, "color": "#ffffff"}, "title": "Value", "community": 128, "community_name": "Type", "source_file": "sim-driver/src/nvs_sim.cpp", "file_type": "code", "degree": 7}, {"id": "led_driver_main_ctrl_msg_rd", "label": "Rd", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 11.2, "font": {"size": 0, "color": "#ffffff"}, "title": "Rd", "community": 26, "community_name": "cJSON_CreateObject", "source_file": "led-driver/main/ctrl_msg.cpp", "file_type": "code", "degree": 11}, {"id": "led_driver_main_espnow_link_done", "label": "Done", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 10.3, "font": {"size": 0, "color": "#ffffff"}, "title": "Done", "community": 52, "community_name": "espnow_link.cpp", "source_file": "led-driver/main/espnow_link.cpp", "file_type": "code", "degree": 3}, {"id": "led_driver_main_espnow_link_frame", "label": "Frame", "color": {"background": "#E15759", "border": "#E15759", "highlight": {"background": "#ffffff", "border": "#E15759"}}, "size": 10.6, "font": {"size": 0, "color": "#ffffff"}, "title": "Frame", "community": 52, "community_name": "espnow_link.cpp", "source_file": "led-driver/main/espnow_link.cpp", "file_type": "code", "degree": 5}, {"id": "led_driver_main_ctrl_msg_keyname", "label": "KeyName", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 10.4, "font": {"size": 0, "color": "#ffffff"}, "title": "KeyName", "community": 96, "community_name": "web.cpp", "source_file": "led-driver/main/ctrl_msg.cpp", "file_type": "code", "degree": 4}, {"id": "led_driver_main_ws2812_ws2812", "label": "WS2812", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 12.9, "font": {"size": 0, "color": "#ffffff"}, "title": "WS2812", "community": 41, "community_name": "WS2812", "source_file": "led-driver/main/ws2812.h", "file_type": "code", "degree": 26}, {"id": "led_driver_main_web_api_call_t", "label": "api_call_t", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.7, "font": {"size": 0, "color": "#ffffff"}, "title": "api_call_t", "community": 137, "community_name": "api_call_t", "source_file": "led-driver/main/web.cpp", "file_type": "code", "degree": 6}, {"id": "desktop_third_party_cjson_cjson_cjson", "label": "cJSON", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 40.0, "font": {"size": 12, "color": "#ffffff"}, "title": "cJSON", "community": 5, "community_name": "cJSON", "source_file": "desktop/third_party/cjson/cJSON.h", "file_type": "code", "degree": 268}, {"id": "desktop_third_party_cjson_cjson_cjson_hooks", "label": "cJSON_Hooks", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "cJSON_Hooks", "community": 21, "community_name": "freertos.c", "source_file": "desktop/third_party/cjson/cJSON.h", "file_type": "code", "degree": 2}, {"id": "desktop_third_party_http_parser_http_parser_flags", "label": "flags", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 11.0, "font": {"size": 0, "color": "#ffffff"}, "title": "flags", "community": 45, "community_name": "http_parser.h", "source_file": "desktop/third_party/http_parser/http_parser.h", "file_type": "code", "degree": 9}, {"id": "desktop_third_party_http_parser_http_parser_http_errno", "label": "http_errno", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 10.2, "font": {"size": 0, "color": "#ffffff"}, "title": "http_errno", "community": 45, "community_name": "http_parser.hLine truncated
const RAW_EDGES = [{"from": "led_driver_main_ctrl_msg_keyname", "to": "led_driver_main_ctrl_msg_keyname_shortk", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_keyname", "to": "led_driver_main_ctrl_msg_keyname_longk", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_long_name", "to": "led_driver_main_ctrl_msg_keyname", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_cpp_led_driver_main_ctrl_msg", "to": "led_driver_main_ctrl_msg_keyname", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_rd", "to": "led_driver_main_ctrl_msg_rd_p", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_rd", "to": "led_driver_main_ctrl_msg_rd_n", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_rd", "to": "led_driver_main_ctrl_msg_rd_off", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_rd", "to": "led_driver_main_ctrl_msg_rd_ok", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_decode_default", "to": "led_driver_main_ctrl_msg_rd", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_decode_presets", "to": "led_driver_main_ctrl_msg_rd", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_decode_select", "to": "led_driver_main_ctrl_msg_rd", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_cpp_led_driver_main_ctrl_msg", "to": "led_driver_main_ctrl_msg_rd", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_rd", "to": "led_driver_main_ctrl_msg_rd_bytes", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_rd", "to": "led_driver_main_ctrl_msg_rd_u8", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_ctrl_msg_rd", "to": "led_driver_main_ctrl_msg_rd_u16", "label": "method", "title": "method [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_value", "to": "sim_driver_src_nvs_sim_type", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_get_bytes", "to": "sim_driver_src_nvs_sim_type", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_get_num", "to": "sim_driver_src_nvs_sim_type", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_type", "to": "sim_driver_src_nvs_sim_type_t_blob", "label": "case_of", "title": "case_of [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_type", "to": "sim_driver_src_nvs_sim_type_t_i32", "label": "case_of", "title": "case_of [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_type", "to": "sim_driver_src_nvs_sim_type_t_i64", "label": "case_of", "title": "case_of [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_type", "to": "sim_driver_src_nvs_sim_type_t_str", "label": "case_of", "title": "case_of [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_type", "to": "sim_driver_sLine truncated const RAW_EDGES = [{"from": "led_driver_main_espnow_link_asm", "to": "led_driver_main_espnow_link_asm_used", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_espnow_link_asm", "to": "led_driver_main_espnow_link_asm_mac", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_espnow_link_asm", "to": "led_driver_main_espnow_link_asm_seq", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_espnow_link_asm", "to": "led_driver_main_espnow_link_asm_cnt", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_espnow_link_asm", "to": "led_driver_main_espnow_link_asm_flags", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_espnow_link_asm", "to": "led_driver_main_espnow_link_asm_ver", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_espnow_link_asm", "to": "led_driver_main_espnow_link_asm_mask", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_espnow_link_asm", "to": "led_driver_main_espnow_link_asm_lens", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_espnow_link_asm", "to": "led_driver_main_espnow_link_asm_buf", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_espnow_link_asm", "to": "led_driver_main_espnow_link_asm_last_us", "label": "defines", "title": "defines [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_espnow_link_asm_free", "to": "led_driver_main_espnow_link_asm", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_espnow_link_asm_find", "to": "led_driver_main_espnow_link_asm", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "led_driver_main_espnow_link_cpp_led_driver_main_espnow_link", "to": "led_driver_main_espnow_link_asm", "label": "contains", "title": "contains [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_value", "to": "sim_driver_src_nvs_sim_type", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_get_bytes", "to": "sim_driver_src_nvs_sim_type", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_get_num", "to": "sim_driver_src_nvs_sim_type", "label": "references", "title": "references [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_type", "to": "sim_driver_src_nvs_sim_type_t_blob", "label": "case_of", "title": "case_of [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_type", "to": "sim_driver_src_nvs_sim_type_t_i32", "label": "case_of", "title": "case_of [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_type", "to": "sim_driver_src_nvs_sim_type_t_i64", "label": "case_of", "title": "case_of [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_type", "to": "sim_driver_src_nvs_sim_type_t_str", "label": "case_of", "title": "case_of [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_type", "to": "sim_driver_src_nvs_sim_type_t_u32", "label": "case_of", "title": "case_of [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nvs_sim_type", "to": "sim_driver_src_nvs_sim_type_t_u8", "label": "case_of", "title": "case_of [EXTRACTED]", "dashes": false, "width": 2, "color": {"opacity": 0.7}, "confidence": "EXTRACTED"}, {"from": "sim_driver_src_nLine truncated
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "IdfDevice", "count": 33}, {"cid": 1, "color": "#F28E2B", "label": "htmx Library", "count": 104}, {"cid": 2, "color": "#E15759", "label": "Pin", "count": 11}, {"cid": 3, "color": "#76B7B2", "label": "Browser Tests &amp; Mockup Images", "count": 70}, {"cid": 4, "color": "#59A14F", "label": "Audio UI (JS)", "count": 59}, {"cid": 5, "color": "#EDC948", "label": "cJSON", "count": 76}, {"cid": 6, "color": "#B07AA1", "label": "create_app", "count": 24}, {"cid": 7, "color": "#FF9DA7", "label": "led-tool Device CLI", "count": 70}, {"cid": 8, "color": "#9C755F", "label": "ab", "count": 102}, {"cid": 9, "color": "#BAB0AC", "label": "Compiler", "count": 42}, {"cid": 10, "color": "#4E79A7", "label": "Spec: Pi Animation Engine", "count": 47}, {"cid": 11, "color": "#F28E2B", "label": "seq_timeline.js", "count": 62}, {"cid": 12, "color": "#E15759", "label": "Presets UI (JS)", "count": 47}, {"cid": 13, "color": "#76B7B2", "label": "Zones UI (JS)", "count": 46}, {"cid": 14, "color": "#59A14F", "label": "sim_rig.c", "count": 44}, {"cid": 15, "color": "#EDC948", "label": "new_id", "count": 32}, {"cid": 16, "color": "#B07AA1", "label": "Sequences UI (JS)", "count": 41}, {"cid": 17, "color": "#FF9DA7", "label": "SerialTransport", "count": 27}, {"cid": 18, "color": "#9C755F", "label": "esp_err.h", "count": 60}, {"cid": 19, "color": "#BAB0AC", "label": "led_strip Component Docs", "count": 39}, {"cid": 20, "color": "#4E79A7", "label": "Art-Net Output", "count": 39}, {"cid": 21, "color": "#F28E2B", "label": "freertos.c", "count": 76}, {"cid": 22, "color": "#E15759", "label": "bridge.c", "count": 33}, {"cid": 23, "color": "#76B7B2", "label": "cJSON_IsString", "count": 111}, {"cid": 24, "color": "#59A14F", "label": "cJSON_Delete", "count": 49}, {"cid": 25, "color": "#EDC948", "label": "Microdot", "count": 34}, {"cid": 26, "color": "#B07AA1", "label": "KeyName", "count": 4}, {"cid": 27, "color": "#FF9DA7", "label": "seqplay.c", "count": 68}, {"cid": 28, "color": "#9C755F", "label": "Devices UI (JS)", "count": 36}, {"cid": 29, "color": "#BAB0AC", "label": "binary_envelope.py", "count": 30}, {"cid": 30, "color": "#4E79A7", "label": "Colour Picker Mockups", "count": 29}, {"cid": 31, "color": "#F28E2B", "label": "PyboardCommand", "count": 26}, {"cid": 32, "color": "#E15759", "label": "cJSON_CreateObject", "count": 99}, {"cid": 33, "color": "#76B7B2", "label": "httpd_parse.c", "count": 70}, {"cid": 34, "color": "#59A14F", "label": "test_sequences.py", "count": 29}, {"cid": 35, "color": "#EDC948", "label": "cJSON_Delete", "count": 37}, {"cid": 36, "color": "#B07AA1", "label": "API Docs: Outputs &amp; Audio", "count": 23}, {"cid": 37, "color": "#FF9DA7", "label": "stdio", "count": 28}, {"cid": 38, "color": "#9C755F", "label": "socket", "count": 16}, {"cid": 39, "color": "#BAB0AC", "label": "Beat Detection DSP (C)", "count": 21}, {"cid": 40, "color": "#4E79A7", "label": "xSemaphoreGive", "count": 68}, {"cid": 41, "color": "#F28E2B", "label": "WS2812", "count": 45}, {"cid": 42, "color": "#E15759", "label": "run_all", "count": 21}, {"cid": 43, "color": "#76B7B2", "label": "usb_cfg.cpp", "count": 38}, {"cid": 44, "color": "#59A14F", "label": "httpd_handle_t", "count": 31}, {"cid": 45, "color": "#EDC948", "label": "http_parser.h", "count": 45}, {"cid": 46, "color": "#B07AA1", "label": "bench.c", "count": 22}, {"cid": 47, "color": "#FF9DA7", "label": "USB Latency Tools", "count": 29}, {"cid": 48, "color": "#9C755F", "label": "Colour Picker JS", "count": 23}, {"cid": 49, "color": "#BAB0AC", "label": "Chromium Colour Picker JS", "count": 23}, {"cid": 50, "color": "#4E79A7", "label": "esp_glue.c", "count": 24}, {"cid": 51, "color": "#F28E2B", "label": "API Tests: Devices", "count": 27}, {"cid": 52, "color": "#E15759", "label": "sys", "count": 36}, {"cid": 53, "color": "#76B7B2", "label": "mpremote Transport", "count": 22}, {"cid": 54, "color": "#59A14F", "label": "httpd_sess.c", "count": 30}, {"cid": 55, "color": "#EDC948", "label": "sim_glue.c", "count": 20}, {"cid": 56, "color": "#B07AA1", "label": "test_outputs.py", "count": 10}, {"cid": 57, "color": "#FF9DA7", "label": "httpd_config", "count": 34}, {"cid": 58, "color": "#9C755F", "label": "gallery.js", "count": 17}, {"cid": 59, "color": "#BAB0AC", "label": "mic_alsa.c", "count": 26}, {"cid": 60, "color": "#4E79A7", "label": "nvs_sim.cpp", "count": 39}, {"cid": 61, "color": "#F28E2B", "label": "API Test Fixtures &amp; Audio", "count": 15}, {"cid": 62, "color": "#E15759", "label": "Microdot Request (dmx)", "count": 17}, {"cid": 63, "color": "#76B7B2", "label": "Help: Zones &amp; Palette", "count": 20}, {"cid": 64, "color": "#59A14F", "label": "ddp_test.py", "count": 42}, {"cid": 65, "color": "#EDC948", "label": "ESPNow", "count": 28}, {"cid": 66, "color": "#B07AA1", "label": "httpd_handle_t", "count": 22}, {"cid": 67, "color": "#FF9DA7", "label": "status_get_handler", "count": 18}, {"cid": 68, "color": "#9C755F", "label": "httpd_uri.c", "counLine truncated const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "IdfDevice", "count": 22}, {"cid": 1, "color": "#F28E2B", "label": "htmx Library", "count": 104}, {"cid": 2, "color": "#E15759", "label": "res_device.c", "count": 46}, {"cid": 3, "color": "#76B7B2", "label": "Browser Tests &amp; Mockup Images", "count": 70}, {"cid": 4, "color": "#59A14F", "label": "Audio UI (JS)", "count": 59}, {"cid": 5, "color": "#EDC948", "label": "cJSON", "count": 98}, {"cid": 6, "color": "#B07AA1", "label": "controller", "count": 40}, {"cid": 7, "color": "#FF9DA7", "label": "led-tool Device CLI", "count": 83}, {"cid": 8, "color": "#9C755F", "label": "ab", "count": 101}, {"cid": 9, "color": "#BAB0AC", "label": "Compiler", "count": 42}, {"cid": 10, "color": "#4E79A7", "label": "Spec: Pi Animation Engine", "count": 47}, {"cid": 11, "color": "#F28E2B", "label": "seq_timeline.js", "count": 74}, {"cid": 12, "color": "#E15759", "label": "Presets UI (JS)", "count": 47}, {"cid": 13, "color": "#76B7B2", "label": "Zones UI (JS)", "count": 46}, {"cid": 14, "color": "#59A14F", "label": "cJSON_Delete", "count": 49}, {"cid": 15, "color": "#EDC948", "label": "unique", "count": 32}, {"cid": 16, "color": "#B07AA1", "label": "Sequences UI (JS)", "count": 40}, {"cid": 17, "color": "#FF9DA7", "label": "PyboardCommand", "count": 55}, {"cid": 18, "color": "#9C755F", "label": "esp_err.h", "count": 137}, {"cid": 19, "color": "#BAB0AC", "label": "led_strip Component Docs", "count": 39}, {"cid": 20, "color": "#4E79A7", "label": "Art-Net Output", "count": 36}, {"cid": 21, "color": "#F28E2B", "label": "freertos.c", "count": 73}, {"cid": 22, "color": "#E15759", "label": "BridgeSim", "count": 59}, {"cid": 23, "color": "#76B7B2", "label": "cJSON_IsString", "count": 81}, {"cid": 24, "color": "#59A14F", "label": "test_presets.py", "count": 15}, {"cid": 25, "color": "#EDC948", "label": "Microdot", "count": 34}, {"cid": 26, "color": "#B07AA1", "label": "cJSON_CreateObject", "count": 80}, {"cid": 27, "color": "#FF9DA7", "label": "bridge_sim.py", "count": 34}, {"cid": 28, "color": "#9C755F", "label": "Devices UI (JS)", "count": 36}, {"cid": 29, "color": "#BAB0AC", "label": "binary_envelope.py", "count": 30}, {"cid": 30, "color": "#4E79A7", "label": "Colour Picker Mockups", "count": 29}, {"cid": 31, "color": "#F28E2B", "label": "machine.py", "count": 11}, {"cid": 32, "color": "#E15759", "label": "httpd_sess.c", "count": 62}, {"cid": 33, "color": "#76B7B2", "label": "httpd_parse.c", "count": 70}, {"cid": 34, "color": "#59A14F", "label": "test_sequences.py", "count": 29}, {"cid": 35, "color": "#EDC948", "label": "esp_timer_create", "count": 32}, {"cid": 36, "color": "#B07AA1", "label": "API Docs: Outputs &amp; Audio", "count": 23}, {"cid": 37, "color": "#FF9DA7", "label": "outputs.c", "count": 21}, {"cid": 38, "color": "#9C755F", "label": "socket", "count": 25}, {"cid": 39, "color": "#BAB0AC", "label": "Beat Detection DSP (C)", "count": 21}, {"cid": 40, "color": "#4E79A7", "label": "xSemaphoreGive", "count": 106}, {"cid": 41, "color": "#F28E2B", "label": "WS2812", "count": 45}, {"cid": 42, "color": "#E15759", "label": "run_all", "count": 21}, {"cid": 43, "color": "#76B7B2", "label": "sock_db", "count": 32}, {"cid": 44, "color": "#59A14F", "label": "httpd_handle_t", "count": 32}, {"cid": 45, "color": "#EDC948", "label": "http_parser.h", "count": 45}, {"cid": 46, "color": "#B07AA1", "label": "beat_start", "count": 27}, {"cid": 47, "color": "#FF9DA7", "label": "USB Latency Tools", "count": 33}, {"cid": 48, "color": "#9C755F", "label": "Colour Picker JS", "count": 23}, {"cid": 49, "color": "#BAB0AC", "label": "Chromium Colour Picker JS", "count": 23}, {"cid": 50, "color": "#4E79A7", "label": "steps", "count": 20}, {"cid": 51, "color": "#F28E2B", "label": "API Tests: Devices", "count": 27}, {"cid": 52, "color": "#E15759", "label": "espnow_link.cpp", "count": 34}, {"cid": 53, "color": "#76B7B2", "label": "mpremote Transport", "count": 22}, {"cid": 54, "color": "#59A14F", "label": "patterns_start", "count": 10}, {"cid": 55, "color": "#EDC948", "label": "httpd_ws_frame", "count": 8}, {"cid": 56, "color": "#B07AA1", "label": "test_outputs.py", "count": 10}, {"cid": 57, "color": "#FF9DA7", "label": "httpd_config", "count": 34}, {"cid": 58, "color": "#9C755F", "label": "gallery.js", "count": 30}, {"cid": 59, "color": "#BAB0AC", "label": "mic_alsa.c", "count": 32}, {"cid": 60, "color": "#4E79A7", "label": "app_main", "count": 9}, {"cid": 61, "color": "#F28E2B", "label": "API Test Fixtures &amp; Audio", "count": 15}, {"cid": 62, "color": "#E15759", "label": "Microdot Request (dmx)", "count": 17}, {"cid": 63, "color": "#76B7B2", "label": "Help: Zones &amp; Palette", "count": 20}, {"cid": 64, "color": "#59A14F", "label": "ddp_test.py", "count": 42}, {"cid": 65, "color": "#EDC948", "label": "ESPNow", "count": 28}, {"cid": 66, "color": "#B07AA1", "label": "bridge_main.c", "count": 77}, {"cid": 67, "color": "#FF9DA7", "label": "auth.js", "count": 24}, {"cid": 68, "color": "#9C755F", "labLine truncated
// HTML-escape helper — prevents XSS when injecting graph data into innerHTML // HTML-escape helper — prevents XSS when injecting graph data into innerHTML
function esc(s) { function esc(s) {
+1 -1
View File
@@ -1 +1 @@
{"directed":false,"multigraph":false,"graph":{"hyperedges":[{"id":"audio_page_endpoints","label":"Audio page live endpoints","nodes":["web_audio_status","web_audio_beats","web_audio_audio_wav","web_audio_time","web_audio_tap_ep"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"web/audio.html"},{"id":"beat_latency_measurement","label":"Beat latency measurement methods","nodes":["docs_api_bench_endpoints","docs_bench_test_usb_latency","docs_bench_test_logic_analyzer","docs_bench_test_beat_lead"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/BENCH_TEST.md"},{"id":"brightness_combination","label":"Combined brightness factors","nodes":["docs_api_combined_brightness","docs_api_settings","docs_api_groups","docs_api_devices","docs_api_zones"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/API.md"},{"id":"color_picker_feature_set","label":"Color picker feature set","nodes":["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"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/color-picker-demo.png"},{"id":"docs_help_edit_mode_management","label":"Edit-mode-only management features","nodes":["docs_help_edit_mode","docs_help_zones_modal","docs_help_send_presets","docs_help_patterns_dialog","docs_help_colour_palette","docs_help_presets_list"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/help.pdf"},{"id":"docs_help_preset_editor_actions","label":"Preset editor actions (Try, Default, Save & Send, Remove from zone)","nodes":["docs_help_try_action","docs_help_default_preset","docs_help_save_and_send","docs_help_remove_from_zone"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/help.pdf"},{"id":"docs_images_help_mobile_menu_header_actions","label":"Header actions aggregated in mobile Menu","nodes":["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"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/images/help/mobile-menu.svg"},{"id":"docs_mockups_device_modal_flow","label":"Device/Group Modal Flow","nodes":["docs_mockups_device_management_showadddevicemodal","docs_mockups_device_management_showaddgroupmodal","docs_mockups_device_management_closemodal","docs_mockups_device_management_savedevice"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/device-management.html"},{"id":"docs_mockups_images_index_ui_mockup_set","label":"LED Driver UI Mockup Set","nodes":["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"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/index.png"},{"id":"docs_mockups_images_pattern_selector_led_patterns","label":"Selectable LED Patterns","nodes":["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"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/pattern-selector.png"},{"id":"docs_mockups_preset_schema","label":"Preset/pattern configuration schema (pattern, colors, delay, step increment, N1-N8)","nodes":["docs_mockups_presets_led_patterns","docs_mockups_presets_delay","docs_mockups_presets_step_increment","docs_mockups_presets_n_parameters","docs_mockups_presets_step_offset"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/presets.html"},{"id":"docs_mockups_settings_sections","label":"Device settings sections","nodes":["docs_mockups_settings_basic_settings","docs_mockups_settings_pattern_settings","docs_mockups_settings_advanced_settings","docs_mockups_settings_network_settings"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/settings.html"},{"id":"docs_mockups_ui_mockup_suite","label":"LED Driver UI Mockup Suite","nodes":["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"],"relation":"foLine truncated {"directed":false,"multigraph":false,"graph":{"hyperedges":[{"id":"audio_page_endpoints","label":"Audio page live endpoints","nodes":["web_audio_status","web_audio_beats","web_audio_audio_wav","web_audio_time","web_audio_tap_ep"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"web/audio.html"},{"id":"beat_latency_measurement","label":"Beat latency measurement methods","nodes":["docs_api_bench_endpoints","docs_bench_test_usb_latency","docs_bench_test_logic_analyzer","docs_bench_test_beat_lead"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/BENCH_TEST.md"},{"id":"brightness_combination","label":"Combined brightness factors","nodes":["docs_api_combined_brightness","docs_api_settings","docs_api_groups","docs_api_devices","docs_api_zones"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/API.md"},{"id":"color_picker_feature_set","label":"Color picker feature set","nodes":["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"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/color-picker-demo.png"},{"id":"docs_help_edit_mode_management","label":"Edit-mode-only management features","nodes":["docs_help_edit_mode","docs_help_zones_modal","docs_help_send_presets","docs_help_patterns_dialog","docs_help_colour_palette","docs_help_presets_list"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/help.pdf"},{"id":"docs_help_preset_editor_actions","label":"Preset editor actions (Try, Default, Save & Send, Remove from zone)","nodes":["docs_help_try_action","docs_help_default_preset","docs_help_save_and_send","docs_help_remove_from_zone"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/help.pdf"},{"id":"docs_images_help_mobile_menu_header_actions","label":"Header actions aggregated in mobile Menu","nodes":["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"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/images/help/mobile-menu.svg"},{"id":"docs_mockups_device_modal_flow","label":"Device/Group Modal Flow","nodes":["docs_mockups_device_management_showadddevicemodal","docs_mockups_device_management_showaddgroupmodal","docs_mockups_device_management_closemodal","docs_mockups_device_management_savedevice"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/device-management.html"},{"id":"docs_mockups_images_index_ui_mockup_set","label":"LED Driver UI Mockup Set","nodes":["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"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/index.png"},{"id":"docs_mockups_images_pattern_selector_led_patterns","label":"Selectable LED Patterns","nodes":["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"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/pattern-selector.png"},{"id":"docs_mockups_preset_schema","label":"Preset/pattern configuration schema (pattern, colors, delay, step increment, N1-N8)","nodes":["docs_mockups_presets_led_patterns","docs_mockups_presets_delay","docs_mockups_presets_step_increment","docs_mockups_presets_n_parameters","docs_mockups_presets_step_offset"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/presets.html"},{"id":"docs_mockups_settings_sections","label":"Device settings sections","nodes":["docs_mockups_settings_basic_settings","docs_mockups_settings_pattern_settings","docs_mockups_settings_advanced_settings","docs_mockups_settings_network_settings"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/settings.html"},{"id":"docs_mockups_ui_mockup_suite","label":"LED Driver UI Mockup Suite","nodes":["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"],"relation":"foLine truncated
+147 -111
View File
@@ -36,9 +36,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"db/pattern.json": { "db/pattern.json": {
"mtime": 1794267054.1120102, "mtime": 1794852754.8985786,
"seen": 1794273476.5660813, "seen": 1794852789.4857569,
"ast_hash": "8772d2cb748c7847501cbae086976ba0", "ast_hash": "1cd8b0fe4a0915bc9dbd43fd6d67952d",
"semantic_hash": "" "semantic_hash": ""
}, },
"db/preset.json": { "db/preset.json": {
@@ -378,9 +378,9 @@
"semantic_hash": "a9b9f6ef17ad19caf334f2a969a62a06" "semantic_hash": "a9b9f6ef17ad19caf334f2a969a62a06"
}, },
"main/api.c": { "main/api.c": {
"mtime": 1794732634.6442797, "mtime": 1794828673.5250728,
"seen": 1794732791.144253, "seen": 1794831063.7108214,
"ast_hash": "63fc6141fdb499cb23b22e04fa40b023", "ast_hash": "c78fb56af8d37618cc29caabbdfa38e7",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/api.h": { "main/api.h": {
@@ -396,10 +396,10 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"main/audio.c": { "main/audio.c": {
"mtime": 1793622279.098326, "mtime": 1794828673.5250728,
"seen": 1793707995.1510093, "seen": 1794831063.7108881,
"ast_hash": "3c20992a34fec21a02db0e6f7ee3ce4d", "ast_hash": "b8862d9d66c70793da825f48209f399a",
"semantic_hash": "3c20992a34fec21a02db0e6f7ee3ce4d" "semantic_hash": ""
}, },
"main/audio.h": { "main/audio.h": {
"mtime": 1793622279.098326, "mtime": 1793622279.098326,
@@ -408,9 +408,9 @@
"semantic_hash": "f3a01f891d20ec87a8c5f7591d6beb8e" "semantic_hash": "f3a01f891d20ec87a8c5f7591d6beb8e"
}, },
"main/audio_api.c": { "main/audio_api.c": {
"mtime": 1794710264.8956177, "mtime": 1794828673.5260727,
"seen": 1794710291.4680405, "seen": 1794831063.7109222,
"ast_hash": "2960a3df9afcfcc7ef753791228efe8f", "ast_hash": "2c13256d91ffabb0bc7c879bbb614cf3",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/audio_api.h": { "main/audio_api.h": {
@@ -456,15 +456,15 @@
"semantic_hash": "700e464cfe9bf038a06dd4e31d58c2d4" "semantic_hash": "700e464cfe9bf038a06dd4e31d58c2d4"
}, },
"main/engine.c": { "main/engine.c": {
"mtime": 1794809973.102407, "mtime": 1794851239.3269513,
"seen": 1794810020.1391904, "seen": 1794851260.0362706,
"ast_hash": "284d3ea5d72ed9ab3fc0097d2d1847e0", "ast_hash": "040cd1400ae467ff93316e3c103040db",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/engine.h": { "main/engine.h": {
"mtime": 1794741495.0732746, "mtime": 1794850007.0699291,
"seen": 1794743453.7924144, "seen": 1794850036.7149296,
"ast_hash": "2b3e5397519b023b3f811d53f2e09aaa", "ast_hash": "e78b9af83ad7ce92208bff6d07f16c04",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/envelope.c": { "main/envelope.c": {
@@ -498,9 +498,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"main/main.c": { "main/main.c": {
"mtime": 1794732605.1585417, "mtime": 1794828673.5260727,
"seen": 1794732791.1447446, "seen": 1794831063.7114704,
"ast_hash": "f840d7decb8a4dedf76dd5ceec33c9bf", "ast_hash": "d3fb2a0b6b53b0085a666fe36edfac8b",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/mic.c": { "main/mic.c": {
@@ -516,10 +516,10 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"main/ota.c": { "main/ota.c": {
"mtime": 1793622279.0995092, "mtime": 1794828673.5260727,
"seen": 1793707995.151028, "seen": 1794831063.7115347,
"ast_hash": "69e0a06b89b933af67740ff2f8c2839d", "ast_hash": "b9fb46c4c51f4ee7faf4d7a7b70b728d",
"semantic_hash": "69e0a06b89b933af67740ff2f8c2839d" "semantic_hash": ""
}, },
"main/ota.h": { "main/ota.h": {
"mtime": 1793622279.0995092, "mtime": 1793622279.0995092,
@@ -534,9 +534,9 @@
"semantic_hash": "fdb5a52e08072860278c405e012362a2" "semantic_hash": "fdb5a52e08072860278c405e012362a2"
}, },
"main/patterns.c": { "main/patterns.c": {
"mtime": 1794631038.6042385, "mtime": 1794852748.7251506,
"seen": 1794631063.9869924, "seen": 1794852789.4928343,
"ast_hash": "588725121a26c0e239f67306987a945f", "ast_hash": "62bad7f74c9238177b70e303c358f2fe",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/rel.c": { "main/rel.c": {
@@ -558,9 +558,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"main/res_device.c": { "main/res_device.c": {
"mtime": 1794636062.872842, "mtime": 1794815278.242813,
"seen": 1794636096.1797712, "seen": 1794823588.2929778,
"ast_hash": "002d5db6f0888e52c312aa566ba58877", "ast_hash": "07450f3cdd171cbe34519a9645c282c6",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/res_group.c": { "main/res_group.c": {
@@ -582,9 +582,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"main/seqplay.c": { "main/seqplay.c": {
"mtime": 1794811284.3836346, "mtime": 1794850012.7861762,
"seen": 1794811340.2405632, "seen": 1794850036.7155292,
"ast_hash": "df53d600b82e177531b2fab2f1c5c071", "ast_hash": "46b30454fe1d0344fa3e652d165ec8c3",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/seqplay.h": { "main/seqplay.h": {
@@ -594,9 +594,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"main/store.c": { "main/store.c": {
"mtime": 1794732605.1531544, "mtime": 1794828673.5270727,
"seen": 1794732791.1450877, "seen": 1794831063.7118764,
"ast_hash": "43d75aa5f7b47ea43f564639e4b3ba6d", "ast_hash": "a90cb24d24a554f56143fdcf48a876eb",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/store.h": { "main/store.h": {
@@ -606,9 +606,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"main/web.c": { "main/web.c": {
"mtime": 1794808071.5527718, "mtime": 1794828673.5270727,
"seen": 1794808691.102948, "seen": 1794831063.7119088,
"ast_hash": "c9e04b2286767f12f0c8774596ac238b", "ast_hash": "06786e1a7037d748a112121faceeb898",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/web.h": { "main/web.h": {
@@ -618,10 +618,10 @@
"semantic_hash": "5a02cf7164fcce29cf12924836e9cdb3" "semantic_hash": "5a02cf7164fcce29cf12924836e9cdb3"
}, },
"main/ws.c": { "main/ws.c": {
"mtime": 1793684076.5221431, "mtime": 1794828673.5270727,
"seen": 1793707995.1510422, "seen": 1794831063.7120032,
"ast_hash": "93311e2072464790f6ae6f1747f0a249", "ast_hash": "0d4d197b23a7f54783a1b720ca6a58b9",
"semantic_hash": "93311e2072464790f6ae6f1747f0a249" "semantic_hash": ""
}, },
"main/ws.h": { "main/ws.h": {
"mtime": 1793623417.780194, "mtime": 1793623417.780194,
@@ -756,9 +756,9 @@
"semantic_hash": "16592c0aee1b5210b0a83383b603b594" "semantic_hash": "16592c0aee1b5210b0a83383b603b594"
}, },
"test/api/conftest.py": { "test/api/conftest.py": {
"mtime": 1793708939.181024, "mtime": 1794828673.5270727,
"seen": 1793708948.4966762, "seen": 1794831063.713946,
"ast_hash": "5e8e091c9c35fb701124b2f91d738b6a", "ast_hash": "31938a6ac3ab3140839b257c0ebce904",
"semantic_hash": "" "semantic_hash": ""
}, },
"test/api/helpers.py": { "test/api/helpers.py": {
@@ -972,9 +972,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"web/static/presets.js": { "web/static/presets.js": {
"mtime": 1794810171.8763797, "mtime": 1794852748.7254736,
"seen": 1794810395.0019708, "seen": 1794852789.496248,
"ast_hash": "25f617a0187883af98b20bdc91252cc9", "ast_hash": "f406c1fc580d7981e29be0fbef48a25c",
"semantic_hash": "" "semantic_hash": ""
}, },
"web/static/profiles.js": { "web/static/profiles.js": {
@@ -984,9 +984,9 @@
"semantic_hash": "affb16a725a7bb69dda0b7488068666a" "semantic_hash": "affb16a725a7bb69dda0b7488068666a"
}, },
"web/static/sequences.js": { "web/static/sequences.js": {
"mtime": 1794811284.328768, "mtime": 1794828673.5280728,
"seen": 1794811340.2443218, "seen": 1794831063.7154353,
"ast_hash": "bf4e48445d1d2f1d91ef44c883eae419", "ast_hash": "9b7422521d0db489f7c89a021164315a",
"semantic_hash": "" "semantic_hash": ""
}, },
"web/static/zone-devices-panel.js": { "web/static/zone-devices-panel.js": {
@@ -1038,9 +1038,9 @@
"semantic_hash": "119936b48480fc8fd781b1a00eea6268" "semantic_hash": "119936b48480fc8fd781b1a00eea6268"
}, },
"docs/API.md": { "docs/API.md": {
"mtime": 1794744234.6049027, "mtime": 1794851246.6044207,
"seen": 1794744331.1270175, "seen": 1794851260.0405624,
"ast_hash": "cee0575bfe7c0792aef4557c6fa1903a", "ast_hash": "5043f74c16511d910aa1a150702677a9",
"semantic_hash": "" "semantic_hash": ""
}, },
"docs/BENCH_TEST.md": { "docs/BENCH_TEST.md": {
@@ -1164,9 +1164,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"main/CMakeLists.txt": { "main/CMakeLists.txt": {
"mtime": 1794607641.6851776, "mtime": 1794828673.5250728,
"seen": 1794609724.2121801, "seen": 1794831063.7172196,
"ast_hash": "41e005c3b27712af05d73b4878d4fdd2", "ast_hash": "25b924667fe454fb4c3d726668c76f84",
"semantic_hash": "" "semantic_hash": ""
}, },
"scripts/led-test/CMakeLists.txt": { "scripts/led-test/CMakeLists.txt": {
@@ -1254,9 +1254,9 @@
"semantic_hash": "75e993f9af0c9755521a77149a5086f3" "semantic_hash": "75e993f9af0c9755521a77149a5086f3"
}, },
"web/templates/index.html": { "web/templates/index.html": {
"mtime": 1794806821.9270236, "mtime": 1794847509.9392629,
"seen": 1794807070.3655276, "seen": 1794847571.6564965,
"ast_hash": "61ae265a79ca45862ed79bab1ac75aff", "ast_hash": "39ff108efecc91cd771569d5b34f6b8d",
"semantic_hash": "" "semantic_hash": ""
}, },
"web/templates/settings.html": { "web/templates/settings.html": {
@@ -1470,9 +1470,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"led-simulator/web/app.js": { "led-simulator/web/app.js": {
"mtime": 1794808062.357016, "mtime": 1794845978.99595,
"seen": 1794808691.101037, "seen": 1794845993.465794,
"ast_hash": "76d7fca68d7281ca3cf2fab5a4afeb54", "ast_hash": "403b4a9a03a306600b0a015185f74e9c",
"semantic_hash": "" "semantic_hash": ""
}, },
"led-simulator/web/driver-worker.js": { "led-simulator/web/driver-worker.js": {
@@ -1482,15 +1482,15 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"led-simulator/web/layout.js": { "led-simulator/web/layout.js": {
"mtime": 1794797547.7593155, "mtime": 1794843151.1592827,
"seen": 1794798229.7070467, "seen": 1794843280.4029732,
"ast_hash": "4a5bd12d3328e5eb5a707025be50f81c", "ast_hash": "846e290a61b75c0420f600b5ce84d176",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/bridge.c": { "main/bridge.c": {
"mtime": 1794806065.7847319, "mtime": 1794828673.5260727,
"seen": 1794806592.2900343, "seen": 1794831063.7111478,
"ast_hash": "f4fdbe7143002fe225276327f0418499", "ast_hash": "c47e871c6eae3d8a57efa86261dea993",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/bridge.h": { "main/bridge.h": {
@@ -1524,15 +1524,15 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"sim-controller/components/sim/sim_main.c": { "sim-controller/components/sim/sim_main.c": {
"mtime": 1794806401.1586554, "mtime": 1794828673.5270727,
"seen": 1794806592.2932808, "seen": 1794831063.7132459,
"ast_hash": "433030842e5b7e2d19719bb2e236b133", "ast_hash": "17dd105aa6c9a05e74aa84d66e639213",
"semantic_hash": "" "semantic_hash": ""
}, },
"sim-controller/components/sim/sim_stubs.c": { "sim-controller/components/sim/sim_stubs.c": {
"mtime": 1794710141.92181, "mtime": 1794828673.5270727,
"seen": 1794710291.4695535, "seen": 1794831063.71329,
"ast_hash": "af479a0933d08ddf0c7acd6c1804e2b3", "ast_hash": "115b881a5916c4416c16c2808c5dd18a",
"semantic_hash": "" "semantic_hash": ""
}, },
"sim-controller/components/sim/sim_timer.c": { "sim-controller/components/sim/sim_timer.c": {
@@ -1548,9 +1548,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"led-simulator/web/index.html": { "led-simulator/web/index.html": {
"mtime": 1794806829.764687, "mtime": 1794851934.47664,
"seen": 1794807070.364879, "seen": 1794851950.6860895,
"ast_hash": "1df2f19c072668894375bdd7a4c61245", "ast_hash": "8eaab05726d669a0751e49c7d32e22f9",
"semantic_hash": "" "semantic_hash": ""
}, },
"sim-controller/CMakeLists.txt": { "sim-controller/CMakeLists.txt": {
@@ -1602,9 +1602,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"led-driver/main/effects_a.cpp": { "led-driver/main/effects_a.cpp": {
"mtime": 1794634424.8997009, "mtime": 1794852748.724679,
"seen": 1794634495.2049665, "seen": 1794852789.4899468,
"ast_hash": "a2c77bd31bfe62b13dabd0f6d6dc1fdd", "ast_hash": "e2081f2ea95e5dc2a20c4d9bc77144fd",
"semantic_hash": "" "semantic_hash": ""
}, },
"led-driver/main/effects_b.cpp": { "led-driver/main/effects_b.cpp": {
@@ -1662,9 +1662,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"led-driver/main/patterns.cpp": { "led-driver/main/patterns.cpp": {
"mtime": 1794795013.1308205, "mtime": 1794852186.8755057,
"seen": 1794798229.706574, "seen": 1794852320.9502444,
"ast_hash": "07ad3048ebc775597615dc27a577ea59", "ast_hash": "862c8f49ff1361d08b858e69bc76a706",
"semantic_hash": "" "semantic_hash": ""
}, },
"led-driver/main/patterns.h": { "led-driver/main/patterns.h": {
@@ -1674,9 +1674,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"led-driver/main/presets.cpp": { "led-driver/main/presets.cpp": {
"mtime": 1794695084.010198, "mtime": 1794852748.7247748,
"seen": 1794695911.5044217, "seen": 1794852789.4903247,
"ast_hash": "5a7b02d5042d9ca5e82e492ede3bafda", "ast_hash": "51f1ff083c9a41dfe8028e1c5acaad5f",
"semantic_hash": "" "semantic_hash": ""
}, },
"led-driver/main/presets.h": { "led-driver/main/presets.h": {
@@ -1734,9 +1734,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"led-driver/web/app.js": { "led-driver/web/app.js": {
"mtime": 1794560545.4288797, "mtime": 1794852748.7250476,
"seen": 1794609724.211971, "seen": 1794852789.49085,
"ast_hash": "371c9c75b40668265704a648fb29a72f", "ast_hash": "3dfb1a407e4ad5f797de107d15577ae0",
"semantic_hash": "" "semantic_hash": ""
}, },
"led-driver/CMakeLists.txt": { "led-driver/CMakeLists.txt": {
@@ -2196,9 +2196,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"desktop/CMakeLists.txt": { "desktop/CMakeLists.txt": {
"mtime": 1794800891.079621, "mtime": 1794828673.5250728,
"seen": 1794801190.901389, "seen": 1794831063.7158296,
"ast_hash": "a02c3c234b8fc9eac8561661af9db234", "ast_hash": "2b78f69a903a5a8d41c4cb8253323fc8",
"semantic_hash": "" "semantic_hash": ""
}, },
"desktop/README.md": { "desktop/README.md": {
@@ -2442,9 +2442,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"web/static/seq_timeline.js": { "web/static/seq_timeline.js": {
"mtime": 1794811292.3481793, "mtime": 1794849603.848082,
"seen": 1794811340.2443202, "seen": 1794849642.626699,
"ast_hash": "0345913ae651f3e1085035c865d64778", "ast_hash": "67ee6a59bf2742e4bc1949527df98ed9",
"semantic_hash": "" "semantic_hash": ""
}, },
".claude/launch.json": { ".claude/launch.json": {
@@ -2454,9 +2454,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"led-simulator/web/gallery.js": { "led-simulator/web/gallery.js": {
"mtime": 1794800956.7437694, "mtime": 1794852748.7252138,
"seen": 1794801190.8974042, "seen": 1794852789.491459,
"ast_hash": "ec66e1c8d1fa9284f99957df84a7acec", "ast_hash": "67b6d5dfb64af71ef89a616c276ac613",
"semantic_hash": "" "semantic_hash": ""
}, },
"led-simulator/workspace/patterns/__init__.py": { "led-simulator/workspace/patterns/__init__.py": {
@@ -2466,9 +2466,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"led-simulator/web/gallery.html": { "led-simulator/web/gallery.html": {
"mtime": 1794800956.7437022, "mtime": 1794850868.591061,
"seen": 1794801190.9022684, "seen": 1794850880.5448716,
"ast_hash": "1ce1fcb9e6d1632dc94d7068ea414791", "ast_hash": "cc2313d70479b2ce23bd9aa00fbfb28a",
"semantic_hash": "" "semantic_hash": ""
}, },
"sim-driver/build.sh": { "sim-driver/build.sh": {
@@ -2586,9 +2586,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"sim-controller/components/sim/sim_rig.c": { "sim-controller/components/sim/sim_rig.c": {
"mtime": 1794808071.5529895, "mtime": 1794843121.0961833,
"seen": 1794808691.1042087, "seen": 1794843280.4056547,
"ast_hash": "5b0e8e91139b3ada3c85b30144f26c0a", "ast_hash": "0f1ee3f68069b090b7a9cb9033a471be",
"semantic_hash": "" "semantic_hash": ""
}, },
"sim-controller/components/sim/sim_rig.h": { "sim-controller/components/sim/sim_rig.h": {
@@ -2604,9 +2604,45 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"web/static/sim_split.js": { "web/static/sim_split.js": {
"mtime": 1794808071.5531054, "mtime": 1794851906.4556742,
"seen": 1794808691.1061878, "seen": 1794851950.6841726,
"ast_hash": "76726438c133c696cf8bb20d5fc60295", "ast_hash": "a2d87a5384091b3ae84a3353f734f458",
"semantic_hash": ""
},
".gitea/workflows/release.yml": {
"mtime": 1794817766.6255133,
"seen": 1794823588.2836907,
"ast_hash": "4a5b6bf60b5562a0ede4724d332c5b0b",
"semantic_hash": ""
},
"main/auth.c": {
"mtime": 1794828673.5260727,
"seen": 1794831063.710955,
"ast_hash": "cdccb0a24355609c9f8066d8b895e0f6",
"semantic_hash": ""
},
"main/auth.h": {
"mtime": 1794828673.5260727,
"seen": 1794831063.710957,
"ast_hash": "43bac31281e5704414c3047538d1d2ad",
"semantic_hash": ""
},
"test/api/test_auth.py": {
"mtime": 1794828673.5270727,
"seen": 1794831063.7140203,
"ast_hash": "70737c7e44f6ad2159ea3d4792f75e9b",
"semantic_hash": ""
},
"web/static/auth.js": {
"mtime": 1794828673.5270727,
"seen": 1794831063.7149098,
"ast_hash": "463970d60d2b4cd8ebb3c44af9d9a5a3",
"semantic_hash": ""
},
"docker-compose.prod.yml": {
"mtime": 1794828673.5250728,
"seen": 1794831063.7067208,
"ast_hash": "16e7af48ed1d62e84516677b0c9366b0",
"semantic_hash": "" "semantic_hash": ""
} }
} }
+272 -70
View File
@@ -59,6 +59,11 @@
queue: [], queue: [],
booting: 0, booting: 0,
view: null, view: null,
sel: new Set(), // the selected strips; app.selected is the one the drawer shows (when exactly one)
marquee: null, // the box being dragged on the floor, canvas px
zoom: 1, // the room's view: z about its fitted size, pan x/y in canvas px (view only, never saved)
pan: { x: 0, y: 0 },
spaceDown: false,
geo: [], geo: [],
dirty: true, dirty: true,
selected: null, selected: null,
@@ -456,6 +461,7 @@
} }
for (const s of old.values()) { for (const s of old.values()) {
powerOff(s); powerOff(s);
app.sel.delete(s);
if (app.selected === s) { if (app.selected === s) {
app.selected = null; app.selected = null;
} }
@@ -465,9 +471,6 @@
layoutView(); layoutView();
updateChips(); updateChips();
renderDrawer(); renderDrawer();
if (app.cfg) {
renderHint();
}
} }
function scheduleSave() { function scheduleSave() {
@@ -515,6 +518,7 @@
powerOff(s); powerOff(s);
} }
app.strips = []; app.strips = [];
app.sel = new Set();
app.selected = null; app.selected = null;
applyConfig(cfg); applyConfig(cfg);
if (readAuto()) { if (readAuto()) {
@@ -529,8 +533,9 @@
const sel = $('room-select'); const sel = $('room-select');
sel.replaceChildren(...cfg.rooms.map((n) => new Option(n, n, false, n === cfg.room_name))); sel.replaceChildren(...cfg.rooms.map((n) => new Option(n, n, false, n === cfg.room_name)));
app.lastDef = Object.keys(app.room.definitions)[0]; app.lastDef = Object.keys(app.room.definitions)[0];
app.zoom = 1; // each room opens fitted
app.pan = { x: 0, y: 0 };
syncStrips(); syncStrips();
renderHint();
} }
/** A label for a new strip: drivers.name with n from its MAC, which no other room uses, so the name is unique too. */ /** A label for a new strip: drivers.name with n from its MAC, which no other room uses, so the name is unique too. */
@@ -551,8 +556,8 @@
async function addFixture(x, y) { async function addFixture(x, y) {
let mac; let mac;
try { try {
const taken = Object.values(app.room.fixtures).map((f) => f.mac).join(','); const taken = Object.values(app.room.fixtures).map((f) => f.mac);
mac = (await api('GET', `/sim/api/next-mac?taken=${encodeURIComponent(taken)}`)).mac; mac = (await api('POST', '/sim/api/next-mac', { taken })).mac;
} catch (err) { } catch (err) {
banner(`Could not add a strip: ${err.message}`); banner(`Could not add a strip: ${err.message}`);
return; return;
@@ -567,19 +572,50 @@
direction: 90, direction: 90,
}; };
changed(); changed();
app.selected = app.strips.find((s) => s.id === label) || null; select(app.strips.find((s) => s.id === label) || null);
renderDrawer(); renderDrawer();
} }
function deleteFixture(s) { /** Delete every selected strip from the room. */
if (!s || !(s.id in app.room.fixtures)) { function deleteSelected() {
const doomed = [...app.sel].filter((s) => s.id in app.room.fixtures);
if (!doomed.length) {
return; return;
} }
for (const s of doomed) {
delete app.room.fixtures[s.id]; delete app.room.fixtures[s.id];
if (app.selected === s) { }
app.selected = null; setSelection([]);
changed();
}
/** Move every strip by one offset (snapped to 0.05 m, spacing kept) so their bounding box sits in the middle
* of the room: x = 0 (the room runs -width/2 .. width/2), y = depth / 2. */
function centreStrips() {
const infos = RigLayout.roomStrips(app.room);
if (!infos.length) {
return;
}
let x0 = Infinity;
let x1 = -Infinity;
let y0 = Infinity;
let y1 = -Infinity;
for (const i of infos) {
for (const [x, y] of [[i.x, i.y], [i.x1, i.y1]]) {
x0 = Math.min(x0, x);
x1 = Math.max(x1, x);
y0 = Math.min(y0, y);
y1 = Math.max(y1, y);
}
}
const dx = Math.round((0 - (x0 + x1) / 2) / SNAP_M) * SNAP_M;
const dy = Math.round((app.room.depth / 2 - (y0 + y1) / 2) / SNAP_M) * SNAP_M;
for (const f of Object.values(app.room.fixtures)) {
f.x = round3(f.x + dx);
f.y = round3(f.y + dy);
} }
changed(); changed();
renderDrawer();
} }
// ----- the controller: rig layout and the browser bridge ------------------------------- // ----- the controller: rig layout and the browser bridge -------------------------------
@@ -658,34 +694,10 @@
return; return;
} }
const b = app.cfg.bridge; const b = app.cfg.bridge;
$('bridge-chip').textContent = `${b.name} · ${b.mac}`; // "Add the browser bridge" shows when the controller is connected but its bridge is not running
const cc = $('controller-chip');
const on = app.wsOpen && b.running;
cc.textContent = !app.wsOpen ? 'controller: –' : b.running ? 'browser bridge: on' : 'browser bridge: off';
cc.className = `chip ${on ? 'ok' : 'warn'}`;
$('add-bridge').hidden = !app.wsOpen || b.running; $('add-bridge').hidden = !app.wsOpen || b.running;
const running = app.strips.filter((s) => s.state === 'running').length;
const booting = app.strips.filter((s) => s.state === 'queued' || s.state === 'loading').length;
const crashed = app.strips.filter((s) => s.state === 'crashed').length;
let text = `strips: ${running}/${app.strips.length} running`;
if (booting) {
text += ` · ${booting} booting`;
}
if (crashed) {
text += ` · ${crashed} stopped`;
}
const sc = $('strips-chip');
sc.textContent = text;
sc.className = `chip ${crashed ? 'warn' : running ? 'ok' : ''}`;
} }
function renderHint() {
$('hint').innerHTML =
`Room <b>${app.roomName}</b>: ${app.room.width} × ${app.room.depth} m, ${app.strips.length} bars. ` +
'Each bar is the C++ led-driver; it registers with this controller when it powers on, ' +
'and its place in the room goes to the controller\'s rig layout. ' +
'<a href="/" target="_top">Open the controller</a> to drive them.';
}
function renderFacts() { function renderFacts() {
const s = app.selected; const s = app.selected;
@@ -735,6 +747,15 @@
const wasHidden = $('drawer').hidden; const wasHidden = $('drawer').hidden;
$('drawer').hidden = !s && !app.edit; $('drawer').hidden = !s && !app.edit;
$('d-empty').hidden = Boolean(s); $('d-empty').hidden = Boolean(s);
if (app.emptyHtml === undefined) {
app.emptyHtml = $('d-empty').innerHTML; // the default text, restored when the selection is not several strips
}
if (app.sel.size > 1) {
$('d-empty').textContent =
`${app.sel.size} strips selected. Drag one of them to move them all · Shift-click adds or removes · Delete removes them.`;
} else {
$('d-empty').innerHTML = app.emptyHtml;
}
$('d-body').hidden = !s; $('d-body').hidden = !s;
if (wasHidden !== $('drawer').hidden) { if (wasHidden !== $('drawer').hidden) {
requestAnimationFrame(layoutView); requestAnimationFrame(layoutView);
@@ -755,17 +776,20 @@
el.scrollTop = el.scrollHeight; el.scrollTop = el.scrollHeight;
} }
function select(s) { /** The selection is a set of strips. The drawer shows the strip when exactly one is selected. */
app.selected = s; function setSelection(list) {
app.sel = new Set(list);
app.selected = list.length === 1 ? list[0] : null;
app.dirty = true; app.dirty = true;
renderDrawer(); renderDrawer();
} }
function select(s) {
setSelection(s ? [s] : []);
}
function setButtons() { function setButtons() {
const ok = !app.takenOver; const ok = !app.takenOver;
for (const id of ['power-on-all', 'power-cycle-all', 'power-off-all']) {
$(id).disabled = !ok;
}
renderDrawer(); renderDrawer();
} }
@@ -953,11 +977,48 @@
app.dpr = window.devicePixelRatio || 1; app.dpr = window.devicePixelRatio || 1;
c.width = Math.max(1, Math.round(rect.width * app.dpr)); c.width = Math.max(1, Math.round(rect.width * app.dpr));
c.height = Math.max(1, Math.round(rect.height * app.dpr)); c.height = Math.max(1, Math.round(rect.height * app.dpr));
app.view = RigLayout.fit(app.room, rect.width, rect.height); app.size = { w: rect.width, h: rect.height };
app.view = RigLayout.fit(app.room, rect.width, rect.height, 28, {
z: app.zoom,
x: app.pan.x,
y: app.pan.y,
});
app.geo = RigLayout.stripGeometry(app.view, app.strips.map((s) => s.info)); app.geo = RigLayout.stripGeometry(app.view, app.strips.map((s) => s.info));
app.dirty = true; app.dirty = true;
} }
const ZOOM_MIN = 0.5;
const ZOOM_MAX = 8;
/** Zoom by factor f, keeping the room point under canvas (px, py) where it is (the centre without one). */
function zoomAt(f, px, py) {
if (!app.view || !app.room) {
return;
}
const cx = px == null ? app.size.w / 2 : px;
const cy = py == null ? app.size.h / 2 : py;
const wx = app.view.mx(cx);
const wy = app.view.my(cy);
const z = Math.min(ZOOM_MAX, Math.max(ZOOM_MIN, app.zoom * f));
const s = app.view.base * z;
app.zoom = z;
// so the point under (cx, cy) stays there: sx(wx) = cx and sy(wy) = cy at the new scale
app.pan = {
x: cx - wx * s - app.size.w / 2,
y: cy + wy * s - app.size.h / 2 - (app.room.depth / 2) * s,
};
layoutView();
}
function zoomFit() {
if (!app.room) {
return;
}
app.zoom = 1;
app.pan = { x: 0, y: 0 };
layoutView();
}
function colourAt(frame, i) { function colourAt(frame, i) {
const j = i * 3; const j = i * 3;
const r = frame[j] | 0; const r = frame[j] | 0;
@@ -983,11 +1044,13 @@
ctx.strokeStyle = GRID; ctx.strokeStyle = GRID;
ctx.lineWidth = 1; ctx.lineWidth = 1;
ctx.beginPath(); ctx.beginPath();
for (let x = Math.ceil(-w / 2); x <= w / 2; x += 1) { // the grid step in metres: 1 m, or a coarser one where zoomed out so lines stay at least 6 px apart
const step = [1, 2, 5, 10, 20, 50].find((s) => s * v.scale >= 6) || 100;
for (let x = Math.ceil(-w / 2 / step) * step; x <= w / 2; x += step) {
ctx.moveTo(Math.round(v.sx(x)) + 0.5, y0); ctx.moveTo(Math.round(v.sx(x)) + 0.5, y0);
ctx.lineTo(Math.round(v.sx(x)) + 0.5, y1); ctx.lineTo(Math.round(v.sx(x)) + 0.5, y1);
} }
for (let y = 1; y < d; y += 1) { for (let y = step; y < d; y += step) {
ctx.moveTo(x0, Math.round(v.sy(y)) + 0.5); ctx.moveTo(x0, Math.round(v.sy(y)) + 0.5);
ctx.lineTo(x1, Math.round(v.sy(y)) + 0.5); ctx.lineTo(x1, Math.round(v.sy(y)) + 0.5);
} }
@@ -999,7 +1062,7 @@
ctx.fillStyle = LABEL; ctx.fillStyle = LABEL;
ctx.textAlign = 'left'; ctx.textAlign = 'left';
ctx.textBaseline = 'bottom'; ctx.textBaseline = 'bottom';
ctx.fillText(`${app.roomName} · ${w} × ${d} m · 1 m grid`, x0, y0 - 6); ctx.fillText(`${app.roomName} · ${w} × ${d} m · ${step} m grid · ${Math.round(app.zoom * 100)}%`, x0, y0 - 6);
} }
function drawStrip(s, sg) { function drawStrip(s, sg) {
@@ -1019,7 +1082,7 @@
ctx.fillStyle = col || OFF_COLOUR; ctx.fillStyle = col || OFF_COLOUR;
ctx.fillRect(i * sg.pitch, -LED_H / 2, Math.max(1, sg.pitch - gap), LED_H); ctx.fillRect(i * sg.pitch, -LED_H / 2, Math.max(1, sg.pitch - gap), LED_H);
} }
if (app.selected === s) { if (app.sel.has(s)) {
ctx.strokeStyle = SELECT; ctx.strokeStyle = SELECT;
ctx.lineWidth = 1.5; ctx.lineWidth = 1.5;
ctx.strokeRect(-1.5, -LED_H / 2 - 1.5, sg.len + 3, LED_H + 3); ctx.strokeRect(-1.5, -LED_H / 2 - 1.5, sg.len + 3, LED_H + 3);
@@ -1032,7 +1095,7 @@
ctx.restore(); ctx.restore();
if (app.edit) { if (app.edit) {
// turn handle at the strip's far end // turn handle at the strip's far end
ctx.strokeStyle = app.selected === s ? SELECT : LABEL; ctx.strokeStyle = app.sel.has(s) ? SELECT : LABEL;
ctx.lineWidth = 1.5; ctx.lineWidth = 1.5;
ctx.beginPath(); ctx.beginPath();
ctx.arc(sg.bx, sg.by, HANDLE_R, 0, Math.PI * 2); ctx.arc(sg.bx, sg.by, HANDLE_R, 0, Math.PI * 2);
@@ -1060,10 +1123,34 @@
ctx.fillRect(0, 0, c.width / app.dpr, c.height / app.dpr); ctx.fillRect(0, 0, c.width / app.dpr, c.height / app.dpr);
drawRoom(); drawRoom();
app.strips.forEach((s, i) => drawStrip(s, app.geo[i])); app.strips.forEach((s, i) => drawStrip(s, app.geo[i]));
if (app.marquee) {
const m = app.marquee;
ctx.save();
ctx.setLineDash([5, 4]);
ctx.strokeStyle = SELECT;
ctx.fillStyle = 'rgba(90,169,255,0.08)';
ctx.lineWidth = 1;
ctx.fillRect(m.x0, m.y0, m.x1 - m.x0, m.y1 - m.y0);
ctx.strokeRect(m.x0 + 0.5, m.y0 + 0.5, m.x1 - m.x0, m.y1 - m.y0);
ctx.restore();
}
} }
requestAnimationFrame(frame); requestAnimationFrame(frame);
} }
/** Whether a strip's segment passes through the box (canvas px), sampled along its length. */
function stripTouchesBox(sg, x0, y0, x1, y1) {
for (let i = 0; i <= 20; i += 1) {
const t = i / 20;
const x = sg.ax + (sg.bx - sg.ax) * t;
const y = sg.ay + (sg.by - sg.ay) * t;
if (x >= x0 && x <= x1 && y >= y0 && y <= y1) {
return true;
}
}
return false;
}
/** What is under the pointer: {s, part: 'handle' | 'body'} or null. */ /** What is under the pointer: {s, part: 'handle' | 'body'} or null. */
function hitTest(x, y) { function hitTest(x, y) {
if (app.edit) { if (app.edit) {
@@ -1093,26 +1180,74 @@
function wireCanvas() { function wireCanvas() {
const c = app.canvas; const c = app.canvas;
// Middle-button drag would autoscroll the page: the canvas pans instead
c.addEventListener('mousedown', (ev) => {
if (ev.button === 1) {
ev.preventDefault();
}
});
// Right-drag pans the view, so the browser's menu stays off the canvas
c.addEventListener('contextmenu', (ev) => ev.preventDefault());
c.addEventListener(
'wheel',
(ev) => {
ev.preventDefault();
const [x, y] = pointerPos(ev);
const dy = ev.deltaMode === 1 ? ev.deltaY * 16 : ev.deltaY; // lines -> px
zoomAt(Math.exp(-dy * 0.0015), x, y);
},
{ passive: false },
);
c.addEventListener('pointerdown', (ev) => { c.addEventListener('pointerdown', (ev) => {
const [x, y] = pointerPos(ev); const [x, y] = pointerPos(ev);
if (ev.button === 1 || ev.button === 2 || app.spaceDown) {
// middle or right button, or Space held: pan the view, whatever is under the pointer
app.drag = { kind: 'pan', x, y, panX: app.pan.x, panY: app.pan.y };
c.setPointerCapture(ev.pointerId);
c.style.cursor = 'grabbing';
return;
}
const hit = hitTest(x, y); const hit = hitTest(x, y);
if (!app.edit) { if (!app.edit) {
if (hit) { if (hit) {
select(app.selected === hit.s ? null : hit.s); select(app.selected === hit.s ? null : hit.s);
} else if (app.zoom > 1) {
// zoomed in: a drag on empty floor moves the view
app.drag = { kind: 'pan', x, y, panX: app.pan.x, panY: app.pan.y };
c.setPointerCapture(ev.pointerId);
c.style.cursor = 'grabbing';
} }
return; return;
} }
if (!hit) { if (!hit) {
app.drag = { kind: 'floor', x, y }; // a click adds a strip. A drag selects the strips in its box (Shift adds to the selection), or, zoomed in,
// pans the view (see pointermove)
app.drag = { kind: 'floor', x, y, panX: app.pan.x, panY: app.pan.y, shift: ev.shiftKey };
return; return;
} }
const f = app.room.fixtures[hit.s.id]; const additive = ev.shiftKey || ev.ctrlKey || ev.metaKey;
if (hit.part === 'handle') {
select(hit.s); select(hit.s);
app.drag = { kind: 'turn', s: hit.s, moved: false };
c.setPointerCapture(ev.pointerId);
return;
}
if (additive) {
if (app.sel.has(hit.s)) {
// Shift-click on a selected strip takes it out of the selection
setSelection([...app.sel].filter((s) => s !== hit.s));
return;
}
setSelection([...app.sel, hit.s]);
} else if (!app.sel.has(hit.s)) {
setSelection([hit.s]);
} // else: a strip of the selection, so the whole selection moves together
// every selected strip moves by the same offset, from where it was when the drag began
const items = [...app.sel].map((s) => ({ s, startX: app.room.fixtures[s.id].x, startY: app.room.fixtures[s.id].y }));
app.drag = { app.drag = {
kind: hit.part === 'handle' ? 'turn' : 'move', kind: 'move',
s: hit.s, s: hit.s,
startX: f.x, items,
startY: f.y,
mx: app.view.mx(x), mx: app.view.mx(x),
my: app.view.my(y), my: app.view.my(y),
moved: false, moved: false,
@@ -1123,15 +1258,34 @@
const [x, y] = pointerPos(ev); const [x, y] = pointerPos(ev);
const d = app.drag; const d = app.drag;
if (!d) { if (!d) {
if (app.edit) { if (app.spaceDown) {
c.style.cursor = 'grab';
} else if (app.edit) {
const hit = hitTest(x, y); const hit = hitTest(x, y);
c.style.cursor = hit ? (hit.part === 'handle' ? 'crosshair' : 'move') : 'copy'; c.style.cursor = hit ? (hit.part === 'handle' ? 'crosshair' : 'move') : app.zoom > 1 ? 'grab' : 'copy';
} else { } else {
c.style.cursor = hitTest(x, y) ? 'pointer' : 'default'; c.style.cursor = hitTest(x, y) ? 'pointer' : app.zoom > 1 ? 'grab' : 'default';
} }
return; return;
} }
if (d.kind === 'pan') {
app.pan = { x: d.panX + x - d.x, y: d.panY + y - d.y };
layoutView();
return;
}
if (d.kind === 'floor' && app.zoom > 1 && !d.shift && Math.hypot(x - d.x, y - d.y) >= 4) {
// zoomed in, the drag is a pan, not a box: the view follows the pointer from where the drag began
app.drag = { kind: 'pan', x: d.x, y: d.y, panX: d.panX, panY: d.panY };
app.marquee = null;
c.setPointerCapture(ev.pointerId);
c.style.cursor = 'grabbing';
app.pan = { x: d.panX + x - d.x, y: d.panY + y - d.y };
layoutView();
return;
}
if (d.kind === 'floor') { if (d.kind === 'floor') {
app.marquee = { x0: d.x, y0: d.y, x1: x, y1: y };
app.dirty = true;
return; return;
} }
const f = app.room.fixtures[d.s.id]; const f = app.room.fixtures[d.s.id];
@@ -1142,15 +1296,28 @@
const wx = app.view.mx(x); const wx = app.view.mx(x);
const wy = app.view.my(y); const wy = app.view.my(y);
if (d.kind === 'move') { if (d.kind === 'move') {
// one snapped offset for the whole selection, so the strips keep their spacing
const snap = ev.altKey ? 0.001 : SNAP_M; const snap = ev.altKey ? 0.001 : SNAP_M;
f.x = round3(Math.round((d.startX + wx - d.mx) / snap) * snap); const dx = Math.round((wx - d.mx) / snap) * snap;
f.y = round3(Math.round((d.startY + wy - d.my) / snap) * snap); const dy = Math.round((wy - d.my) / snap) * snap;
for (const it of d.items) {
const g = app.room.fixtures[it.s.id];
if (g) {
g.x = round3(it.startX + dx);
g.y = round3(it.startY + dy);
}
}
} else { } else {
const deg = (Math.atan2(wx - f.x, wy - f.y) * 180) / Math.PI; const deg = (Math.atan2(wx - f.x, wy - f.y) * 180) / Math.PI;
f.direction = wrapDeg(ev.shiftKey ? deg : Math.round(deg / SNAP_DEG) * SNAP_DEG); f.direction = wrapDeg(ev.shiftKey ? deg : Math.round(deg / SNAP_DEG) * SNAP_DEG);
} }
d.moved = true; d.moved = true;
d.s.info = Object.assign(d.s.info, RigLayout.roomStrips(app.room).find((i) => i.id === d.s.id)); const infos = new Map(RigLayout.roomStrips(app.room).map((i) => [i.id, i]));
for (const s of d.kind === 'move' ? d.items.map((it) => it.s) : [d.s]) {
if (infos.has(s.id)) {
s.info = Object.assign(s.info, infos.get(s.id));
}
}
app.geo = RigLayout.stripGeometry(app.view, app.strips.map((s) => s.info)); app.geo = RigLayout.stripGeometry(app.view, app.strips.map((s) => s.info));
app.dirty = true; app.dirty = true;
renderFacts(); renderFacts();
@@ -1163,8 +1330,24 @@
return; return;
} }
if (d.kind === 'floor') { if (d.kind === 'floor') {
const m = app.marquee;
app.marquee = null;
app.dirty = true;
const [x, y] = pointerPos(ev); const [x, y] = pointerPos(ev);
if (Math.hypot(x - d.x, y - d.y) < 4 && ev.type === 'pointerup') { if (ev.type !== 'pointerup') {
return;
}
if (Math.hypot(x - d.x, y - d.y) >= 4) {
// a box: the strips it touches are selected (Shift: added to the selection)
const x0 = Math.min(d.x, x);
const x1 = Math.max(d.x, x);
const y0 = Math.min(d.y, y);
const y1 = Math.max(d.y, y);
const inside = app.strips.filter((s, i) => stripTouchesBox(app.geo[i], x0, y0, x1, y1));
const additive = ev.shiftKey || ev.ctrlKey || ev.metaKey;
setSelection(additive ? [...new Set([...app.sel, ...inside])] : inside);
return;
}
const wx = app.view.mx(x); const wx = app.view.mx(x);
const wy = app.view.my(y); const wy = app.view.my(y);
if (Math.abs(wx) <= app.room.width / 2 && wy >= 0 && wy <= app.room.depth) { if (Math.abs(wx) <= app.room.width / 2 && wy >= 0 && wy <= app.room.depth) {
@@ -1172,7 +1355,6 @@
} else { } else {
select(null); select(null);
} }
}
return; return;
} }
if (d.moved) { if (d.moved) {
@@ -1186,23 +1368,30 @@
// ----- boot -------------------------------------------------------------------- // ----- boot --------------------------------------------------------------------
function wireUi() { function wireUi() {
$('power-on-all').onclick = () => app.strips.forEach(powerOn);
$('power-off-all').onclick = () => app.strips.forEach(powerOff);
$('power-cycle-all').onclick = () => {
app.strips.forEach(powerOff);
app.strips.forEach(powerOn);
};
const auto = $('auto-power'); const auto = $('auto-power');
auto.checked = readAuto(); auto.checked = readAuto();
auto.onchange = () => writeAuto(auto.checked); auto.onchange = () => writeAuto(auto.checked);
$('room-select').onchange = () => switchRoom($('room-select').value); $('room-select').onchange = () => switchRoom($('room-select').value);
$('add-bridge').onclick = addBridge; $('add-bridge').onclick = addBridge;
$('edit-toggle').onclick = () => setEdit(!app.edit); $('edit-toggle').onclick = () => setEdit(!app.edit);
$('zoom-in').onclick = () => zoomAt(1.25);
$('zoom-out').onclick = () => zoomAt(1 / 1.25);
$('zoom-fit').onclick = () => zoomFit();
$('add-strip').onclick = () => {
// the middle of what the canvas shows, kept inside the room
const w = app.room.width;
const d = app.room.depth;
addFixture(
Math.min(w / 2, Math.max(-w / 2, app.view.mx(app.size.w / 2))),
Math.min(d, Math.max(0, app.view.my(app.size.h / 2))),
);
};
$('centre-strips').onclick = () => centreStrips();
$('d-close').onclick = () => select(null); $('d-close').onclick = () => select(null);
$('d-on').onclick = () => app.selected && powerOn(app.selected); $('d-on').onclick = () => app.selected && powerOn(app.selected);
$('d-off').onclick = () => app.selected && powerOff(app.selected); $('d-off').onclick = () => app.selected && powerOff(app.selected);
$('d-reset').onclick = () => app.selected && reset(app.selected); $('d-reset').onclick = () => app.selected && reset(app.selected);
$('d-delete').onclick = () => deleteFixture(app.selected); $('d-delete').onclick = () => deleteSelected();
$('d-clear').onclick = () => { $('d-clear').onclick = () => {
if (app.selected) { if (app.selected) {
app.selected.logs = []; app.selected.logs = [];
@@ -1220,13 +1409,26 @@
new ResizeObserver(() => layoutView()).observe($('rig')); new ResizeObserver(() => layoutView()).observe($('rig'));
window.addEventListener('keydown', (ev) => { window.addEventListener('keydown', (ev) => {
const typing = /^(INPUT|SELECT|TEXTAREA)$/.test(document.activeElement && document.activeElement.tagName); const typing = /^(INPUT|SELECT|TEXTAREA)$/.test(document.activeElement && document.activeElement.tagName);
if (ev.key === 'Escape' && app.selected && !typing) { if (ev.key === 'Escape' && app.sel.size && !typing) {
select(null); select(null);
} else if (app.edit && app.selected && !typing && (ev.key === 'Delete' || ev.key === 'Backspace')) { } else if (app.edit && app.sel.size && !typing && (ev.key === 'Delete' || ev.key === 'Backspace')) {
ev.preventDefault(); ev.preventDefault();
deleteFixture(app.selected); deleteSelected();
} else if (ev.key === ' ' && !typing) {
app.spaceDown = true; // hold Space and drag the canvas to pan
ev.preventDefault();
} else if (ev.key === '0' && !typing && !ev.ctrlKey && !ev.metaKey && !ev.altKey) {
zoomFit();
} }
}); });
window.addEventListener('keyup', (ev) => {
if (ev.key === ' ') {
app.spaceDown = false;
}
});
window.addEventListener('blur', () => {
app.spaceDown = false;
});
} }
async function main() { async function main() {
+7 -3
View File
@@ -1,7 +1,6 @@
.gallery-intro { margin: 0; padding: 10px 16px 0; color: var(--muted); max-width: 900px; }
.gallery { .gallery {
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); grid-template-columns: minmax(0, 1fr);
gap: 12px; gap: 12px;
padding: 12px 16px 24px; padding: 12px 16px 24px;
} }
@@ -16,12 +15,17 @@
min-width: 0; min-width: 0;
} }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card[hidden] { display: none; }
.pager { display: flex; align-items: center; gap: 6px; }
.pager select { min-width: 160px; font-family: ui-monospace, Menlo, Consolas, monospace; }
.pager button { padding: 2px 10px; }
.card-name { font-weight: 600; font-family: ui-monospace, Menlo, Consolas, monospace; } .card-name { font-weight: 600; font-family: ui-monospace, Menlo, Consolas, monospace; }
.card-head .btns { display: flex; gap: 4px; } .card-head .btns { display: flex; gap: 4px; }
.save-status { color: var(--muted); font-size: 11px; min-height: 14px; }
.card-head button { padding: 2px 8px; } .card-head button { padding: 2px 8px; }
.card canvas { width: 100%; height: 22px; display: block; background: #0b0c0f; border-radius: 4px; } .card canvas { width: 100%; height: 22px; display: block; background: #0b0c0f; border-radius: 4px; }
.card form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 8px; } .card form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 8px; }
.card form[hidden] { display: none; } .card form[hidden], .card form label[hidden] { display: none; }
.card form label { display: flex; flex-direction: column; gap: 2px; color: var(--muted); font-size: 11px; } .card form label { display: flex; flex-direction: column; gap: 2px; color: var(--muted); font-size: 11px; }
.card form label.wide { grid-column: span 2; } .card form label.wide { grid-column: span 2; }
.card form label.full { grid-column: 1 / -1; } .card form label.full { grid-column: 1 / -1; }
+6 -4
View File
@@ -24,16 +24,18 @@
<option value="2">2×</option><option value="4">4×</option> <option value="2">2×</option><option value="4">4×</option>
</select> </select>
</label> </label>
<div class="pager">
<button type="button" id="g-prev" class="secondary" title="Previous pattern (←)">‹</button>
<select id="g-pick" title="Choose a pattern"></select>
<button type="button" id="g-next" class="secondary" title="Next pattern (→)">›</button>
</div>
<button type="button" id="g-add" class="secondary" title="Add a preset copied from the one shown">Add preset</button>
<button type="button" id="g-pause" class="secondary">Pause</button> <button type="button" id="g-pause" class="secondary">Pause</button>
<button type="button" id="g-restart" class="secondary">Restart all</button> <button type="button" id="g-restart" class="secondary">Restart all</button>
<a class="button secondary" href="/sim/">Rig</a> <a class="button secondary" href="/sim/">Rig</a>
</div> </div>
</header> </header>
<div id="banner" class="banner" hidden></div> <div id="banner" class="banner" hidden></div>
<p class="gallery-intro">
Every pattern of the C++ led-driver, built to WebAssembly and stepped every 10 ms as on the strip. Fields are the
preset's (the names the controller sends). Leave the colour list empty for the pattern's own colours.
</p>
<main class="gallery" id="gallery"></main> <main class="gallery" id="gallery"></main>
<script type="module" src="/sim/gallery.js"></script> <script type="module" src="/sim/gallery.js"></script>
</body> </body>
+240 -26
View File
@@ -11,7 +11,7 @@ const MAX_STEPS = 25; // per animation frame, after the tab was in the backgroun
const LED_CAP = 512; const LED_CAP = 512;
const $ = (id) => document.getElementById(id); const $ = (id) => document.getElementById(id);
const state = { leds: 119, speed: 1, paused: false, cards: [] }; const state = { leds: 119, speed: 1, paused: false, cards: [], current: 0, wasm: null, defs: {} };
function banner(text) { function banner(text) {
const el = $('banner'); const el = $('banner');
@@ -39,6 +39,7 @@ async function instantiate(wasmModule) {
}); });
} }
// The preview runs the card's current values, so edits show at once. Save writes them to the controller only.
function presetJson(card) { function presetJson(card) {
return JSON.stringify(card.preset); return JSON.stringify(card.preset);
} }
@@ -118,7 +119,7 @@ function colourList(card) {
add.className = 'secondary'; add.className = 'secondary';
add.textContent = '+'; add.textContent = '+';
add.title = 'Add a colour'; add.title = 'Add a colour';
add.disabled = card.preset.colors.length >= 8; add.disabled = card.preset.colors.length >= card.maxColors;
add.onclick = () => { add.onclick = () => {
const last = card.preset.colors[card.preset.colors.length - 1]; const last = card.preset.colors[card.preset.colors.length - 1];
card.preset.colors.push(last ? [last[2], last[0], last[1]] : [255, 0, 0]); card.preset.colors.push(last ? [last[2], last[0], last[1]] : [255, 0, 0]);
@@ -142,6 +143,22 @@ function colourList(card) {
return l; return l;
} }
function nameField(card) {
const l = document.createElement('label');
l.className = 'full';
l.textContent = 'Name';
const i = document.createElement('input');
i.type = 'text';
i.maxLength = 32;
i.value = card.name;
i.oninput = () => {
card.name = i.value.trim() || card.name;
card.el.querySelector('.card-name').textContent = card.name;
};
l.append(i);
return l;
}
function bgField(card) { function bgField(card) {
const l = document.createElement('label'); const l = document.createElement('label');
l.textContent = 'Background'; l.textContent = 'Background';
@@ -156,11 +173,152 @@ function bgField(card) {
return l; return l;
} }
function buildCard(mod, index) { // The controller's pattern definitions (GET /patterns/definitions, as its preset editor reads them): the n-field
// labels, the style options (n6 "Style: 0 a, 1 b"), delay limits and how many colours a pattern takes.
function parseStyles(text) {
if (typeof text !== 'string') return null;
const out = {};
for (const part of text.replace(/^\s*Style:\s*/i, '').split(',')) {
const m = part.trim().match(/^(\d+)\s+(.*)$/);
if (m) out[Number(m[1])] = m[2];
}
return Object.keys(out).length ? out : null;
}
function defFor(pattern) {
return (state.defs && state.defs[pattern]) || {};
}
// Show only the n fields this pattern reads, with the controller's labels
function applySpec(card) {
const def = defFor(card.pattern);
for (const k of ['n1', 'n2', 'n3', 'n4']) {
const el = card.fields[k];
el.hidden = !def[k];
if (def[k]) el.firstChild.textContent = def[k];
}
card.fields.style.hidden = !parseStyles(def.n6);
}
function numFields(card) {
const fields = {};
for (const k of ['n1', 'n2', 'n3', 'n4']) fields[k] = numField(card, k, k);
fields.style = styleField(card);
card.fields = fields;
return Object.values(fields);
}
function styleField(card) {
const l = document.createElement('label');
l.textContent = 'Mode';
const sel = document.createElement('select');
const styles = parseStyles(defFor(card.pattern).n6) || {};
const values = Object.keys(styles).map(Number);
if (!values.includes(card.preset.mode)) values.push(card.preset.mode);
for (const v of values) {
sel.append(new Option(styles[v] ? `${v} ${styles[v]}` : `${v} (unknown)`, String(v)));
}
sel.value = String(card.preset.mode);
sel.onchange = () => {
card.preset.mode = Number(sel.value);
applySpec(card);
};
l.append(sel);
return l;
}
// A controller preset (GET /presets: "#RRGGBB" colours, n1..n6) as the gallery's fields
function fromSaved(s) {
const out = {};
out.colors = (s.colors || []).filter((c) => typeof c === 'string').map(rgb);
out.background = typeof s.background === 'string' ? rgb(s.background) : [0, 0, 0];
for (const k of ['delay', 'brightness', 'auto', 'reverse', 'fade', 'n1', 'n2', 'n3', 'n4', 'n5']) {
if (s[k] !== undefined && s[k] !== null) out[k] = s[k];
}
out.mode = s.n6 ?? s.mode ?? 0;
return out;
}
// The controller's preset fields for a card (colours and background as "#RRGGBB")
function payloadFor(card) {
const p = card.preset;
return {
name: card.name,
pattern: card.pattern,
colors: p.colors.map((c) => hex(c).toUpperCase()),
background: hex(p.background || [0, 0, 0]).toUpperCase(),
brightness: p.brightness,
delay: p.delay,
auto: p.auto,
reverse: p.reverse,
n1: p.n1,
n2: p.n2,
n3: p.n3,
n4: p.n4,
n5: p.n5,
n6: p.mode,
};
}
const JSON_HEADERS = { 'Content-Type': 'application/json', Accept: 'application/json' };
// Rebuild the dropdown from the cards (keeps the shown one selected)
function refreshPick() {
const sel = $('g-pick');
sel.replaceChildren(...state.cards.map((c, i) => new Option(`${i + 1}. ${c.name} (${c.pattern})`, String(i))));
sel.value = String(state.current);
}
async function save(card) {
const status = card.el.querySelector('.save-status');
status.textContent = 'Saving…';
try {
const r = await fetch(`/presets/${card.id}`, {
method: 'PUT',
headers: JSON_HEADERS,
body: JSON.stringify(payloadFor(card)),
});
if (!r.ok) throw new Error(`HTTP ${r.status}`);
card.el.querySelector('.card-name').textContent = card.name;
card.applied = JSON.parse(JSON.stringify(card.preset));
apply(card, false);
refreshPick();
status.textContent = 'Saved';
} catch (err) {
status.textContent = `Save failed: ${err.message}`;
}
}
// A new preset on the controller, copied from the shown card
async function addPreset() {
const src = state.cards[state.current];
if (!src) return;
try {
const r = await fetch('/presets', {
method: 'POST',
headers: JSON_HEADERS,
body: JSON.stringify({ ...payloadFor(src), name: `${src.name} copy` }),
});
if (!r.ok) throw new Error(`HTTP ${r.status}`);
const out = await r.json();
const id = Object.keys(out)[0];
const mod = await instantiate(state.wasm);
const card = buildCard(mod, src.index, { ...out[id], id });
state.cards.push(card);
$('gallery').append(card.el);
$('g-count').textContent = `${state.cards.length} presets`;
refreshPick();
show(state.cards.length - 1);
} catch (err) {
banner(`Could not add the preset: ${err.message}`);
}
}
function buildCard(mod, index, saved) {
mod._fx_init(state.leds); mod._fx_init(state.leds);
const name = mod.UTF8ToString(mod._fx_name(index)); const name = saved.name || mod.UTF8ToString(mod._fx_name(index));
const ptr = mod._fx_defaults_json(index); const ptr = mod._fx_defaults_json(index);
const preset = JSON.parse(mod.UTF8ToString(ptr)); const preset = { ...JSON.parse(mod.UTF8ToString(ptr)), ...fromSaved(saved) };
mod._free(ptr); mod._free(ptr);
preset.n5 = preset.n5 ?? 0; preset.n5 = preset.n5 ?? 0;
@@ -169,14 +327,19 @@ function buildCard(mod, index) {
el.innerHTML = el.innerHTML =
'<div class="card-head"><span class="card-name"></span><span class="btns">' + '<div class="card-head"><span class="card-name"></span><span class="btns">' +
'<button type="button" class="secondary" data-a="restart" title="Restart the pattern">↺</button>' + '<button type="button" class="secondary" data-a="restart" title="Restart the pattern">↺</button>' +
'<button type="button" class="secondary" data-a="edit" aria-expanded="false">Edit</button></span></div>' + '<button type="button" data-a="save" title="Save this preset to the controller">Save</button></span></div>' +
'<span class="save-status" aria-live="polite"></span>' +
'<canvas></canvas>'; '<canvas></canvas>';
el.querySelector('.card-name').textContent = name; el.querySelector('.card-name').textContent = name;
const card = { const card = {
mod, mod,
index, index,
id: saved.id,
pattern: saved.pattern,
maxColors: defFor(saved.pattern).max_colors ?? 8,
name, name,
preset, preset,
applied: JSON.parse(JSON.stringify(preset)),
el, el,
canvas: el.querySelector('canvas'), canvas: el.querySelector('canvas'),
clock: 0, clock: 0,
@@ -185,30 +348,27 @@ function buildCard(mod, index) {
last: null, last: null,
}; };
const form = document.createElement('form'); const form = document.createElement('form');
form.hidden = true;
form.onsubmit = (ev) => ev.preventDefault(); form.onsubmit = (ev) => ev.preventDefault();
const def = defFor(saved.pattern);
const colours = colourList(card);
colours.hidden = card.maxColors === 0; // as the controller: no colour list for a pattern that takes none
const reverse = checkField(card, 'reverse', 'reverse', false);
reverse.hidden = !def.supports_reverse; // as the controller: only for patterns that support it
form.append( form.append(
colourList(card), nameField(card),
colours,
bgField(card), bgField(card),
numField(card, 'delay', 'Delay d (ms)', { min: 10, max: 10000 }), numField(card, 'delay', 'Delay d (ms)', { min: def.min_delay ?? 10, max: def.max_delay ?? 10000 }),
numField(card, 'brightness', 'Bright b', { min: 0, max: 255 }), numField(card, 'brightness', 'Bright b', { min: 0, max: 255 }),
numField(card, 'mode', 'Style n6', { min: 0 }), numField(card, 'fade', 'Fade (ms)', { min: 0, max: 10000, step: 50 }),
numField(card, 'n1', 'n1'), ...numFields(card),
numField(card, 'n2', 'n2'), reverse,
numField(card, 'n3', 'n3'),
numField(card, 'n4', 'n4'),
numField(card, 'n5', 'n5'),
checkField(card, 'reverse', 'reverse', false),
checkField(card, 'auto', 'auto a', true), checkField(card, 'auto', 'auto a', true),
checkField(card, 'beat_time', 'beat time', false),
); );
el.append(form); el.append(form);
el.querySelector('[data-a=edit]').onclick = (ev) => { el.querySelector('[data-a=save]').onclick = () => save(card);
form.hidden = !form.hidden;
ev.currentTarget.setAttribute('aria-expanded', String(!form.hidden));
ev.currentTarget.textContent = form.hidden ? 'Edit' : 'Close';
};
el.querySelector('[data-a=restart]').onclick = () => apply(card, true); el.querySelector('[data-a=restart]').onclick = () => apply(card, true);
applySpec(card);
apply(card, true); apply(card, true);
return card; return card;
} }
@@ -240,6 +400,19 @@ function draw(card) {
} }
} }
// Show one pattern card at a time (index wraps at the ends)
function show(index) {
const n = state.cards.length;
if (!n) return;
state.current = (index + n) % n;
state.cards.forEach((c, i) => {
c.el.hidden = i !== state.current;
});
$('g-pick').value = String(state.current);
$('g-prev').disabled = n < 2;
$('g-next').disabled = n < 2;
}
let lastT = 0; let lastT = 0;
function tick(t) { function tick(t) {
const dt = lastT ? Math.min(250, t - lastT) : 0; const dt = lastT ? Math.min(250, t - lastT) : 0;
@@ -256,8 +429,13 @@ function tick(t) {
if (card.next <= card.clock) { if (card.next <= card.clock) {
card.next = Math.ceil(card.clock / FRAME_MS) * FRAME_MS; // fell behind: skip ahead card.next = Math.ceil(card.clock / FRAME_MS) * FRAME_MS; // fell behind: skip ahead
} }
draw(card);
} }
const shown = state.cards[state.current];
const status = shown.el.querySelector('.save-status');
const dirty = JSON.stringify(shown.preset) !== JSON.stringify(shown.applied);
if (dirty) status.textContent = 'Unsaved changes (press Save to keep them)';
else if (status.textContent.startsWith('Unsaved')) status.textContent = '';
draw(shown); // only the shown pattern is drawn
} }
requestAnimationFrame(tick); requestAnimationFrame(tick);
} }
@@ -270,16 +448,43 @@ async function main() {
banner(`Could not load the pattern engine (web/wasm/led_fx.wasm): ${err}. Build it with make sim-wasm, then rebuild the controller.`); banner(`Could not load the pattern engine (web/wasm/led_fx.wasm): ${err}. Build it with make sim-wasm, then rebuild the controller.`);
return; return;
} }
try {
const r = await fetch('/patterns/definitions', { headers: { Accept: 'application/json' } });
if (!r.ok) throw new Error(`HTTP ${r.status}`);
state.defs = await r.json();
} catch (err) {
banner(`Could not load the pattern definitions from the controller: ${err}. Field labels are missing.`);
}
const first = await instantiate(wasmModule); const first = await instantiate(wasmModule);
const count = first._fx_count(); const count = first._fx_count();
$('g-count').textContent = `${count} patterns`; const patternNames = [];
for (let i = 0; i < count; i += 1) patternNames.push(first.UTF8ToString(first._fx_name(i)));
state.wasm = wasmModule;
let saved = [];
try {
const r = await fetch('/presets', { headers: { Accept: 'application/json' } });
if (!r.ok) throw new Error(`HTTP ${r.status}`);
saved = Object.values(await r.json());
} catch (err) {
banner(`Could not load the presets from the controller: ${err}`);
}
const list = saved
.map((p) => ({ p, index: patternNames.indexOf(p.pattern) }))
.filter((x) => x.index >= 0);
const skipped = saved.length - list.length;
if (skipped) banner(`${skipped} preset(s) use a pattern this build does not have and are not shown.`);
$('g-count').textContent = `${list.length} presets`;
const grid = $('gallery'); const grid = $('gallery');
for (let i = 0; i < count; i += 1) { for (let i = 0; i < list.length; i += 1) {
const mod = i === 0 ? first : await instantiate(wasmModule); const mod = i === 0 ? first : await instantiate(wasmModule);
const card = buildCard(mod, i); const card = buildCard(mod, list[i].index, list[i].p);
state.cards.push(card); state.cards.push(card);
grid.append(card.el); grid.append(card.el);
} }
refreshPick();
$('g-pick').onchange = () => show(Number($('g-pick').value));
$('g-leds').onchange = () => { $('g-leds').onchange = () => {
const n = Math.max(1, Math.min(LED_CAP, Math.round(Number($('g-leds').value)) || 119)); const n = Math.max(1, Math.min(LED_CAP, Math.round(Number($('g-leds').value)) || 119));
$('g-leds').value = n; $('g-leds').value = n;
@@ -297,6 +502,15 @@ async function main() {
$('g-pause').textContent = state.paused ? 'Play' : 'Pause'; $('g-pause').textContent = state.paused ? 'Play' : 'Pause';
}; };
$('g-restart').onclick = () => state.cards.forEach((c) => apply(c, true)); $('g-restart').onclick = () => state.cards.forEach((c) => apply(c, true));
$('g-add').onclick = () => addPreset();
$('g-prev').onclick = () => show(state.current - 1);
$('g-next').onclick = () => show(state.current + 1);
document.addEventListener('keydown', (ev) => {
if (ev.target.closest('input, select, textarea')) return;
if (ev.key === 'ArrowLeft') show(state.current - 1);
if (ev.key === 'ArrowRight') show(state.current + 1);
});
show(0);
requestAnimationFrame(tick); requestAnimationFrame(tick);
} }
+9 -11
View File
@@ -15,16 +15,20 @@
<span class="brand-name">led-simulator</span> <span class="brand-name">led-simulator</span>
</div> </div>
<div class="chips"> <div class="chips">
<span class="chip" id="bridge-chip" title="The rig's bridge: frames from the controller come in as from this MAC">bridge</span>
<span class="chip" id="controller-chip">controller: –</span>
<button type="button" id="add-bridge" class="secondary" hidden <button type="button" id="add-bridge" class="secondary" hidden
title="The controller sends its ESP-NOW frames only to the bridges in its settings">Add the browser bridge</button> title="The controller sends its ESP-NOW frames only to the bridges in its settings">Add the browser bridge</button>
<span class="chip" id="strips-chip">strips: –</span>
</div> </div>
<div class="room-bar"> <div class="room-bar">
<label class="field-inline">Room <select id="room-select" aria-label="Room"></select></label> <label class="field-inline">Room <select id="room-select" aria-label="Room"></select></label>
<button type="button" id="edit-toggle" class="secondary">Edit room</button> <button type="button" id="edit-toggle" class="secondary">Edit room</button>
<span class="zoom-tools" role="group" aria-label="Zoom">
<button type="button" id="zoom-out" class="secondary" aria-label="Zoom out" title="Zoom out (wheel)">−</button>
<button type="button" id="zoom-fit" class="secondary" title="Fit the room (0)">Fit</button>
<button type="button" id="zoom-in" class="secondary" aria-label="Zoom in" title="Zoom in (wheel)">+</button>
</span>
<span id="edit-tools" class="edit-tools" hidden> <span id="edit-tools" class="edit-tools" hidden>
<button type="button" id="add-strip">Add strip</button>
<button type="button" id="centre-strips" class="secondary" title="Move all the strips so they sit in the middle of the room">Centre strips</button>
<button type="button" id="room-settings" class="secondary">Size &amp; strip types…</button> <button type="button" id="room-settings" class="secondary">Size &amp; strip types…</button>
<button type="button" id="room-new" class="secondary">New room…</button> <button type="button" id="room-new" class="secondary">New room…</button>
<button type="button" id="room-delete" class="secondary">Delete room</button> <button type="button" id="room-delete" class="secondary">Delete room</button>
@@ -33,19 +37,15 @@
</div> </div>
<div class="actions"> <div class="actions">
<a class="button secondary not-embedded" href="/">Controller</a> <a class="button secondary not-embedded" href="/">Controller</a>
<a class="button secondary" href="/sim/gallery" target="_blank" rel="noopener">Pattern gallery</a>
<button type="button" id="power-on-all">Power on all</button>
<button type="button" id="power-cycle-all">Power cycle all</button>
<button type="button" id="power-off-all" class="secondary">Power off all</button>
<label class="toggle" title="Boot every strip when this page opens"> <label class="toggle" title="Boot every strip when this page opens">
<input type="checkbox" id="auto-power"> Power on when opened <input type="checkbox" id="auto-power"> Auto-power
</label> </label>
</div> </div>
</header> </header>
<div id="banner" class="banner" hidden></div> <div id="banner" class="banner" hidden></div>
<div class="edit-hint" id="edit-hint"> <div class="edit-hint" id="edit-hint">
Click the floor to add a strip · drag a strip to move it (Alt: no snap) · drag its end circle to turn it (Shift: no snap) · Delete removes the selected strip Add strip or click the floor to add one · drag the floor to select the strips in a box (Shift: add to the selection; zoomed in, a plain drag pans instead) ·Shift-click a strip to add or remove it · drag a selected strip to move them all (Alt: no snap) · drag its end circle to turn it (Shift: no snap) · Delete removes the selection · wheel or +/− zooms, right-drag, middle-drag or Space-drag pans
</div> </div>
<main class="stage"> <main class="stage">
@@ -95,8 +95,6 @@
</aside> </aside>
</main> </main>
<footer class="hint" id="hint">Loading…</footer>
<dialog id="room-dialog" aria-labelledby="r-title"> <dialog id="room-dialog" aria-labelledby="r-title">
<h2 id="r-title">Room size and strip types</h2> <h2 id="r-title">Room size and strip types</h2>
<div class="dialog-row"> <div class="dialog-row">
+9 -6
View File
@@ -38,17 +38,20 @@
} }
/** /**
* Fit the room to a width x height canvas with one scale. * Fit the room to a width x height canvas with one scale, then zoom and pan it.
* @returns {object} {scale, sx(x), sy(y), mx(px), my(py)} metres -> px and back * @param zoom {z, x, y}: z scales about the room's centre (1 = fitted), x and y move it in canvas px.
* @returns {object} {scale, base, sx(x), sy(y), mx(px), my(py)} metres -> px and back
*/ */
function fit(room, width, height, margin = 28) { function fit(room, width, height, margin = 28, zoom = {}) {
const scale = Math.max( const base = Math.max(
1e-3, 1e-3,
Math.min((width - 2 * margin) / room.width, (height - 2 * margin) / room.depth), Math.min((width - 2 * margin) / room.width, (height - 2 * margin) / room.depth),
); );
const ox = width / 2; const scale = base * (zoom.z || 1);
const oy = height / 2 + (room.depth / 2) * scale; const ox = width / 2 + (zoom.x || 0);
const oy = height / 2 + (room.depth / 2) * scale + (zoom.y || 0);
return { return {
base,
scale, scale,
sx: (x) => ox + x * scale, sx: (x) => ox + x * scale,
sy: (y) => oy - y * scale, sy: (y) => oy - y * scale,
+11 -13
View File
@@ -55,8 +55,8 @@ button.link {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
align-items: center; align-items: center;
gap: 10px 18px; gap: 6px 12px;
padding: 10px 16px; padding: 6px 12px;
border-bottom: 1px solid var(--line); border-bottom: 1px solid var(--line);
background: var(--panel); background: var(--panel);
} }
@@ -104,6 +104,10 @@ button.link {
width: 100%; width: 100%;
height: 100%; height: 100%;
cursor: pointer; cursor: pointer;
/* A finger or pen drag moves strips and the view, not the page: without this the browser scrolls the
page and cancels the pointer, so the drag stops */
touch-action: none;
user-select: none;
} }
.drawer { .drawer {
@@ -151,16 +155,6 @@ button.link {
.state-running { color: var(--ok); } .state-running { color: var(--ok); }
.state-crashed { color: var(--bad); } .state-crashed { color: var(--bad); }
.hint {
padding: 8px 16px;
border-top: 1px solid var(--line);
color: var(--muted);
background: var(--panel);
}
.hint code {
color: var(--text);
font-family: ui-monospace, Menlo, Consolas, monospace;
}
@media (max-width: 760px) { @media (max-width: 760px) {
.stage { flex-direction: column; } .stage { flex-direction: column; }
@@ -169,9 +163,13 @@ button.link {
} }
/* ---- rooms and the editor ---- */ /* ---- rooms and the editor ---- */
.room-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; } /* The room controls and the menu sit in the top bar itself (one row, wrapping only when the window is narrow),
so the editor gets the rest of the height */
.room-bar, .actions { display: contents; }
.edit-tools { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; } .edit-tools { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.edit-tools[hidden] { display: none; } .edit-tools[hidden] { display: none; }
.zoom-tools { display: inline-flex; align-items: center; gap: 4px; }
.zoom-tools button { min-width: 2.2em; }
.field-inline { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); } .field-inline { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.muted { color: var(--muted); } .muted { color: var(--muted); }
select, input { select, input {
+15 -3
View File
@@ -293,7 +293,9 @@ static bool wifi_in_group(const cJSON *dev, const char *id, const char *gid)
return cJSON_IsString(name) && names && name_seen(names, cJSON_GetArraySize(names), name->valuestring); return cJSON_IsString(name) && names && name_seen(names, cJSON_GetArraySize(names), name->valuestring);
} }
if (gid[0] == 'd') { if (gid[0] == 'd') {
return false; // a driver's own group is an ESP-NOW MAC // a driver's own group: d<mac>, the MAC in its record (a Wi-Fi driver's record has one too)
const cJSON *mac = cJSON_GetObjectItem(dev, "mac");
return cJSON_IsString(mac) && !strcmp(mac->valuestring, gid + 1);
} }
const cJSON *group = cJSON_GetObjectItem(store_coll("group"), gid); const cJSON *group = cJSON_GetObjectItem(store_coll("group"), gid);
const cJSON *list = group ? cJSON_GetObjectItem(group, "devices") : NULL, *it; const cJSON *list = group ? cJSON_GetObjectItem(group, "devices") : NULL, *it;
@@ -737,9 +739,10 @@ static const char *const TOP_SHORT[][2] = {
}; };
static const char *const PRESET_SHORT[][2] = { static const char *const PRESET_SHORT[][2] = {
{ "pattern", "p" }, { "colors", "c" }, { "delay", "d" }, { "brightness", "b" }, { "auto", "a" }, { "background", "bg" }, { "pattern", "p" }, { "colors", "c" }, { "delay", "d" }, { "brightness", "b" }, { "auto", "a" }, { "background", "bg" },
{ "fade", "f" }, { "beat_time", "tb" }, { "fade", "f" },
}; };
static const char *const PRESET_KEYS[] = { "p", "c", "d", "b", "a", "bg", "n1", "n2", "n3", "n4", "n5", "n6", "f", "tb" }; // Presets are always timed in ms; beats belong to sequences (seqplay.c), so no tb goes to drivers
static const char *const PRESET_KEYS[] = { "p", "c", "d", "b", "a", "bg", "n1", "n2", "n3", "n4", "n5", "n6", "f" };
static const char *short_key(const char *const map[][2], size_t n, const char *k) static const char *short_key(const char *const map[][2], size_t n, const char *k)
{ {
@@ -1403,3 +1406,12 @@ esp_err_t engine_init(void)
rel_set_announce_cb(on_announce); rel_set_announce_cb(on_announce);
return ESP_OK; return ESP_OK;
} }
bool engine_mac_in_zone(const char *hex12, const char *zone_id)
{
uint8_t mac[6];
if (!hex_mac(hex12, mac)) {
return false;
}
return driver_in_zone(mac, device_name_for(mac), zone_id);
}
+2
View File
@@ -26,6 +26,8 @@ int engine_group_macs(const char *gid, char out[][13], int max);
int engine_zone_wifi_ids(const char *zone_id, char out[][GROUP_ID_MAX], int max); int engine_zone_wifi_ids(const char *zone_id, char out[][GROUP_ID_MAX], int max);
// The preset a zone last played (engine_play / engine_stop), or NULL. Call with the store locked. // The preset a zone last played (engine_play / engine_stop), or NULL. Call with the store locked.
const char *engine_zone_current(const char *zone_id); const char *engine_zone_current(const char *zone_id);
// Is the driver with this MAC (12 hex digits) in one of the zone's groups? Call with the store locked.
bool engine_mac_in_zone(const char *hex12, const char *zone_id);
// Record preset_id as what zone_id plays, when the UI has sent it to the drivers itself // Record preset_id as what zone_id plays, when the UI has sent it to the drivers itself
void engine_zone_note(const char *zone_id, const char *preset_id); void engine_zone_note(const char *zone_id, const char *preset_id);
+1 -1
View File
@@ -157,7 +157,7 @@ static const struct {
{ "bar_graph", "{\"n1\":\"Level (0-100 %)\",\"min_delay\":10,\"max_delay\":60000,\"max_colors\":10}" }, { "bar_graph", "{\"n1\":\"Level (0-100 %)\",\"min_delay\":10,\"max_delay\":60000,\"max_colors\":10}" },
{ "blizzard", "{\"n1\":\"Flake density (0-255)\",\"n2\":\"Speed\",\"n3\":\"Wind (128 still, below/above blows one way/other)\",\"min_delay\":10,\"max_delay\":60000,\"max_colors\":10}" }, { "blizzard", "{\"n1\":\"Flake density (0-255)\",\"n2\":\"Speed\",\"n3\":\"Wind (128 still, below/above blows one way/other)\",\"min_delay\":10,\"max_delay\":60000,\"max_colors\":10}" },
{ "candle_glow", "{\"n1\":\"Candles\",\"n2\":\"Candle width (LEDs)\",\"n3\":\"Flicker (0-255)\",\"min_delay\":10,\"max_delay\":60000,\"max_colors\":10}" }, { "candle_glow", "{\"n1\":\"Candles\",\"n2\":\"Candle width (LEDs)\",\"n3\":\"Flicker (0-255)\",\"min_delay\":10,\"max_delay\":60000,\"max_colors\":10}" },
{ "chase", "{\"n1\":\"Segment on (LEDs)\",\"n2\":\"Segment off (LEDs)\",\"n3\":\"Step (LEDs, negative = backwards)\",\"n4\":\"Step B, chase only (negative = backwards)\",\"n6\":\"Style: 0 chase, 1 marquee\",\"min_delay\":10,\"max_delay\":60000,\"max_colors\":10}" }, { "chase", "{\"n1\":\"Segment on (LEDs)\",\"n2\":\"Segment off (LEDs)\",\"n3\":\"Step (LEDs, negative = backwards)\",\"n4\":\"Step B, chase only (negative = backwards)\",\"min_delay\":10,\"max_delay\":60000,\"max_colors\":10}" },
{ "circle", "{\"n1\":\"Head speed (LEDs/s)\",\"n2\":\"Max length (LEDs)\",\"n3\":\"Tail speed (LEDs/s)\",\"n4\":\"Min length (LEDs)\",\"min_delay\":10,\"max_delay\":60000,\"max_colors\":10}" }, { "circle", "{\"n1\":\"Head speed (LEDs/s)\",\"n2\":\"Max length (LEDs)\",\"n3\":\"Tail speed (LEDs/s)\",\"n4\":\"Min length (LEDs)\",\"min_delay\":10,\"max_delay\":60000,\"max_colors\":10}" },
{ "clock_sweep", "{\"n1\":\"Hand width (LEDs)\",\"n2\":\"Marker every (LEDs, 0 = none)\",\"min_delay\":10,\"max_delay\":60000,\"max_colors\":10}" }, { "clock_sweep", "{\"n1\":\"Hand width (LEDs)\",\"n2\":\"Marker every (LEDs, 0 = none)\",\"min_delay\":10,\"max_delay\":60000,\"max_colors\":10}" },
{ "colour_cycle", "{\"n1\":\"Step\",\"n6\":\"Style: 0 colours, 1 rainbow wheel\",\"min_delay\":10,\"max_delay\":60000,\"max_colors\":10}" }, { "colour_cycle", "{\"n1\":\"Step\",\"n6\":\"Style: 0 colours, 1 rainbow wheel\",\"min_delay\":10,\"max_delay\":60000,\"max_colors\":10}" },
+21 -12
View File
@@ -770,27 +770,36 @@ static void restore(const macs_t *drivers, const char *zone)
send_lane(&s_base, i); send_lane(&s_base, i);
} }
} else { } else {
// The zone's last preset, on these drivers only (a pseudo player with one target) // The drivers the one-shot lit go back to their background: the zone's last preset if the driver is in
static target_t t; // the zone, else off (a driver outside the zone has no background). One target each, by its own group
player_t one = { .target = &t, .ntargets = 1 }; // (d<mac>). Wi-Fi drivers (hostname ids) are not handled here
t.n = 0; static target_t tin[MACS_MAX], tout[MACS_MAX];
char z[ZONE_TARGETS_MAX][GROUP_ID_MAX]; int nin = 0, nout = 0;
int n = engine_zone_targets(zone, z, ZONE_TARGETS_MAX); for (int i = 0; i < drivers->n; i++) {
for (int i = 0; i < n && t.n < TGROUPS_MAX; i++) { if (strlen(drivers->m[i]) != 12) {
snprintf(t.g[t.n++], GROUP_ID_MAX, "%s", z[i]); continue;
} }
target_t *tt = engine_mac_in_zone(drivers->m[i], zone) ? &tin[nin++] : &tout[nout++];
tt->n = 1;
snprintf(tt->g[0], GROUP_ID_MAX, "d%s", drivers->m[i]);
}
player_t pin = { .target = tin, .ntargets = nin };
player_t pout = { .target = tout, .ntargets = nout };
uint32_t allin = nin >= 32 ? 0xffffffffu : (1u << nin) - 1;
uint32_t allout = nout >= 32 ? 0xffffffffu : (1u << nout) - 1;
const char *cur = engine_zone_current(zone); const char *cur = engine_zone_current(zone);
if (cur && strcmp(cur, "off")) { if (nin && cur && strcmp(cur, "off")) {
cJSON *presets = cJSON_CreateObject(); cJSON *presets = cJSON_CreateObject();
cJSON *pl = engine_preset_payload(cur); cJSON *pl = engine_preset_payload(cur);
if (pl) { if (pl) {
cJSON_AddItemToObject(presets, cur, pl); cJSON_AddItemToObject(presets, cur, pl);
} }
upload(&one, 1, presets); upload(&pin, allin, presets);
select_on(&one, 1, cur); select_on(&pin, allin, cur);
} else { } else {
select_on(&one, 1, "off"); select_on(&pin, allin, "off");
} }
select_on(&pout, allout, "off");
} }
s_restoring = false; s_restoring = false;
s_restore.n = 0; s_restore.n = 0;
+26 -19
View File
@@ -15,7 +15,7 @@
* POST /sim/api/rooms {name, width, depth, copy_from?}: a new room * POST /sim/api/rooms {name, width, depth, copy_from?}: a new room
* GET|PUT|DELETE /sim/api/rooms/<name> * GET|PUT|DELETE /sim/api/rooms/<name>
* POST /sim/api/room {name}: switch the rig to that room * POST /sim/api/room {name}: switch the rig to that room
* GET /sim/api/next-mac?taken= a MAC no room uses * POST /sim/api/next-mac {taken: [mac, ...]}: a MAC no room or the page uses
* *
* Rooms follow the stage maps of the qlcplus simulator: one JSON file per room in <db>/sim/rooms/, a size in * Rooms follow the stage maps of the qlcplus simulator: one JSON file per room in <db>/sim/rooms/, a size in
* metres, strip types ("definitions") and "fixtures" keyed by id, each one LED bar: x, y (metres) is pixel 0, * metres, strip types ("definitions") and "fixtures" keyed by id, each one LED bar: x, y (metres) is pixel 0,
@@ -780,7 +780,8 @@ static esp_err_t flash_get(httpd_req_t *req, const char *mac_in)
return api_json(req, "200 OK", nvs, true); return api_json(req, "200 OK", nvs, true);
} }
static void next_mac(const char *taken, char out[18]) // taken: the page's MACs (a JSON array of strings, may be NULL), not yet saved in any room
static void next_mac(const cJSON *taken, char out[18])
{ {
cJSON *names = room_names(), *n; cJSON *names = room_names(), *n;
char err[160]; char err[160];
@@ -801,9 +802,21 @@ static void next_mac(const char *taken, char out[18])
cJSON_Delete(room); cJSON_Delete(room);
} }
cJSON_Delete(names); cJSON_Delete(names);
const cJSON *t;
cJSON_ArrayForEach(t, taken)
{
if (all && cJSON_IsString(t) && len + 20 < cap) {
len += (size_t)snprintf(all + len, cap - len, "%s,", t->valuestring);
}
}
if (all) {
for (char *c = all; *c; c++) { // MACs compare in lower case
*c = (char)tolower((unsigned char)*c);
}
}
for (int i = 1; i < 0xFFFF; i++) { for (int i = 1; i < 0xFFFF; i++) {
snprintf(out, 18, MAC_PREFIX ":00:%02x:%02x", i >> 8, i & 0xFF); snprintf(out, 18, MAC_PREFIX ":00:%02x:%02x", i >> 8, i & 0xFF);
if ((!all || !strstr(all, out)) && (!taken || !strstr(taken, out))) { if (!all || !strstr(all, out)) {
break; break;
} }
} }
@@ -844,25 +857,19 @@ static esp_err_t api_handler(httpd_req_t *req)
} else if (!strcmp(a, "flash") && b[0] && m == HTTP_GET) { } else if (!strcmp(a, "flash") && b[0] && m == HTTP_GET) {
xSemaphoreGive(s_mu); // flash_get takes it for the write xSemaphoreGive(s_mu); // flash_get takes it for the write
return flash_get(req, b); return flash_get(req, b);
} else if (!strcmp(a, "next-mac") && m == HTTP_GET) { } else if (!strcmp(a, "next-mac") && m == HTTP_POST) {
char q[600] = "", taken[600] = "", mac[18]; // {taken: [mac, ...]} in the body: a long list in the query would pass the URI limit (512 bytes)
if (httpd_req_get_url_query_str(req, q, sizeof(q)) == ESP_OK) { cJSON *body = api_body(req);
httpd_query_key_value(q, "taken", taken, sizeof(taken)); if (!body) {
} ret = ESP_OK;
for (char *c = taken; *c; c++) { // %3A and %2C from encodeURIComponent; MACs compare in lower case } else {
*c = (char)tolower((unsigned char)*c); char mac[18];
if (c[0] == '%' && c[1] == '3' && (c[2] == 'A' || c[2] == 'a')) { next_mac(cJSON_GetObjectItem(body, "taken"), mac);
c[0] = ':'; cJSON_Delete(body);
memmove(c + 1, c + 3, strlen(c + 3) + 1);
} else if (c[0] == '%' && c[1] == '2' && (c[2] == 'C' || c[2] == 'c')) {
c[0] = ',';
memmove(c + 1, c + 3, strlen(c + 3) + 1);
}
}
next_mac(taken, mac);
cJSON *o = cJSON_CreateObject(); cJSON *o = cJSON_CreateObject();
cJSON_AddStringToObject(o, "mac", mac); cJSON_AddStringToObject(o, "mac", mac);
ret = api_json(req, "200 OK", o, true); ret = api_json(req, "200 OK", o, true);
}
} else if (!strcmp(a, "rooms") && !b[0] && m == HTTP_GET) { } else if (!strcmp(a, "rooms") && !b[0] && m == HTTP_GET) {
ret = rooms_info(req); ret = rooms_info(req);
} else if (!strcmp(a, "rooms") && !b[0] && m == HTTP_POST) { } else if (!strcmp(a, "rooms") && !b[0] && m == HTTP_POST) {
+4
View File
@@ -1179,6 +1179,10 @@ document.addEventListener('DOMContentLoaded', () => {
} }
updateManualModeAvailability(); updateManualModeAvailability();
}; };
presetModeInput?.addEventListener('change', () => {
const patternName = presetPatternInput ? presetPatternInput.value.trim() : '';
updatePresetNLabels(patternName, { mode: presetModeInput.value, n6: presetModeInput.value });
});
const renderPresets = (presets) => { const renderPresets = (presets) => {
presetsList.innerHTML = ''; presetsList.innerHTML = '';
+47 -24
View File
@@ -101,6 +101,11 @@ function tlWindowOf(doc) {
} }
/** The window in both units, as saved: the player and older clients read whichever they use. */ /** The window in both units, as saved: the player and older clients read whichever they use. */
/** The length of a clip dropped or clicked in: fixed, so only the end marker changes the sequence's duration. */
function tlNewLen() {
return tlTimed() ? 4 : TL_BAR;
}
function tlWindowFields() { function tlWindowFields() {
const w = tlLoopLen(); const w = tlLoopLen();
const beatS = 60 / tlBpm(); const beatS = 60 / tlBpm();
@@ -472,14 +477,17 @@ function tlRender() {
} }
ruler.appendChild(tick); ruler.appendChild(tick);
} }
if (loop) { {
// The end marker sets the loop's length, or, with Loop off, how long the one-shot plays
const brace = document.createElement('div'); const brace = document.createElement('div');
brace.className = 'tl-loop'; brace.className = 'tl-loop';
brace.style.width = `${loopLen * ppb}px`; brace.style.width = `${loopLen * ppb}px`;
brace.title = 'Loop: every track restarts here. Drag the end to change it.'; brace.title = loop
? 'Loop: every track restarts here. Drag the end to change it.'
: 'Duration: the one-shot plays this long. Drag the end to change it.';
const end = document.createElement('div'); const end = document.createElement('div');
end.className = 'tl-loop-end'; end.className = 'tl-loop-end';
end.title = 'Drag to set where the loop restarts'; end.title = loop ? 'Drag to set where the loop restarts' : 'Drag to set how long the one-shot plays';
end.addEventListener('pointerdown', (e) => tlStartDrag(e, { kind: 'loop' })); end.addEventListener('pointerdown', (e) => tlStartDrag(e, { kind: 'loop' }));
brace.appendChild(end); brace.appendChild(end);
ruler.appendChild(brace); ruler.appendChild(brace);
@@ -609,12 +617,7 @@ function tlRenderAddTrack() {
.sort(byName(seqEd.groupsMap)) .sort(byName(seqEd.groupsMap))
.forEach((g) => gg.appendChild(new Option((seqEd.groupsMap[g] && seqEd.groupsMap[g].name) || g, `g:${g}`))); .forEach((g) => gg.appendChild(new Option((seqEd.groupsMap[g] && seqEd.groupsMap[g].name) || g, `g:${g}`)));
if (gg.children.length) sel.appendChild(gg); if (gg.children.length) sel.appendChild(gg);
const dg = document.createElement('optgroup'); // Sequences play to groups only: no single drivers as tracks
dg.label = 'Single drivers';
Object.keys(seqEd.devicesMap)
.sort(byName(seqEd.devicesMap))
.forEach((m) => dg.appendChild(new Option((seqEd.devicesMap[m] && seqEd.devicesMap[m].name) || m, `d:${m}`)));
if (dg.children.length) sel.appendChild(dg);
sel.appendChild(new Option('Empty track (pick later)', 'empty')); sel.appendChild(new Option('Empty track (pick later)', 'empty'));
sel.value = ''; sel.value = '';
} }
@@ -629,9 +632,6 @@ function tlAddTrack(v) {
if (v.startsWith('g:')) { if (v.startsWith('g:')) {
const g = v.slice(2); const g = v.slice(2);
t = { name: (seqEd.groupsMap[g] && seqEd.groupsMap[g].name) || g, group_ids: [g] }; t = { name: (seqEd.groupsMap[g] && seqEd.groupsMap[g].name) || g, group_ids: [g] };
} else if (v.startsWith('d:')) {
const m = v.slice(2);
t = { name: (seqEd.devicesMap[m] && seqEd.devicesMap[m].name) || m, devices: [m] };
} }
if (addSeqTarget(t)) { if (addSeqTarget(t)) {
seqTl.sel = v === 'empty' ? { track: seqEd.targets[seqEd.targets.length - 1].uid } : seqTl.sel; seqTl.sel = v === 'empty' ? { track: seqEd.targets[seqEd.targets.length - 1].uid } : seqTl.sel;
@@ -768,7 +768,6 @@ function tlInspectClip(host, c) {
} }
c.start = s; c.start = s;
c.len = l; c.len = l;
seqTl.lastLen = l;
tlRender(); tlRender();
}; };
start.addEventListener('change', apply); start.addEventListener('change', apply);
@@ -847,10 +846,6 @@ function tlInspectTrack(host, t) {
Object.keys(seqEd.groupsMap) Object.keys(seqEd.groupsMap)
.sort((a, b) => a.localeCompare(b, undefined, { numeric: true })) .sort((a, b) => a.localeCompare(b, undefined, { numeric: true }))
.forEach((g) => box((seqEd.groupsMap[g] && seqEd.groupsMap[g].name) || g, t.group_ids, g)); .forEach((g) => box((seqEd.groupsMap[g] && seqEd.groupsMap[g].name) || g, t.group_ids, g));
lab('and single drivers');
Object.keys(seqEd.devicesMap)
.sort((a, b) => String((seqEd.devicesMap[a] || {}).name || a).localeCompare(String((seqEd.devicesMap[b] || {}).name || b)))
.forEach((m) => box((seqEd.devicesMap[m] && seqEd.devicesMap[m].name) || m, t.devices, m));
host.appendChild(pick); host.appendChild(pick);
const btns = document.createElement('div'); const btns = document.createElement('div');
btns.className = 'tl-insp-btns'; btns.className = 'tl-insp-btns';
@@ -871,8 +866,7 @@ function tlInspectTrack(host, t) {
'Remove track', 'Remove track',
'Remove the track and its clips', 'Remove the track and its clips',
() => { () => {
const n = tlClipsOn(t.uid).length; // No confirm(): some webviews block it and the track never went. Undo (Ctrl+Z) brings it back
if (n && !confirm(`Remove this track and its ${n} clip(s)?`)) return;
seqTl.clips = seqTl.clips.filter((c) => c.uid !== t.uid); seqTl.clips = seqTl.clips.filter((c) => c.uid !== t.uid);
seqEd.targets.splice(seqEd.targets.indexOf(t), 1); seqEd.targets.splice(seqEd.targets.indexOf(t), 1);
seqTl.sel = null; seqTl.sel = null;
@@ -956,7 +950,7 @@ function tlAddAt(uid, start, play) {
alert('Pick a preset in the browser first (click it), or drag one onto the track.'); alert('Pick a preset in the browser first (click it), or drag one onto the track.');
return; return;
} }
const want = play.startsWith('a:') ? tlSeqLen(seqEd.seqMap[play.slice(2)]) : seqTl.lastLen; const want = play.startsWith('a:') ? tlSeqLen(seqEd.seqMap[play.slice(2)]) : tlNewLen();
const gap = tlGap(uid, start); const gap = tlGap(uid, start);
if (!gap) return; if (!gap) return;
const len = tlR(Math.min(want, gap.to - start)); const len = tlR(Math.min(want, gap.to - start));
@@ -1125,6 +1119,19 @@ function tlStartDrag(e, d) {
if (d.kind === 'move' || d.kind === 'left' || d.kind === 'right') { if (d.kind === 'move' || d.kind === 'left' || d.kind === 'right') {
if (!seqTl.sel || seqTl.sel.clip !== d.id) tlSelect({ clip: d.id }); if (!seqTl.sel || seqTl.sel.clip !== d.id) tlSelect({ clip: d.id });
} }
if (d.kind === 'move' || d.kind === 'new') {
// Held near the timeline's edge, the timeline scrolls, and the ghost follows the pointer
seqTl.drag.scroll = setInterval(() => {
const dd = seqTl.drag;
if (!dd || !dd.last) return;
const sp = tlEdgeSpeed(dd.last.clientX);
const sc = tlEl('tl-scroll');
if (sp && sc) {
sc.scrollLeft += sp;
tlDragMove(dd.last);
}
}, 16);
}
} }
function tlGhost(lane) { function tlGhost(lane) {
@@ -1154,9 +1161,22 @@ function tlFloat(d, x, y) {
f.style.top = `${y + 8}px`; f.style.top = `${y + 8}px`;
} }
/** Scroll per frame while the pointer is within TL_EDGE px of the timeline's left or right edge (0 elsewhere). */
const TL_EDGE = 40;
function tlEdgeSpeed(clientX) {
const sc = tlEl('tl-scroll');
if (!sc) return 0;
const r = sc.getBoundingClientRect();
if (clientX > r.right - TL_EDGE) return Math.min(24, 4 + (clientX - (r.right - TL_EDGE)) / 2);
const left = r.left + tlHeadWidth();
if (clientX < left + TL_EDGE) return -Math.min(24, 4 + (left + TL_EDGE - clientX) / 2);
return 0;
}
function tlDragMove(e) { function tlDragMove(e) {
const d = seqTl.drag; const d = seqTl.drag;
if (!d || e.pointerId !== d.pid) return; if (!d || e.pointerId !== d.pid) return;
d.last = e;
const dxp = e.clientX - d.x0; const dxp = e.clientX - d.x0;
const dyp = e.clientY - d.y0; const dyp = e.clientY - d.y0;
if (!d.moved && Math.hypot(dxp, dyp) < 5) return; if (!d.moved && Math.hypot(dxp, dyp) < 5) return;
@@ -1176,9 +1196,11 @@ function tlDragMove(e) {
const c = tlClip(d.id); const c = tlClip(d.id);
if (!c) return; if (!c) return;
const end0 = d.start0 + d.len0; const end0 = d.start0 + d.len0;
// The right edge the user grabbed is where the clip is drawn: the window's end when the clip falls off it
const visEnd0 = d.start0 + Math.min(d.len0, tlLoopLen() - d.start0);
if (d.kind === 'right') { if (d.kind === 'right') {
const gap = tlGap(c.uid, d.start0, c.id); const gap = tlGap(c.uid, d.start0, c.id);
const len = Math.max(tlMin(), tlQ(end0 + dx) - d.start0); const len = Math.max(tlMin(), tlQ(visEnd0 + dx) - d.start0);
c.len = tlR(Math.min(len, (gap ? gap.to : Infinity) - d.start0)); c.len = tlR(Math.min(len, (gap ? gap.to : Infinity) - d.start0));
} else { } else {
const gap = tlGap(c.uid, end0 - TL_EPS * 10, c.id); const gap = tlGap(c.uid, end0 - TL_EPS * 10, c.id);
@@ -1187,7 +1209,7 @@ function tlDragMove(e) {
c.len = tlR(end0 - s); c.len = tlR(end0 - s);
} }
d.el.style.left = `${c.start * ppb}px`; d.el.style.left = `${c.start * ppb}px`;
d.el.style.width = `${c.len * ppb}px`; d.el.style.width = `${Math.min(c.len, tlLoopLen() - c.start) * ppb}px`; // drawn up to the window's end, as tlRender does
return; return;
} }
// move / new: a ghost on the track under the pointer // move / new: a ghost on the track under the pointer
@@ -1203,7 +1225,7 @@ function tlDragMove(e) {
let ok; let ok;
if (d.kind === 'new') { if (d.kind === 'new') {
start = tlQ(tlLaneX(lane, e.clientX) / ppb, true); start = tlQ(tlLaneX(lane, e.clientX) / ppb, true);
const want = d.play.startsWith('a:') ? tlSeqLen(seqEd.seqMap[d.play.slice(2)]) : seqTl.lastLen; const want = d.play.startsWith('a:') ? tlSeqLen(seqEd.seqMap[d.play.slice(2)]) : tlNewLen();
const gap = tlGap(uid, start); const gap = tlGap(uid, start);
len = gap ? tlR(Math.min(want, gap.to - start)) : want; len = gap ? tlR(Math.min(want, gap.to - start)) : want;
ok = !!gap && len >= tlMin() - TL_EPS; ok = !!gap && len >= tlMin() - TL_EPS;
@@ -1221,6 +1243,7 @@ function tlDragMove(e) {
function tlDragEnd(e, cancelled) { function tlDragEnd(e, cancelled) {
const d = seqTl.drag; const d = seqTl.drag;
seqTl.drag = null; seqTl.drag = null;
if (d && d.scroll) clearInterval(d.scroll);
tlGhost(null); tlGhost(null);
const f = tlEl('tl-float'); const f = tlEl('tl-float');
if (f) f.remove(); if (f) f.remove();
@@ -1255,7 +1278,7 @@ function tlDragEnd(e, cancelled) {
if (c && cancelled) { if (c && cancelled) {
c.start = d.start0; c.start = d.start0;
c.len = d.len0; c.len = d.len0;
} else if (c) seqTl.lastLen = c.len; }
} }
tlRender(); tlRender();
} }
+93 -14
View File
@@ -13,10 +13,14 @@
const LOCK_PX = 10; // movement before a touch counts as a swipe or a scroll const LOCK_PX = 10; // movement before a touch counts as a swipe or a scroll
const DRAG_CLASS = 'sim-swipe-dragging'; const DRAG_CLASS = 'sim-swipe-dragging';
// What the pane shows: the rig, or the preset editor (the pattern gallery) in the same pane
const VIEWS = { rig: '/sim/', presets: '/sim/gallery' };
let pane = null; let pane = null;
let frame = null;
let pager = null; let pager = null;
let width = 0; let width = 0;
let page = 0; // swipe mode: 0 the controller, 1 the rig let page = 0; // swipe mode: 0 the controller, 1 the rig
let view = 'rig';
function load() { function load() {
try { try {
@@ -56,6 +60,20 @@
document.documentElement.style.setProperty('--sim-drag', `${Math.round(px)}px`); document.documentElement.style.setProperty('--sim-drag', `${Math.round(px)}px`);
} }
// Show the rig or the preset editor in the pane. Switching unloads the other page (its bars power off)
function setView(v) {
view = v === 'presets' ? 'presets' : 'rig';
if (frame && frame.dataset.view !== view) {
frame.dataset.view = view;
frame.src = VIEWS[view];
}
if (pane) {
pane.querySelectorAll('.sim-pane-tabs button').forEach((b) =>
b.setAttribute('aria-pressed', String(b.dataset.view === view)));
}
save({ view });
}
function setPage(p) { function setPage(p) {
page = p ? 1 : 0; page = p ? 1 : 0;
document.documentElement.style.setProperty('--sim-page', String(page)); document.documentElement.style.setProperty('--sim-page', String(page));
@@ -89,7 +107,7 @@
} }
function popOut() { function popOut() {
const win = window.open('/sim/', 'led-simulator', 'popup,width=1200,height=800'); const win = window.open(VIEWS[view], 'led-simulator', 'popup,width=1200,height=800');
if (!win) { if (!win) {
// Pop-ups blocked: keep the simulator here // Pop-ups blocked: keep the simulator here
alert('The browser blocked the simulator window. Allow pop-ups for this site, or open /sim/ in a new tab.'); alert('The browser blocked the simulator window. Allow pop-ups for this site, or open /sim/ in a new tab.');
@@ -201,20 +219,21 @@
'<div class="sim-pane-divider" role="separator" aria-orientation="vertical" ' + '<div class="sim-pane-divider" role="separator" aria-orientation="vertical" ' +
'aria-label="Resize the simulator" title="Drag to resize"></div>' + 'aria-label="Resize the simulator" title="Drag to resize"></div>' +
'<div class="sim-pane-body">' + '<div class="sim-pane-body">' +
'<div class="sim-pane-bar">' + '<div class="sim-pane-tabs" role="group" aria-label="Show the rig or the preset editor">' +
'<span class="sim-pane-title">Simulator</span>' + '<button type="button" data-view="rig">Rig</button>' +
'<button type="button" class="btn btn-secondary btn-small" data-sim="popout" ' + '<button type="button" data-view="presets">Presets</button>' +
'title="Open the simulator in its own window">Pop out ↗</button>' +
'<button type="button" class="btn btn-secondary btn-small" data-sim="close" ' +
'title="Close the simulator (its bars power off)" aria-label="Close the simulator">×</button>' +
'</div>' + '</div>' +
'<iframe class="sim-pane-frame" src="/sim/" title="Simulated rig"></iframe>' + '<iframe class="sim-pane-frame" title="Simulator"></iframe>' +
'</div>'; '</div>';
pane.querySelector('[data-sim="popout"]').addEventListener('click', popOut); pane.querySelectorAll('.sim-pane-tabs button').forEach((b) => {
pane.querySelector('[data-sim="close"]').addEventListener('click', close); b.setAttribute('aria-pressed', String(b.dataset.view === view));
b.addEventListener('click', () => setView(b.dataset.view));
});
// Swipes that start in the rig (same origin, so its document can be listened to) // Swipes that start in the rig (same origin, so its document can be listened to)
const frame = pane.querySelector('iframe'); frame = pane.querySelector('iframe');
frame.dataset.view = view;
frame.src = VIEWS[view];
frame.addEventListener('load', () => { frame.addEventListener('load', () => {
try { try {
attachSwipe(frame.contentDocument); attachSwipe(frame.contentDocument);
@@ -262,14 +281,21 @@
document.body.appendChild(pager); document.body.appendChild(pager);
} }
function open() { function open(which) {
if (which) {
view = which === 'presets' ? 'presets' : 'rig';
}
if (!pane) { if (!pane) {
build(); build();
width = load().width || 0; width = load().width || 0;
page = swipeMode() ? 1 : 0; // on a phone, opening it shows it // On a phone, opening the rig shows it. Opening the preset editor leaves the controller on screen
page = swipeMode() && view === 'rig' ? 1 : 0;
} else {
setView(view);
} }
save({ open: true }); save({ open: true });
layout(); layout();
syncMenu();
window.dispatchEvent(new Event('resize')); // the UI lays out for its new width window.dispatchEvent(new Event('resize')); // the UI lays out for its new width
} }
@@ -277,6 +303,7 @@
if (pane) { if (pane) {
pane.remove(); // the iframe goes with it: its bars power off pane.remove(); // the iframe goes with it: its bars power off
pane = null; pane = null;
frame = null;
} }
if (pager) { if (pager) {
pager.remove(); pager.remove();
@@ -290,6 +317,7 @@
document.documentElement.style.setProperty('--sim-page', '0'); document.documentElement.style.setProperty('--sim-page', '0');
setDrag(0); setDrag(0);
save({ open: false }); save({ open: false });
syncMenu();
window.dispatchEvent(new Event('resize')); window.dispatchEvent(new Event('resize'));
} }
@@ -304,6 +332,16 @@
} }
} }
// The Menu's Preset editor entry: open the pane on the presets, or switch the open pane to them
function openPresets() {
if (!isOpen()) {
open('presets');
return;
}
setView('presets'); // the controller stays on screen; on a phone the pager switches to it
}
const paneItems = []; // the Menu's Pop out and Close entries
function addMenuEntries() { function addMenuEntries() {
// A header button for the Menu item to forward to, as the other entries do (help.js) // A header button for the Menu item to forward to, as the other entries do (help.js)
const headerActions = document.querySelector('.header-actions'); const headerActions = document.querySelector('.header-actions');
@@ -325,6 +363,45 @@
item.textContent = 'Simulator'; item.textContent = 'Simulator';
const settingsItem = menu.querySelector('[data-target="settings-btn"]'); const settingsItem = menu.querySelector('[data-target="settings-btn"]');
menu.insertBefore(item, settingsItem); menu.insertBefore(item, settingsItem);
const presetsReal = document.createElement('button');
presetsReal.id = 'sim-presets-btn';
presetsReal.hidden = true;
presetsReal.addEventListener('click', openPresets);
document.body.appendChild(presetsReal);
const presetsItem = document.createElement('button');
presetsItem.type = 'button';
presetsItem.className = 'edit-mode-only';
presetsItem.dataset.target = 'sim-presets-btn';
presetsItem.textContent = 'Preset editor';
menu.insertBefore(presetsItem, settingsItem);
// Pop out and Close: in the Menu only while the pane is open (syncMenu). The menu forwards its clicks to
// the real buttons with these ids (help.js)
for (const [label, id, action] of [
['Pop out ↗', 'sim-popout-btn', popOut],
['Close simulator', 'sim-close-btn', close],
]) {
const real = document.createElement('button');
real.id = id;
real.hidden = true;
real.addEventListener('click', action);
document.body.appendChild(real);
const entry = document.createElement('button');
entry.type = 'button';
entry.className = 'sim-pane-item';
entry.dataset.target = id;
entry.textContent = label;
entry.style.display = 'none';
menu.insertBefore(entry, settingsItem);
paneItems.push(entry);
}
}
}
// The pane's Menu entries show while it is open. An inline display wins over the menu's own rules
function syncMenu() {
for (const entry of paneItems) {
entry.style.display = isOpen() ? '' : 'none';
} }
} }
@@ -342,16 +419,18 @@
addMenuEntries(); addMenuEntries();
attachSwipe(document); // swipes that start on the controller's page attachSwipe(document); // swipes that start on the controller's page
const saved = load(); const saved = load();
view = saved.view === 'presets' ? 'presets' : 'rig';
if (saved.open) { if (saved.open) {
build(); build();
width = saved.width || 0; width = saved.width || 0;
page = saved.page ? 1 : 0; page = saved.page ? 1 : 0;
layout(); layout();
} }
syncMenu();
window.addEventListener('resize', layout); window.addEventListener('resize', layout);
} }
window.simSplit = { open, close, popOut, setPage }; window.simSplit = { open, close, popOut, setPage, setView };
if (document.readyState === 'loading') { if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', init); document.addEventListener('DOMContentLoaded', init);
} else { } else {
+21 -9
View File
@@ -3551,18 +3551,30 @@ body.sim-split-dragging .sim-pane-divider {
flex-direction: column; flex-direction: column;
} }
.sim-pane-bar {
.sim-pane-tabs {
flex: none;
display: flex; display: flex;
align-items: center; gap: 4px;
gap: 0.5rem; padding: 4px 8px;
padding: 0.35rem 0.5rem; background-color: #16181d;
background-color: #1a1a1a; border-bottom: 1px solid #2a2d35;
border-bottom: 2px solid #4a4a4a;
} }
.sim-pane-title { .sim-pane-tabs button {
flex: 1; padding: 2px 10px;
font-weight: 600; font-size: 12px;
color: #c9ced8;
background-color: #23262e;
border: 1px solid #3a3e48;
border-radius: 4px;
cursor: pointer;
}
.sim-pane-tabs button[aria-pressed="true"] {
color: #0e0f12;
background-color: #5aa9ff;
border-color: #5aa9ff;
} }
.sim-pane-frame { .sim-pane-frame {
+1 -2
View File
@@ -399,8 +399,7 @@
<option value="time">Seconds</option> <option value="time">Seconds</option>
</select></label> </select></label>
<label class="tl-tfield">Snap <select id="tl-snap"></select></label> <label class="tl-tfield">Snap <select id="tl-snap"></select></label>
<label class="tl-tfield tl-loop-toggle" title="On: loops, every track restarting at the end of the loop bar. Off: a one-shot that plays once in seconds, then the zone goes back to its last looping preset or sequence."><input type="checkbox" id="sequence-editor-loop" checked> Loop</label> <label class="tl-tfield tl-loop-toggle" title="On: loops, every track restarting at the end of the loop bar. Off: a one-shot that plays once in seconds, then the zone goes back to its last looping preset or sequence."><input type="checkbox" id="sequence-editor-loop" checked> Loop</label> <label class="tl-tfield" title="Add a track for a group or a single driver"><select id="tl-add-track"></select></label>
<label class="tl-tfield" title="Add a track for a group or a single driver"><select id="tl-add-track"></select></label>
<div class="tl-tgroup"> <div class="tl-tgroup">
<button type="button" class="tl-tbtn" id="tl-zoom-out" title="Zoom out">&minus;</button> <button type="button" class="tl-tbtn" id="tl-zoom-out" title="Zoom out">&minus;</button>
<button type="button" class="tl-tbtn" id="tl-zoom-in" title="Zoom in">+</button> <button type="button" class="tl-tbtn" id="tl-zoom-in" title="Zoom in">+</button>