Linked views
Linked views respond to each other: select marks in one chart or map, and the matching rows light up in the views linked to it. In Curio, an interaction edge links two views and carries selections between them, never data.
How linking works
Draw an interaction edge between two views, and a selection in either marks the matching rows of the other: the receiving view sets a column called interacted to "1" on the selected rows and "0" on the rest, and highlights them without drawing again. A Vega-Lite chart and an Autark map link as easily as two charts. In the "Heterogeneous data + linked views" example, brushing the scatter highlights the matching tracts on the map, and a tract picked on the map lights its point in the scatter.
Link the views through a Data Pool instead when a Simple View shows the selection, when selections are combined with Merge (AND) or Merge (OR), when a Vega-Lite chart marks its own selection in interacted, or when three or more views share one selection. The pool's output feeds each view, and each view has an interaction edge to the pool.
Removing an interaction edge, or a node at either end, removes the highlight it gave.
tour:interactionMaking an interaction edge
Vega-Lite, Autark, Simple View and Data Pool nodes each have a handle on their top edge. Drag from one view's top handle to another view's, or to a Data Pool's: the interaction edge is drawn in red, with arrows at both ends. A top handle connects only to another top handle, and interaction edges do not change the order in which nodes run. Two Simple Views can't be linked to each other, since neither shows the other's selection.
A typical linked dataflow, like the "Heterogeneous data + linked views" example, prepares its data, feeds it to two views, and links the two with one interaction edge.

Which views take part
- Vega-Lite sends the selections declared in its specification's
params: a point, such as{"name": "pick", "select": "point"}, or an interval brush. To show linked selections, read theinteractedcolumn in the specification, for example"color": {"condition": {"test": "datum.interacted === '1'", "value": "red"}, "value": "grey"}, and to show its own selection, the selection's name, for example{"param": "brush", "empty": false, "value": "red"}. On ageoshapemap, use a point selection: a brush there selects nothing in the views linked to it. - Autark sends picks on the map layer marked
"isPick": true, made by double-clicking a feature, and brushes on a plot. It highlights linked selections in its maps and plots on its own. A node of several views has a dot of its own for each view with anid, beside the node's own dot, in the order of its panes; hovering one names the view and outlines its pane. An edge on a view's dot sends that view's selections alone and brings selections to that view alone, which the node'slinkscarry on to the views they join. An edge on the node's own dot sends every view's selections and reaches every view. - Simple View sends a row when you click one of its image cards, and outlines in red the cards of the rows a Data Pool marks. While a video or a recording plays in one of its cards, it also sends where the player stands (see Follow a video as it plays).
Views can also be linked inside a single node: a Vega-Lite specification with several views can connect them through its own params, and an Autark specification links a plot to a layer of a map through its links.
Follow a video as it plays
A Simple View's player is a selection too, on t_s, the time in seconds. Draw an interaction edge from the Simple View to a chart or a map: while a video or a recording plays in one of its cards, the view at the other end marks the rows whose t_s lies between the file's start and where the player stands, such as a walk's points up to where the walker is. On an Autark map, the rows light up on its layer marked "isPick": true, and a Vega-Lite chart shows them through interacted, as for any linked selection.
The marks follow the player as it plays and when you seek, and stay where it stands when you pause. They go when another card plays, when the Simple View's rows change, or when the edge or either node is removed. Nothing is drawn again, and no node runs.
t_s is the time in the video, as Sample Video Frames writes it for each frame and Split Audio for each window. A table that holds clock times gets its t_s in a Python node before it is linked. A file cut from a longer one, such as the overlay of Track Objects or a block of Split Video, holds where it starts in its own t_s, so the rows its player marks are in the longer file's time.

