Skip to content

Blueprint Card

Last updated 15 Nov 2026

NbBlueprintCard is a node card designed to live inside an NbBlueprint canvas. It renders a card with an identity rail down its left edge, typed input/output ports, a category label, an optional enable toggle, and an optional remove button. It is presentational: the parent owns the card's position and the connections between cards.

Keyboard and assistive technology ​

The card is a focusable role="group", labelled with its title, category, status and enabled state (left out with :toggleable="false", where there is no state to report). Every control inside it is a real button with its own accessible name.

KeyWhereDoes
TabAnywhereMoves through the card and its controls.
← → ↑ ↓CardMoves the card by one canvas unit.
Shift + arrowCardMoves it by ten.
Enter / SpacePortStarts a connection, or completes one already started.
EscPortAbandons a connection in progress.
Enter / SpaceCollapse chevron, toggle, removeActivates that control.

Connecting by keyboard walks the same two-step path the mouse does and goes through the same handlers, so a keyboard connection is indistinguishable from a dragged one to the host. While a connection is in progress, valid targets ring and invalid ones dim exactly as they do for the mouse, which is what makes the keyboard flow navigable at all.

Nudging is routed through the parent NbBlueprint, so it reports itself with the same move event a drag does, and nudging a card that is part of the selection moves the whole selection, again matching the mouse. Positions have one path out of the component, not two.

Focusing a card also selects it, so the inspector and the canvas agree about what the user is looking at.

On a read-only canvas the card and its controls stay focusable and keep their names, so a reader can still walk the graph, but the arrow keys do not move the card and Enter on a port starts nothing.

The active and pending statuses are spoken as "In progress" and "Pending" (blueprintStatusActive and blueprintStatusPending in the strings, so a product can translate or reword them). The turning arc of active respects reduced motion: it becomes a ring that breathes in opacity, with no rotation.