Elegant Notes
Elegant Notes Is a Prompt Snippet Library That Lives on Your Canvas
- notes
- named list
Most people's first thought on seeing Elegant Notes is "a note node" - the yellow sticky thing you drop on the canvas to remind yourself what a group does. That's not this. Elegant Notes is a data node: it holds text in named tabs and hands that text out as a connectable value, so things like prompt fragments, filename prefixes and parameter cheatsheets stop being prose you retype and start being something the graph can read.
Once you see it that way it slots straight into the plumbing layer of a workflow. The rule of thumb there is simple: if the same value appears in more than one place, break it out of the widget and give it one source. Elegant Notes is that source for text you keep more than one of - a bag of style snippets, a set of negative prompts, a list of camera moves you cycle through. It's also the newest thing in the pack: it landed in v1.11.0, so unlike the reroute and slider here, you won't find years of forum posts about it.
What "tabs" actually means under the hood
The node draws a tab strip (click to switch, double-click to rename, + to add, ✕ to delete the shown tab). What's stored on the node is a single multi-line STRING widget called notes, and its contents are JSON - a list of {"name": ..., "value": ...} objects. The pack ships a small frontend script that paints the tabs over that widget and writes the JSON back into it.
So when ComfyUI runs, the node parses that JSON, tidies it, and outputs a NAMED_LIST - a custom type this pack defines. Two bits of tidying are worth knowing because they're invisible until they matter: a tab with a blank name becomes tab1, tab2, … by position, and two tabs sharing a name get suffixed _2, _3. Same rules as Elegant Notes Merge downstream, so nothing collides silently.
There's one input, notes, and the author's own tooltip explains the trick: "The tabs, as JSON: edit them on the node. Or connect a named list instead." It accepts either the JSON text or a NAMED_LIST on the same socket, so a Notes node can be chained from another Notes node or from Merge. When you connect a list in, the tabs go read-only and just display what arrived.
Output is a single named list. Wire it into Elegant Notes Merge to get the names and values back out as strings.
Saving them to disk
Tabs are saved inside the workflow, which is fine until you want the same snippet library in five different workflows. There's a Files panel for that: type a path, hit Load from file or Save to file. The default is elegant-notes.json, paths are relative to ComfyUI's output folder, .json gets appended if you leave the extension off, and a path that resolves outside output is refused outright. A line under the buttons tells you whether it worked.
Two things people get wrong here. The run always uses the tabs on the node, never the file - loading is a manual import, not a live link, so remembering to save after editing is on you. And the file is only read when you click Load, so a broken file can't stop a generation.
Installing
Manager first: search Elegant Nodes, install, restart, refresh the browser. Or:
cd ComfyUI/custom_nodes
git clone https://github.com/wipeer/comfyui-elegant-nodes.git
pip install -r comfyui-elegant-nodes/requirements.txt
Nothing is downloaded, no model files, no VRAM cost. The single Python dependency is simpleeval, which ComfyUI already installs for its own Math Expression node - so you're not really adding anything. The one real requirement is ComfyUI 0.4.0 or newer, because these nodes are written against the V3 node API and use auto-growing inputs. An older install will fail at import, not degrade politely.
When it doesn't work
If the node refuses to run with "The notes are not valid JSON", the frontend hasn't refreshed since you installed and the tab editor isn't loaded, so the raw []-ish widget got edited by hand. Hard-refresh the browser.
If you edited the JSON by hand and got it right but still see no tabs, check for an empty string rather than []. Blank text parses as "no tabs", which outputs an empty named list - and a downstream Merge with nothing in it stops the run with "There are no tabs". Add at least one tab.
And if Manager insists it can't find the pack, that's a known wobble on the registry side, not your install: the author's TODO file documents the Comfy Registry extraction still reporting pending, so Manager's registry lookup comes up empty even though the pack is fine. git clone from the URL above sidesteps it entirely.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| notes | STRING,NAMED_LIST | [] | The tabs, as JSON: edit them on the node. Or connect a named list instead. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| named list | NAMED_LIST | — |