Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions changelog.d/ITL-1455.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Changed

- **The pipeline diagram draws an input that only constrains apart.** The right input of a `SemiJoin` decides which rows of the left input pass and passes none on: the diagram draws it as a dashed edge entering the box from the side, its details say which tags the rows match on, and the text form says `<- a; constrained by b`. Folding (`collapse=True`) keeps it. An operator declares such inputs in `CONSTRAINING_INPUTS`. Display only: no hash, id, stored path, node label or saved file changes, and a diagram without such an input is drawn as before. (ITL-1455)
2 changes: 2 additions & 0 deletions docs/concepts/notebooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ laid out left to right. Here is `job` as the last line of a cell, after its run,
- **A node's details.** Click a node (or focus it and press Enter) to see its schema: its tag
and data columns, the nodes it reads from and, for a job, its run status and the row counts
of the job's last run.
- **Constraining inputs.** The right input of a `SemiJoin` only decides which rows pass: a
dashed edge entering from the side of the box.
- **Statuses.** Each node of a job shows one: `not run`, `current`, `stale`, `failed`,
`loaded only`, `partial`, or `bound` or `unbound` for a source slot. Before `job.run()`
every node but the sources says `not run`.
Expand Down
7 changes: 7 additions & 0 deletions docs/concepts/pipeline-job.md
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,13 @@ shown first, and the one shown where scripts do not run. A selected node stays s
when it is in the new layout. The checkboxes appear for graphs of up to 100 nodes: a larger
diagram carries only the layout its arguments ask for, which keeps a notebook small.

An input that only decides which rows of another input pass (the right input of a
`SemiJoin`) is drawn as a dashed edge that enters the box from the side (from above or below
when the graph runs left to right); the data input enters as every other edge does. The node's
details give the tags the rows match on, and the text form lists such an input after the
others: `<- spikes; constrained by units`. `collapse=True` never hides it: folded steps on its
way are drawn dash-dotted.

In each node, the kind line under the name (kind, what it is, status) is wrapped onto
short lines, so a node is about as wide as its name.

Expand Down
32 changes: 32 additions & 0 deletions docs/dev/specs/itl-1455-constraining-inputs/after-LR-collapsed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading