GUI Tutorial#
This tutorial walks through the main desktop workflow for reviewing one SWC file, letting issues guide the repair process, and saving the result.
Before you start#
Note
You need a working GUI install and at least one SWC file. If needed, start with Getting Started.
Start the application:
swcstudio-gui
Step 1: Open a file#
Open an SWC file from the File menu. You can select several files at
once; each opens in its own tab. Ctrl+Tab and Ctrl+Shift+Tab
(Window -> Next File / Previous File) move between them.
After loading:
the file appears in the central workspace
the left-side
IssuesandSWC Filepanels are populated for the active documentvalidation is triggered automatically for a normal editable document when no prior validation report exists
a legend in the corner of the 3D view shows the colour of each node type in the file (for example, apical dendrites are pink, axons blue);
View -> Show Node-Type Legendhides it
Step 2: Review the issue list#
The Issues panel is the center of the desktop workflow.
It can include:
validation findings
blocked prerequisite summaries
suspicious radii suggestions
likely wrong-label suggestions
a simplification suggestion
This means the panel acts as a guided repair queue, not only as a validation dump.
Step 3: Select one issue#
When you click an issue, the GUI:
focuses the relevant nodes in the active document
updates the inspector with the issue description and suggested solution
routes the right-side controls to the matching repair tool when appropriate
Examples:
index issues route to
Validation -> Index Cleanlabel issues route to
Morphology Editingradii issues route to radii editing controls
topology issues route to geometry editing
Step 4: Apply a repair#
Use the routed tool to apply the fix.
Common repair paths:
Index CleanManual Label EditingAuto Label Editingruns the SWC auto-labeler on the current canvas. The bundled model files work out of the box, so just click Run. To use custom-trained models, use the Browse… button next to the Model folder field. Theready/unavailableindicator next to the field tells you whether the models are found. Leave Cell class onAuto (Stage 1 decides), or choose3-class (axon, basal, apical)or2-class (axon, dendrite)when you already know the cell. With Quality flag on, the result shows the predicted per-cell F1 and whether the cell is flagged for review.Manual Radii EditingAuto Radii EditingGeometry EditingSimplification
Step 5: Define custom types when needed#
If your file uses custom SWC type IDs, define them from the dendrogram editing controls with Add/Edit Types.
Each custom type can store:
type ID
name
color
notes
These definitions persist across restarts, so once they are saved they remain available the next time you open the app.
Step 6: Rerun validation#
After a repair, rerun validation and review the refreshed issue list.
This is the main loop:
inspect
route
repair
validate again
Continue until the important issues are resolved or reduced to acceptable warnings for your workflow.
Step 7: Save and review outputs#
Save the document or close the tab.
The GUI keeps:
the source SWC updated with the current state
an encrypted history archive next to the SWC
If a batch run or another program changes a file while it is open, the
GUI reloads its tab, or asks before an edit or a save would write over
those changes; a tab that keeps its own version is marked
[changed on disk]. See
Files changed on disk.
Open the History Browser to review operation summaries and expandable node-level old/new values. Use Commit History only when you need the exact internal version ID for technical review.
Selecting an operation and choosing Undo selected and later operations restores the document to immediately before that operation. The selected operation and all later operations are removed from the current state, but remain recoverable in history. Commit History instead restores the exact selected saved state.