---
title: Remove nodes
project: LessCode
version: 1.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/lesscode/1-0/guides/remove-nodes/
updated: 2026-11-19T04:41:12.340Z
---

# Remove nodes

> Remove one node or clear the whole canvas, and restart LessCode before you add new nodes.

## Remove a node

1. Right-click the node.
2. Select **Remove**.

![The menu of a node, with Remove at the bottom](/files/Jap1aF2eO61f.webp)

3. Select **APPLY** in the toolbar, then **Continue**.

## Clear the canvas

1. Select **Add** (plus) in the toolbar.
2. Select **Clear**, then select **Clear** again to confirm.

Clear removes every node and applies the change at once. Your installed components and variables stay.

## Restart after removing nodes

After an Apply that removed nodes, restart LessCode before you add new nodes. Otherwise the next Apply that adds nodes looks successful but does not run or save them, and they are gone after the next restart.

1. Wait a few seconds after the Apply, so LessCode saves the flow.
2. Stop LessCode (Ctrl+C in the terminal, or `docker restart lesscode` for Docker) and start it again.
3. Reload the designer and continue.

Changing the settings of nodes that are already applied does not need a restart.
