Keep and copy your flows
Everything you build is in one file on your computer: the nodes, the connections, the components and the variables. Here you see where it is, and how to make a copy and put it back.
When it is saved
LessCode saves the flow some seconds after each change that you apply, and once more before it closes or restarts. Updating the app does not touch it.
What you have on the canvas without pressing APPLY is not saved.
Where it is
Choose Flows → Show the folder of the flows. The file is lesscode.flow. The folder is inside the one of the app:
| System | Folder |
|---|---|
| macOS | ~/Library/Application Support/es.totaljs.apps.lesscode/lesscode/flowstreams |
| Windows | %APPDATA%\es.totaljs.apps.lesscode\lesscode\flowstreams |
| Linux | ~/.local/share/es.totaljs.apps.lesscode/lesscode/flowstreams |
Make a copy
In the designer, press Add, the plus, and choose Download design. The file goes to your Downloads folder, and Show in folder takes you to it. It has the same as the file of the flow.
Make a copy before you change much, and before an AI works on the flow.
Put a copy back
This replaces the flow that you have now. Make a copy of it first if you may need it.
- Choose Flows → Show the folder of the flows.
- Close LessCode. If it is open, it writes its own flow over your copy.
- Put your copy in the folder with the name
lesscode.flow, in place of the other. - Open LessCode.
Leave only one file that ends in .flow in the folder: the designer shows only one.
Take it to a server
The file works in Total.js LessCode on a server too. Back up your flow says where to put it there.
The variables are in the file as they are, with their values. Take out the passwords and the keys before you give it to someone.