- #insights-output em/i inherited Gradio's dim default the same way
b/strong did before; force it to --ice.
- max_tokens=1400 was cutting off the last section (usually STUDY
PROMPT) on longer responses; raised to 2400.
- [role="tab"] labels (Graph/Swarm/AI Insights) had no explicit
color at all, so inactive tabs used Gradio's own muted default;
now driven by --fog/--cyan via aria-selected.
Add moving ant particles, fix ACO trail render, more contrast fixes
The ACO trail glow was silently never rendering: the .then(js=...)
step after run_swarm_gen read swarm_state, a gr.State, but gr.State
values aren't mirrored to the client the way JSON/HTML component
values are, so the JS callback always got an empty payload. Route
the swarm data through a hidden gr.JSON bridge (swarm_data_json)
instead, matching the pattern that already worked for the graph
render step.
Also add actual moving ant particles (small glowing dots walking the
top-tau edges via requestAnimationFrame) since only static trail
glow existed before, and force !important on toolbar button
backgrounds, node-detail bold values, and the Insights placeholder
text -- Gradio's own stylesheet was still winning those.
Force !important on remaining panel/toolbar/legend text colors
The earlier rank-list fix only covered one symptom. Gradio's own
stylesheet loads after ours and wins specificity ties on bare tags
(span, li, button) throughout the right sidebar and graph toolbar,
so every text color in those areas needed !important, not just the
one the user pointed at. Also fixed a self-inflicted specificity bug:
the new ".swarm-status span" rule would have outranked
".val-running"/".val-idle" and broken the status color, so those got
qualified as ".swarm-status span.val-running" etc.
--fog was too dark against the void background, and Gradio's own
stylesheet was overriding the centrality-ranking list color entirely
(computed color was near-black, not just dim). Brighten --fog and
force the rank/flag list color with !important.
Fix HF Space metadata (valid emoji, colorFrom, short_description length)
NLP entity extraction, NetworkX graph algorithms, an Ant Colony System
swarm, and server-side streaming Claude insights, wired to a D3.js
visualization in a futuristic neon Gradio UI.