ogof is in beta. Your maps will open in the released version. No subscription, no mandatory account. Your distribution, your maps. Send feedback

ogof

ogof › Keyboard shortcuts

Keyboard shortcuts & gestures

Everything the editor does, and how to reach it — from the keyboard, or by touch on a phone or iPad.

Windows covers Linux too.

Keyboard & mouse

Keys are shown for a Mac keyboardWindows & Linux — switch with Mac | Windows at the top of the page.

Tools & modes

VCursor mode — leave any tool mode (brush, line, text, sticky note)
BBrush mode: drag to paint freehand strokes · 1–9 pre-set the next stroke's colour (the pencil cursor tints to match)
LLine mode: click (or drag) from start to end — stays armed so you can chain more lines · L or Escape to exit
TText mode: click to place free text that grows with its words, or drag to draw a text frame — either opens for writing and puts the cursor back · T or Escape to exit without placing
NSticky note: a single click places a note there, open for writing, and puts the cursor back · the bar below picks the next note's paper and size (square or wide) · N or Escape to exit without placing
⌥Alt or ⇧Shift + 1–4 with nothing selectedSet this file's default shape — what double-click creates: 1 rectangle · 2 circle · 3 triangle · 4 hexagon (saved with the map as defaultshape; hexagons snap edge-to-edge and never overlap · ogof --hexagon seeds it from the CLI)

In the Mac app

The Mac app's own menu shortcuts — Mac keys in either notation.

