Skip to main content

Logic View overview

Hex's Logic View 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 interface 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:

Outline#

The outline provides an easy-to-browse overview of all the cells in a project's Logic View. Every cell in the outline lists the variables it defines, and cells that return a displayed output (chart cells, Input Parameters, markdown cells, etc.) display a preview of that output. You can click any cell in the outline to automatically jump to that position in the logic.

Overview of the outline

The outline can also be filtered to display only markdown cells for a "table of contents" style view, or only Input Parameters for a "control panel" style view.

Dropdown with options to filter the outline

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

The outline is a key element when building an app. We'll cover it in more detail in the App Builder section.

Output names#

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

Clicking to rename an output

Custom output names will then appear as labels in the App Builder: