Docs/Canvas

Workspace

Canvas

Understand the canvas workspace, block workflows, notebook structure, sidebar navigation, files, and table of contents behavior.

WEEMS canvas workspace showing notebook content, the file sidebar, Add Block, Run All, and AI Suggestions.
Canvas is the notebook workspace where document structure, files, navigation, and execution stay visible together.

What canvas is

Canvas is the main notebook workspace inside a project.

Once you open a project and select a notebook, canvas becomes the place where the work actually happens. It keeps the active notebook in the center while surrounding it with the tools that support the workflow, including files, outline navigation, block insertion, and execution controls.

The goal is not just editing text or code. Canvas is meant to keep the technical narrative, executable steps, and supporting workspace tools in one surface so you can move faster without losing context.

Notebook-first

Canvas is centered on the active notebook rather than treating notebooks as a secondary attachment.

Execution-aware

The workspace keeps actions like Add Block, Run All, and assistant suggestions close to the notebook content.

Blocks and notebooks

A notebook in WEEMS is built from blocks, which makes document structure explicit and flexible.

Instead of treating the notebook as one uniform editing mode, canvas lets you add block types that match the job you are doing. Today the most visible block paths include Code, Text, and Gmsh Mesh, alongside additional planned scientific block types.

This makes it easier to mix narrative structure, executable work, and domain-specific technical operations inside the same notebook.

WEEMS insert block modal listing Code, Text, Gmsh Mesh, Geometry, Physics, Study, Spreadsheet, and Chart options.
Block insertion exposes the notebook building units in one place, including current and planned scientific block types.
WEEMS rich text block with headings and formatting controls.
Text blocks are useful for headings, explanations, and technical narrative.
WEEMS code block with Python source and output panel.
Code blocks keep source and output together inside the notebook flow.
WEEMS mesh block showing mesh controls and geometry import workflow.
Gmsh Mesh blocks bring specialized mesh workflow controls directly into the notebook context.

Table of contents and files

Canvas navigation becomes much easier once you use outline and file surfaces intentionally.

The Contents mode gives you a live outline of the notebook so you can jump between headings and keep long documents navigable. This is especially helpful once notebooks stop being short experiments and become structured technical artifacts.

The Files mode keeps notebook files, uploads, and other project assets within reach. That means you can work on the document and still manage the surrounding file context without leaving the canvas workspace.

WEEMS canvas showing the Contents sidebar with an outline of notebook headings.
Contents turns notebook headings into a navigable outline for longer documents.
WEEMS canvas showing the Files sidebar with notebooks and project files.
Files keeps notebooks and supporting assets available alongside the active document.

Why this matters

The outline and file surfaces are what keep canvas usable as a workspace, not just an editor. They make large notebooks and multi-file projects easier to reason about.

Working well in canvas

The cleanest canvas workflows usually come from treating the notebook as a structured technical document.

1

Start with notebook structure

Use text blocks and headings early so the notebook gets a usable outline before it becomes large.

2

Add the right block type for the task

Use text for explanation, code for execution, and specialized blocks only when the workflow requires them.

3

Use sidebar surfaces intentionally

Switch between Contents, Files, and More based on what the current task needs instead of leaving one mode open by default.

4

Reach for machine tools when execution demands it

Bring in machine, logs, and terminal tools when compute or runtime inspection becomes part of the workflow.

WEEMS Documentation

Product guides for projects, canvas workflows, and materials reference handoff.