* Fix dangling inputs when a history step is removed
A node the line never saw gets a placeholder tombstone, which holds no
inputs, so reconnect returned nothing instead of falling back to the
primary input history kept. The input was left naming a node the
document no longer has, and that state is what history folds to.
* Share the history simulation harness and add a regression test
---------
Co-authored-by: Dennis Kobert <[email protected]>
* Place chains and stacks by relative offsets instead of their own placements
* Lay out the editor's node graph with the graph-layout crate
* Store chains and stacks as relative positions and migrate documents to them
* Trim comments
* Convert read nodes to relative positions in the format step
* Re-save the demo artwork with relative positions
* Append the position conversion to history as one interaction
* Address review comments on the position migration
* Format let chains as CI's rustfmt does
* Keep the dragged node's owners in place when a drag starts
* Keep absolute positions in documents with pending edits
* Make the render node finish SVG renders without caller post-processing
* Remove read_back from the wgpu executor
* Cancel the SVG readback when the render node is dropped
* Move the SVG readback slot into a render node submodule
---------
Co-authored-by: Timon <[email protected]>
* Preview History panel steps and go back to one on double click
* Autosave the current state while previewing a History panel step, and key its banners on the previewed step
* Undo and redo History panel head moves and move the head onto branches
* Persist the publish frontier with History panel head moves, refuse copies off the line, and warn on going back to an unknown step
* Repair the graph when the History panel removes a step or brings one back
* Keep output indices and newer chain bottoms in the History panel's repair, and give an input naming a removed node its earlier value
* Make proto nodes take their input and output names from their definitions
* Stop storing each proto node's interface on the node itself
* Take built-in subgraphs' interfaces from the catalog rather than the document
* Remove the copy of each node's interface from its stored metadata
* Remove per-node interface attributes from the document storage format
* Keep built-in subgraphs' interfaces out of undo rebuilds, incremental saves, and recovery copies
* Fix lost subgraph references in documents saved with node storage IDs
* Reconvert demo artworks to drop obsolete metadata and duplicate subgraphs
* Fix node ID collisions after loading outdated built-in subgraphs
* Fix CI and review issues in the node interface refactor
* Let document migrations write attributes of the anchor and the nodes they add
* Fix mismatched timestamps when document migrations restart history
* Fix the Data panel showing internal attributes in single-item tables
* Place the nodes document migrations add beside the node they replace by default
* Address review findings on migration node placement
---------
Co-authored-by: Dennis Kobert <[email protected]>
* Let migrations add reflection inputs
* Make 'Path' a single node instead of a subgraph holding a 'Monitor'
* Restore regression coverage for subgraph input narrowing through 'Memoize'
* Observe the content input of 'Path' nodes instead of special-casing them in the runtime
---------
Co-authored-by: Dennis Kobert <[email protected]>
* Support migrating built-in network definitions like proto nodes
* Reject added network definitions and fix review findings
* Fix the migration check failing on steps that name a network definition
---------
Co-authored-by: Keavon Chambers <[email protected]>
* Derive catalog node IDs from the entry's network ID
* Show built-in node contents read-only
* Guard read-only networks and re-ID copied networks
* Use runtime node IDs as storage IDs
* Keep the open network shown when undo replaces it
* Address review findings on read-only networks and storage IDs
* Generalize data transfer systems
* Move clipboard items to ingest as application data
* Carry application data as parsed items
* Accept image drags on desktop
* Fix tests
* Add a document-loader crate for opening documents with migrations outside the editor
* Convert the demo artwork to gdd archives
* Report malformed legacy documents as an open error instead of panicking
* Keep the demo artwork list in graph-craft and open the demos at each caller
* Remove the legacy undo/redo snapshot stacks and undo through the gdd storage alone
* Tidy comments and naming in the storage undo and abort paths
* Forget a discarded cursor step so neither redo nor the History panel brings it back
* Fix bugs caused by redoing past the end
* Save as gdd by default
* Always save documents as zipped gdd archives with the .graphite extension and remove the storage round-trip validation
* Tidy comments and grouping in the gdd save and CLI open paths
* Keep .gdd-named CLI inputs on the archive path so a damaged file reports the archive error
* Store large node input values as delta-compressed blobs and send blob deltas to peers
* Restore runtime base staging, shorten blob comments, and tidy blob code
* Address review comments on blob conversion, storage, export and simulation coverage
* Reject blob deltas that decode past the packet size limit
* Ungate local retired-step undo and remote changes from the network feature
* Publish a restored interaction only when a replica is connected
* Add the History panel
* Send the History panel only through its per-frame check, borrow its history line and fold its line changes into one message
* Move the head for a History panel jump when alone too, and focus the name and tag inputs and close them when focus leaves
* Settle a node glide before a History panel line change and show a row's actions while it has focus
* Fix frontend lint errors
* Add graphene-cli host, join and watch
* Trim the live CLI to the migrating opener, the graph output it renders and fewer comments
* Log a failed session transport, exit the watcher cleanly, recover a lost surface and clear answered resource requests
* Add live sessions and the Session panel
* Move comment
* Address the review findings on joining, guest undo, failed history steps and the panel layout
* Keep the undo note of a failed redo and let a promoted guest undo its unanswered step
* Drop the workspace layout version
* Rename 'Math f(x)' and 'Math f(…)' to 'Math Function' and 'Math Formula'
* Move the lone operator mode of 'Math Formula' into a new 'Math Aggregate' node
* New node: 'Math Running'
* Replace 'Copy to Points' and 'Assign Colors' with a family of 'Vary' nodes
* Resolve the type of Copy to Points content wired from a secondary output