Files
ausboss-ComfyUI-AusBoss/js/docs
ausboss de58c86ba2 Workflow Switches: a card can show its switches as one pill, where one is always picked
One at a time already made switching a row on switch the other rows off,
but every row kept its own off | on, so all of them could be off. For
choices such as masking by words or by a click, the card can now show its
rows as one control.

- A new card setting, Show as (rows | one pill), is there while One at a
  time is on. Rows is the default and looks as before.
- As one pill, each row is a segment of the pack's segmented pill, the row
  that is on is the filled one, and a click on another segment switches to
  it. A click on the picked one changes nothing, so one is always picked.
- Two to four rows whose names fit are a pill, and the card's minimum width
  follows the names so none is cut short. More rows, or longer names, are a
  list to pick from.
- A graph with none or several rows on, or a row only partly on, is drawn
  as it is, with an amber edge, and the next click leaves exactly one on.
- In the edit view the pill sits above the rows, which keep their frame
  button and menu. Switch everything off is left out of the node's menu
  while the card shows as one pill.

The stored settings grow by one key, show, which reads "rows" when it is
missing, so a workflow saved by an earlier version opens as it did. A click
on a choice uses the same plans as One at a time, for rows that hold nodes,
rows that change settings and rows with an off side.
2026-10-13 21:23:35 -05:00
..