phenotypic.gui.builder#
The pipeline builder DAG model — block + edge state, conversion to and
from ImagePipeline, and the pure-function
validation layer that drives the canvas’s red/yellow border decoration.
The redesigned DAG-shaped state replaces the popover-anchored linear list of nodes from earlier builder versions. See Pipeline builder dispatch kinds for the full dispatch-kind reference and Pipeline builder validation rules for the seven validation rules.
State & schema#
One canvas block — single op, container, or Input Image source. |
|
|
One wire between two block ports within a scope. |
A DAG of blocks + edges (per scope). |
|
Top-level DAG state for the Dash builder. |
|
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str |
|
str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str |
|
Idempotently add an |
Conversion (DAG ↔ ImagePipeline)#
|
Convert a DAG-shaped |
|
Convert an |
Validation#
Run all validation rules across every scope reachable from the root. |
|
A single validation finding for a block or scope. |