ComfyUI Node

AUN Bookmark

Press a key, teleport to this exact spot and zoom level

By loz2754·Created 8 months ago·Updated about 21 hours ago· 5
AUN Bookmark
      shortcut_key1
      zoom1.000

      AUNBookmark is ComfyUI's answer to "I keep losing the KSampler in this 300-node monster." You drop one on a part of the graph you visit constantly, give it a key and a zoom level, and from then on pressing that key snaps the canvas to that exact position at that exact zoom. It's a pure frontend node - it has no sockets, does nothing during execution, and its Python side is literally a do_nothing that returns an empty tuple. All the magic lives in the JavaScript.

      Two widgets configure it. shortcut_key is a single character - 1, a, whatever - that you press to jump. zoom sets the zoom level the jump lands on, from 0.01 (zoomed way out, whole-graph view) up to 10.0 (pixel-peeping detail). Set zoom to 1 for a normal view, or crank it if you bookmarked a spot specifically to inspect something up close. The node's title shows a 🔖 so it reads as a bookmark at a glance.

      How it works is worth knowing because it explains the edge cases. The extension registers a global keydown listener that checks whether your shortcut matches, then repositions the canvas so this node lands at the top-left of the viewport at the configured scale - the same "place it at top-left" convention rgthree's own bookmark uses. The listener politely ignores the key when you're typing in an input or textarea, so your bookmark key won't hijack typing into a prompt widget. And when you delete the node, the listener goes with it - no ghost keybindings left behind.

      Where people trip: your bookmark key is global, not scoped to a canvas or subgraph, so if two bookmarks share a key, the last one you created tends to win the listener race. Use distinct keys. Also, because zoom is stored per bookmark, if you jump to a bookmark and the view looks "wrong," check the zoom widget - you probably bookmarked it while zoomed in. There's no animation; the jump is instant, which is honestly what you want when you're mid-flow.

      This is the kind of node you dismiss until you've been stuck in a giant workflow once, and then you can't imagine not having it. It pairs with the pack's collapse/bypass controllers for keeping big graphs navigable.

      Install with the whole pack: ComfyUI Manager (search "AUN") or cd ComfyUI/custom_nodes && git clone https://github.com/loz2754/AUN-ComfyUI-Nodes, then restart. No models, no heavy dependencies, nothing to download. If bookmarks and zoom-out navigation feel like the same problem, this is the "several bookmarks with per-bookmark zoom" upgrade.

      CategoryAUN Nodes/Utility

      Inputs (2)

      NameTypeDefaultDescription
      shortcut_keySTRING1The key to press to jump to this bookmark. Single character (e.g. '1', 'a').
      zoomFLOAT1.0000.01–10The zoom level to apply when jumping to this bookmark (0.01 to 10.0).

      Outputs (0)

      No outputs