Export & Sharing

How to share a worksheet, export the graph, and get code output from your expression.

Sharing via URL

Logic Studio stores all state in the URL hash as a base64-encoded JSON payload. There is no server-side persistence — everything is client-local. To share a worksheet:

  1. Click the Share button in the intro cover footer, or press ⌘K and search "Share".
  2. The Share modal shows the current URL with the encoded state.
  3. Click Copy to copy the URL to the clipboard.
  4. Send the URL to anyone. When they open it, Logic Studio will load with the same expression.
Note
URL-encoded sharing only carries the expression source. It does not carry display name customisations, notebook entries, or variable type annotations — those are stored in localStorage and are browser-local only.

Graph export (PNG / SVG)

The Export tab (right column tab 6) provides buttons to download the graph as a PNG or SVG image:

Export tab showing PNG and SVG download buttons, plus code export options.
The Export panel. Graph exports are at the top; code exports are below.

Code export

The Export panel (and the Import/Export section in the left panel) lets you export the expression as executable code in several languages:

LanguageOutput
JavaScriptA function() that returns the boolean value
PythonA def() that returns the boolean value
CA bool function or macro
SQLA WHERE clause fragment
GitHub ActionsA if: expression for workflow conditions
LispAn S-expression

Importing from code

The Import/Export section in the left panel also accepts code paste for import. Select the source language, paste the code, and click Import. Logic Studio attempts to parse the code and convert it to the internal expression syntax.

Import support is best-effort. Supported inputs: JavaScript boolean expressions, Python boolean expressions, GitHub Actions condition strings, SQL WHERE clause fragments.

Notebook

The Notebook tab (top-right) is a lightweight saved expressions store. Click Save in the Notebook to record the current expression with a name and optional tags and notes. Saved entries can be loaded, searched, and deleted.

Notebook data is stored in IndexedDB (browser-local). It is not synced or shared. Clearing browser data will delete notebook entries.