Logic View Overview

Hex's core Logic UI is based on the popular notebook format. If you have used a Jupyter or similar notebook, you will be right at home.

As with other notebooks, the Logic View's primary UI is made up of cells, including Code, Markdown (Text), Input Parameter, and Display cells like the Table Display.

Hex, however, extends the notebook model in some key ways:


The left-hand outline provides an easy-to-browse overview of input and output elements from throughout the logic view.

Input elements in the Outline are fully interactive, allowing you to adjust upstream parameters without excess scrolling.

You can click any element in the outline to automatically jump to that position in the logic.

The Outline is a key element of the App view workflow, covered later.

Output Names

Cell outputs, like charts or tables, are given a default output name (e.g., "Output 3") but you can re-name it by clicking the name anywhere it appears.

Clicking to rename an output

Custom output names will then appear as labels in the app view:

Execution Model

In the Logic view, users are able to execute cells in whatever order, which makes for easy iteration and experimentation.

Runs from the App view, however, always run top-to-bottom, meaning logic must be written with that in mind.

To ensure the apps powered by your projects will run, make sure to test that your Logic view runs top to bottom with no error with a fresh kernel! Use the "Resart and run all" option of from the Run button at top right.