devkit_ui.pages.run.drop_node_card

Classes

DropNodeCard(*args, **kwargs)

class devkit_ui.pages.run.drop_node_card.DropNodeCard(*args: Any, **kwargs: Any)[source]

Bases: card

__init__(state: DropNode, topo_state: Topo, on_drop: Callable[[str, int | None, str], None])[source]

Configure the drop-node card with state bindings and a drop action callback.

Parameters:
  • state – Drop-node configuration and operation status state.

  • topo_state – Topology state used to display the current node.

  • on_drop – Callback invoked with the node name, row ID, and row role.