* 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
* 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
* Collapse network locations to a table entry and drop inline networks from document state
* Lift legacy inline networks before the migrations and reject missing entries in locate
* Store the definitions table one to one and lift nested networks into it
* Address review feedback on the definitions table storage
* Fix the CLI build and log expected staging fallbacks at debug level
* Shorten and simplify comments
* Reject definition cycles when converting to storage
* Walk definition instances in metadata traversals
* Store interface metadata on the implementing network
* Store network interface metadata on storage networks
* Apply interface edits inside a shared network to every instance
* Address review feedback on interface metadata
* Retire the rust-gpu twins of the adjustment nodes, leaving rust-gpu dormant
* Remove the dormant rust-gpu shader crate and everything that supported it
* Add a definitions table to NodeNetwork with path resolution and inlining before preprocessing
* Resolve network metadata, views, and network node checks through the definitions table
* Prevent infinite recursion
* Exchange retired history between peers: send what a peer lacks, follow a retirer's line, and fast-forward or merge
* Share the retired-op apply between follow and merge, and tidy the session tests
* Reject following to a head missing from history
* Cleanup const checking in the compiler
* Reject constant data fields and update README node snippet
* Group all boolean node attributes into NodeFlags
* Add editor task module, drop NodeGraphUpdateSender
* Remove Node::reset and unused value nodes
* Remove unneeded async from vector nodes
* Remove unneeded async from graphic nodes
* Remove unneeded async from raster nodes
* Remove unneeded async from the remaining nodes
* Make most node fns private
* Make node construction sync
* Remove block_on around node construction
* Move GPU readback into ConvertAsync
* Make Convert sync
* Make wgpu pipelines and vello rendering sync
* Make convert, brush and render nodes sync
* Pass editor API as owned Arc
* Take scope inputs by value
* Move Spawn and Task into core-types
* Add Poll type and status tracking
* Add source generations to context
* Stop storing context features in the document
* Track source ids in context modification
* Add async runtime and memo table
* Pass runtime through scope, expose source ids
* Set up async runtime in editor, CLI and benches
* Give async nodes runtime and source id inputs
* Classify node return types in the macro
* Make Node eval sync and return Poll
* Make lazy input nodes, tests and benches sync
* Rerender when a spawned task finishes
* Rerender in CLI until all tasks are done
* Abort pending tasks when node is dropped
* Trace errors through Poll node inputs
* Let node errors carry upstream errors
* Resolve error traces to the origin node
* Show evaluation errors in the node graph
* Default unmapped item primaries to a value
* Add debug nodes
* Memoize fallback results too
* Show multiple node graph errors
* Report node errors in CLI
* Attach input fallback error as upstream
* Keep input fallback error when node fails
* Keep Poll status in render cache
* Keep last frame while graph is pending
* Treat partial export output as pending
* Move environment from global to dispatcher
* Add editor builder, drop global node runtime
* Add Wake message, rerun graph when tasks finish
* Add source generation tests
* Add test for node error origin
* Add render status overlay
* Replace error artwork with render status
* Poll node graph through portfolio message
* Minor review fixups
* Remove future type and macro
---------
Co-authored-by: Dennis Kobert <[email protected]>
* Show names, wired types, and possible types in connector tooltips
* Show descriptions on outputs and exports, stored for subgraph nodes
* Describe built-in subgraph nodes and fill descriptions into older documents
* Reorder imports and exports by dragging their names, including the primary
* Manage imports and exports from a context menu and a description popover
* Rename imports and exports in place and show tooltips on their names
* Drag imports and exports into or out of a primary slot set apart by a gap
* Add imports and exports with dimmed connectors in place of the + buttons
* Center the Inspector's empty-state message in the panel on two lines
* List the type of a value given to a subgraph's export in its output's tooltip
* Test filling output descriptions on a node set up for it, not the demo's saved state
* Close the description popover from its text area's own Ctrl+Enter, not the window's
* Route every network interface write through a single-writer store
* Keep the existing previewing behaviour and fix the review findings that remain
* Record what each store write changed and stage it into the working copy
* Fix the delta path's resource staging, batch liveness, and stale comparisons
* Keep batch resource liveness and load-time repairs consistent with what reaches storage
* Correct the delta documentation and stop persisting pinned nodes the network lost
* Swap a node's implementation in place instead of rebuilding the node
* Resolve network attributes through the same source as the IDs they name
* Resolve an implementation swap by timestamp and let an edit report whether it changed the value
* Make wasm wrapper not depend on editor on native
* Introduce pkg-native
* Fix tests
* Fix fmt
* Correct span and make cargo fmt work inside editor_commands block
* Review
* Fix lint
* Add document-format crate
* Adapt document-format to merged graph-storage and consolidate errors
* Fix resource write ordering, codec error masking, and export docs
* Remove document-format RFC; tracked in a dedicated PR
* Restructure document-format into gdd/persist/export/resource modules
Split the 963-line lib.rs by responsibility: persist path into persist.rs, resource I/O into resource.rs, export engine into export.rs. Rename the GddV1 layout struct to GddV1Layout and add a GddV1 = Gdd<GddV1Layout> alias.
* Feature-split document-format and graph-storage for minimal builds
* Address PR review: O(1) history-delta lookup and no-default-features test build
* Address PR review: propagate apply_hot_op persist error and assert resource hash
* Make decompression from archive streaming
* Share archive export body between export and export_to_bytes
* Review cleanup
* Export documents with un-retired hot ops losslessly
* Persist last_broadcast_rev in session.json, drop unused last_retired_at
* Move peer_id from manifest to session.json
* Rename gesture to interaction in document-format storage layer
* Add History type and merge-commit model to graph-storage
* Add History::merge with canonical-sort convergence to graph-storage
* Append merge delta without re-sorting the whole history
* Resurrect across merges by searching all ancestors, not the primary chain