How neon-sparks/comfyui-neonsstyleexplorer works
Neons Style Explorer is a ComfyUI custom-node product for composing catalog-based style prompts and managing image previews for styles, LoRAs, and checkpoints. The main workflow runs from node inputs through style selection and prompt composition to ComfyUI output; users can also browse/edit catalogs and save generated images into galleries. The graph preserves the documented named-catalog, crawl, and asset-explorer branches. Some backend routes and runtime details were not sampled, so uncertain links are omitted or marked dashed.
Main entry points: nodes.py Style nodes · __init__.py HTTP routes · api.js Browser API · main.js Node integration
Components 20
Style prompting
- Style nodes
nodes.py - Prompt composition
compose.py - Run tracking
runs.py
Catalog and gallery
- Style catalog
catalog.py - Catalog edits
store.py - Named catalogs
catalogs.py - Style previews
gallery.py - Gallery capture
nodes.py - Catalog bundles
bundle.py
Asset explorers
- Asset galleries
assets.py - LoRA explorer
loras.py - Model explorer
models.py
ComfyUI interface
- Node integration
web/main.js - Node panel
web/panel.js - Catalog browser
web/catalog_ui.js - Asset browser
web/explorer.js - Browser API
web/api.js - HTTP routes
__init__.py
Other components
- ComfyUI user
- ComfyUI runtime
Connections 29
- ComfyUI user → Style nodes: sets inputs
README.md - Style nodes → Prompt composition: composes prompt
nodes.py - Style nodes → Style catalog: selects styles
nodes.py - Style nodes → Style previews: reads previews
nodes.py - Style nodes → LoRA explorer: loads LoRAs
nodes.py - Style nodes → Model explorer: loads models
nodes.py - Style nodes → ComfyUI runtime: returns node outputs
README.md - Style catalog → Catalog edits: applies edits
catalog.py - Gallery capture → Style previews: saves previews
README.md - ComfyUI user → Gallery capture: captures result
README.md - Named catalogs → Style previews: separates previews
README.md - Catalog bundles → Style catalog: packages catalog
bundle.py - Asset galleries → LoRA explorer: serves gallery
README.md - Asset galleries → Model explorer: serves gallery
README.md - Node integration → Browser API: loads data
web/main.js - Node integration → Node panel: attaches panel
web/main.js - Node panel → Catalog browser: opens browser
web/panel.js - Node panel → Browser API: requests operations
web/panel.js - Catalog browser → Browser API: requests catalog
web/catalog_ui.js - Asset browser → Browser API: requests assets
web/explorer.js - Browser API → HTTP routes: calls routes
- HTTP routes → Style catalog: serves catalog
__init__.py - HTTP routes → Named catalogs: updates catalogs
__init__.py - HTTP routes → Style previews: saves images
__init__.py - HTTP routes → Asset galleries: saves asset images
__init__.py - Node integration → Run tracking: records runs
web/main.js - ComfyUI user → Node integration: uses interface
README.md - LoRA explorer → ComfyUI runtime: provides loader outputs
README.md - Model explorer → ComfyUI runtime: provides loader outputs
README.md