Fuaranfuaran

The source for generative UI

Linked views, declared not coded

You want a click on a bar to filter the other charts and the grid. In Fuaran UI you declare that relationship in each reader; you write no click handler.

The three moving parts

  1. A chart publishes its selection. Clicking a point publishes the clicked row under the chart's own node id. The renderer's default does this; the tree carries no code for it.
  2. A reader declares a parameter that reads that selection. The parameter's from is a Selection naming the chart's node id and a field.
  3. A step filters on the parameter. The pipeline's filter step compares a column to the parameter.

So the reader's source is a Transform shaped like the one in Declare a pipeline in the tree, with its from pointing at another view's selection instead of a filter.

"Nothing selected" is "everything"

A parameter that has no value drops its filter step. Before anyone clicks, every reader shows every row; clear the selection and they all return to that state. You do not write the empty case.

Which views re-derive

Each reader names what it reads, so which views a write makes stale is a question the tree answers, not the page's code. The corpus holds this as a conformance family, binding-propagation: each vector is a tree, a write, and the set of nodes that must be refreshed.

Evidence

Back to Data in the interface.