Skip to content

pda.Edit

One change in a document’s chain, with the state it produced.

PropertyDescription
changes{path: (before, after)} for what this change moved.
headsThe document’s heads once this change had landed.
indexPosition in the chain, oldest first.
sessionShort form of the actor that wrote it. A session, not a person.
stateThe whole document as it stood after this change.

{path: (before, after)} for what this change moved.

Paths are dotted, with list positions in brackets: parameters.radius, components[3].ref, layers.SiN.thickness. A subtree that appeared or vanished is one entry, with None on the side that had nothing.

The document’s heads once this change had landed.

The merged frontier, not the change’s own hash: with two sessions editing at once, a single hash names one branch’s view, and reading there would show the other session’s work as undone.

Position in the chain, oldest first.

Short form of the actor that wrote it. A session, not a person.

The whole document as it stood after this change.