⇧ + ⌘ + 1Window › Start Window — the start window (templates and recent maps), a normal window: it closes with ⌘ + W, minimises with ⌘ + M, cycles with ⌘ + ` like a map window, and comes back on a Dock click when no window is open
⇧ + ⌘ + NFile › New from Template… — the same window
⌘ + ?Help › Keyboard Shortcuts — opens this page

Create

Double-click empty canvasAdd a new node of the file's default shape at the cursor (auto-edits the label)
T then clickFree text: a label that grows as you write
T then dragText frame: the box you drew, open for typing or dictation — words wrap inside it and what does not fit is cut off (an … marks it) until you resize it (E) or pick a smaller type size; the file keeps every word
N then clickPlace a sticky note — a square of coloured paper whose words shrink to fit it
Tab while writing a sticky noteKeep the words and start the next note beside it, same paper and size · ⇧Shift + Tab starts it on the left
L then click, clickDraw a line
B then dragPaint a freehand stroke
⌘Ctrl + V an image · drop an image filePlace the image on the canvas (scaled down on insert; unavailable in shared snapshot views)
Drag a blue handle dot into empty spaceSpawn a new node at the cursor, already connected
PWith nodes selected: turn them into piles, or back into ordinary nodes · with nothing selected: put a new pile in the middle of the view. A pile is a stack you take copies from
Drag a pileTake a copy — same shape, colour, size and label — and drop it; its label is ready to type into · drag the pile's grip to move the pile itself

Select

Click an itemSelect it (replaces the current selection)
Drag on empty canvasRubber-band select nodes, texts, and images — lines join only when the band caught nothing else (they count only where a segment actually crosses the band)
⌥Alt-drag on empty canvasSelect everything inside the band, of every kind — nodes, texts, images, lines and brush strokes alike. Decided when you let go, so pressing or releasing ⌥Alt mid-band counts
⇧Shift-drag on empty canvasAdd to the existing selection instead of replacing (works with ⌥Alt too)
⌘Ctrl + A · on touch, the ⬚ button (bottom bar, cursor mode)Select everything on the current map — nodes, texts, images, lines and brush strokes alike, with none of the band's priority (connections come along with their nodes)
Click on empty canvasClear the selection

Edit & style

Double-click a node / textEdit its label inline · Enter commits · Escape cancels
1–9 with anything selectedRecolor nodes, texts, lines, strokes, and the selected edge: 1 default · 2–8 blue, purple, green, yellow, red, orange, gray · 9 black (nodes invert to white-on-black; text: bold black)
1–9 with sticky notes selectedPick the note's paper: 1 yellow · 2 orange · 3 pink · 4 violet · 5 blue · 6 light blue · 7 green · 8 light green · 9 grey (white is in the bar)
+ / - with anything selectedStep palette colour by ±1 (wraps 1↔9) — on a sticky note, the next or previous paper
⌥Alt + 1–4 with nodes selectedSet the shape of every selected node: 1 rectangle · 2 circle · 3 triangle · 4 hexagon — non-rectangles are fixed-size (E-resize refuses them; becoming one drops a pinned size)
⇧Shift + 1–9 with nodes or texts selectedFont size: 1 default (14px) → 9 largest (56px) · ⇧Shift + +/- steps it
⇧Shift + 1–3 with lines selectedLine render style: 1 straight (default) · 2 smooth bezier · 3 orthogonal (right-angle elbows)
E with one node or text frame selectedToggle resize mode — drag the orange corner grips · ⇧Shift + E resets to auto-size · E or Escape to finish (circles, triangles and hexagons are fixed-size; a sticky note keeps its proportions from a corner — hold ⇧Shift to free them — and never goes back to auto-size; nor does a text frame)
Drag a selected image's corner gripResize the image
A with one node selectedToggle anchor — the map centers on this node on load (one anchor per map)
2+ nodes / texts selectedFloating toolbar above the selection: align items on a horizontal or vertical centre line — if the result would overlap, items are spread along the line with a 20px gap

Arrange & move

Drag an item's bodyMove it (and any other selected items together)
⌥Alt-dragDuplicate the selection (nodes, texts, lines, edges) and drag the copies · press ⌥Alt partway through a drag instead and a copy stays where the drag began
Hold ⇧Shift while dragging one itemSnap it to the 20px background grid (nodes, texts, line bodies, line endpoints)
Hold ⇧Shift while dragging several itemsMove them along one axis only — horizontal or vertical, whichever the drag mostly follows; nothing snaps, so their positions relative to each other stay exactly the same
⇧Shift-drag a hexagonGrab and move its whole snapped-together cluster as one (drop settles everything back onto the lattice)
Drag a line endpoint dot (when selected)Resize / re-aim the line
Double-click a lineAdd a control point — the line runs through every added point · drag the green dots to reshape · double-click a green dot to remove it (works inside L-mode too)
Delete / BackspaceRemove the selection (nodes take their submap subtrees along)

Connections

Drag a blue dot to another nodeCreate a connection — release anywhere near the node once its handles show; the green handle is the one that will receive the edge (nearest to the cursor)
Drag a blue dot onto an existing connected handleRe-route the existing connection
Drag a blue dot into empty spaceSpawn a new node at the cursor and connect to it
Click an edgeSelect it (turns blue + thicker) · Delete removes it
D with an edge selected · the arrow buttons in the bar belowArrowheads: each press of D steps to the next of none → at the end → at the start → at both ends (the bar's buttons pick one directly) · new connections start plain, and a canvas from Obsidian keeps the arrows it was drawn with
Double-click an edge (or its label)Label the connection — "depends on", "triggers". Enter commits, Escape reverts, an empty label removes it
(creating a new edge)Replaces any prior edge between the same pair (undirected)

Submaps & navigation

⌘Ctrl-click / middle-click a nodeEnter that node's submap (on a Mac, Control-click is a right-click, not this)
Drag a selection, hold ⌘Ctrl, drop on a boxMove the selection into that box's submap — the box under the pointer lights up while ⌘Ctrl is held. Press ⌘Ctrl after the drag has started: on the press it opens the box instead
Breadcrumb (top left): 🏠 › map › submapClick any crumb to go back to that level — the one before the last is one level up, the map's name is the whole map. Deep trails collapse the oldest levels into "…"
🏠 in the breadcrumbAll maps: ogof.io's Your maps page, or the app's start window · not shown in the CLI, which opens one file
(current submap + view)Persisted in the URL hash (#/path?z=&x=&y=) so reloads / bookmarks / back-forward restore them

View

Mouse wheelPan — each notch moves exactly one background grid block
Two-finger trackpad swipe · right-click + dragPan freely
Trackpad pinch / ⌘Ctrl + scrollZoom in / out (anchored to the cursor; clamps 50% – 800%)
− / + buttons (bottom left)Zoom out / in around the window centre
⚙ button (bottom left, beside the zoom)Map settings: default shape, theme, background grid on/off and default font, saved with the map
⌨ button (bottom left)Opens this page
⌘Ctrl + 0 · double-click the zoom percentageReset zoom to 100% and recenter on the anchor node
Resize the windowAuto-recenters the current map

Clipboard & history

⌘Ctrl + C / X / VCopy / cut / paste the current selection (each paste offsets +20px)
⌘Ctrl + ZUndo (up to 100 steps; each save is one step)
⌘Ctrl + ⇧Shift + Z · ⌘Ctrl + YRedo

Other

EscapeExit the active tool or resize mode · cancel a link drag or fresh node · clear the selection
(any change)Saves automatically — to the .canvas file, or on ogof.io to this browser

Touch

A keyboard isn't required — every action below works on a touch screen.

Nodes & text

TapSelect an item
Double-tapEdit its label inline
DragMove it (and any other selected items in lockstep)
Long-press (hold ~½ s)Enter the node's submap
Drag onto the red bar at the topDelete the dragged selection

Empty canvas

DragPan the viewport
TapClear the current selection
Double-tapAdd a new node of the file's default shape at the tap point (auto-edits)
⬚ button in the bottom bar (cursor mode)Select everything on the current map — nodes, texts, images, lines and strokes — then drag any of it to move it all, or drop it on the red bar to delete it all
T button in the bottom barText mode: the next tap places a text label (auto-edits) instead of a node, then the bar returns to cursor mode
Sticky-note button in the bottom bar (after the shapes)The next tap places a sticky note (auto-edits), then the bar returns to cursor mode · with notes selected, the paper swatches recolour them

View

Pinch with two fingersZoom the map in / out around the point between your fingers — only the nodes scale, the buttons stay put (clamps 50% – 800%)
Drag with two fingersPan the viewport (works at any zoom level)
− / + buttons (bottom left)Zoom out / in around the screen centre
⚙ button (bottom left, beside the zoom)Map settings: default shape, theme, background grid on/off and default font, saved with the map
Double-tap the zoom percentageReset zoom to 100% and recenter on the anchor node

Connections

Tap a nodeReveals its blue handle dots
Drag a handle dot toward another nodePull a connection
(while dragging)The handle that would receive the edge lights up green
Drop on a nodeCreate / re-route the connection
Drop in empty spaceSpawn a new node at the drop point and connect to it

Editing labels

Double-tap a node / textOpen the keyboard and edit the label
Tap outside the labelCommit the change and dismiss the keyboard

Navigation

Long-press a nodeEnter its submap
Tap a breadcrumb crumb (top left)Go back to that level — the map's name is the whole map
Tap 🏠Back to all maps: ogof.io's Your maps page, or the iPad's document browser

Other

(any change)Saves automatically — to the .canvas file, or on ogof.io to this browser
Add to home screenLaunches ogof as a full-screen standalone app