Skip to main content
Sends the whole timeline down one of two paths depending on whether it has any values. Exactly one path runs, once. Switch decides per dated property; Branch decides once for the entire input. Reach for it when the behaviour of a whole mapping should change based on whether the upstream produced anything at all.

Outputs

  • Empty — taken when the input has no values. Wire the subgraph that should produce a value from somewhere else (a Constant, another Attribute, …). Leave it unwired to emit an empty timeline.
  • Not empty — taken otherwise, and receives the input unchanged. Leave it unwired to pass the input straight to the result.
  • Result — whatever the taken branch produced. Optional: without it, the branch’s own End finishes the mapping.
Each branch you wire needs its own End node at the far side, the same way Switch’s branches do.

Configuration

  • Counts as empty — No entries at all (the strict reading), No values which also counts a timeline made up entirely of gaps (entries whose value was cleared), or No value today which looks only at the segment effective right now and ignores the history behind it.

Ports