Key bindings and mouse functions
Shortcuts work in the napari viewer (with a tracks layer selected), the Lineage View and the Table (click on it first to give it focus). Nodes can be clicked as points or labels in the viewer, as nodes in the Lineage View, and as rows in the Table (drag to select a range).
Selection
Key / mouse |
Action |
|---|---|
Click on a node |
Select this node (centers the view on it if it is the only selected node) |
|
Add/remove this node to/from the selection |
|
Center the view on this node, without changing the selection |
|
Make this node’s tracklet ID the current one, without changing the selection or time point |
Mouse drag |
Select multiple nodes: ‘select points’ tool (Points layer), |
|
Clear the selection |
|
Restore the last selection |
|
Select the previous node set from the selection history |
|
Select the next node set from the selection history |
Editing
Key |
Action |
|---|---|
|
Start a new track: assign a new track id, and a new segmentation label if necessary |
|
Delete the selected nodes |
|
Swap the incoming edges of two nodes at the same time point |
|
Connect the selected nodes into one track, keeping existing outgoing edges as divisions |
|
Connect the selected nodes into one linear track, breaking existing outgoing edges |
|
Break the edges between the selected nodes (edges to other nodes are kept) |
|
Make or break a division between a parent node and its two children |
|
Merge each set of selected nodes that shares a time point into a single node |
|
Undo the last editing action |
|
Redo the last undone editing action |
View
Key / mouse |
Action |
|---|---|
|
Hide or show all currently active widgets |
|
Cycle the display mode: All → Lineage → Group (Group only when groups exist) |
|
Center the orthogonal views on the mouse cursor |
Click column header |
Sort the Table by this column |
Lineage view
Key / mouse |
Action |
|---|---|
|
Switch between all lineages and the selected lineages |
|
Switch the lineage view between the tree plot and a feature plot |
|
Flip the axes of the lineage view |
|
Select the node to the left / right |
|
Select the parent / child node, or the next / previous lineage (selected lineages view) |
Scroll (+ |
Zoom in or out (only along the x / y axis) |
Right drag |
Stretch or squeeze the axes (horizontally: x axis, vertically: y axis) |
Mouse drag |
Pan |
Right click |
Reset the view |
See Editing tracks for a detailed description of each editing action.