View controls
Scale and Size share one panel under the canvas-tool toggles. They look similar (+ / − on a row) and they are not.
Scale (layout stretch)
Scale X / Y multiplies node positions about the graph’s bounding-box center. Each + click is ×1.12 on that axis; − is ÷1.12.
This is a structural edit:
- The snapshot button goes dirty.
- In a live session, Pallium broadcasts a
set_positionsop so everyone gets the same layout. - A new snapshot will store the stretched coordinates.
One or zero nodes: stretch is a no-op (no center to scale about).
Layout
Layout at the top of the canvas-tool stack runs DAGitty’s spring layouter (500 iterations, (k=2), (c=0.01)). Purpose: place nodes automatically when you imported a DAG without positions, or when the drawing is a mess.
It resets abstract coordinates, iterates, then maps the result onto
the current world bounding box. That is a structural edit (dirty +
live set_positions), same as Scale. Two or more nodes required.
Size (nodes and edges)
Size → Nodes +/− scales the live meshes: circles, SEM rects, labels, and the radii edges attach to.
Size → Edges +/− scales shafts and arrowheads together (same step), so the tip stays in proportion with the line.
Same 1.12 step. Both are cosmetic:
- Do not dirty the graph.
- Are not stored in a snapshot.
- Are not sent to live peers. Your disks or arrows can be huge while theirs stay default.
Camera zoom is a third thing: it does not change stored positions or mesh size; it changes orthographic scale. Labels counter-scale with zoom so they stay readable. Export temporarily boosts label size for the PNG.