Graphite/node-graph/gstd/src
adamgerhant 0dbbabe73e
Add layer node chains, import/export edge connectors, and refactor graph editing to go thru a NodeNetworkInterface (#1794)
* WIP: NodeNetworkInterface

* Organize ModifyInputsContext to use network interface

* Improve ClickTarget and Position state

* Rework ClickTarget state

* Continue fixing NodeGraphMessageHandler

* Restructure network_metadata

* Final(?) NodeNetworkInterface struct

* Final(??) NodeNetworkInterface

* Final(???) NodeNetworkInterface. Separated persistent and transient data

* Final NodeNetworkInterface data structure. Implemented all basic getters

* Continue migrating functionality to network interface

* Migrate all NodeGraphMessage's to use network interface

* Fix all helper functions in NodeGraphMessageHandler

* Move document metadata to network interface, remove various cached fields

* Move all editor only NodeNetwork implementations to NodeNetworkInterface

* Fix all DocumentNodeDefinitions

* Rework and migrate GraphOperationMessages to network interface

* Continue migration to NodeNetworkInterface

* Save point before merging master

* Fix all errors in network_interface

* 850 -> 160 errors

* Fix all errors :D

* Render default document

* Visualize click targets

* merge conflicts

* Cache transient metadata separately, store entire interface in document history

* Start migration to storing selected nodes for each network

* Remove selected nodes from document message handler

* Move outward wires and all nodes bounding box to transient metadata

* Fix connecting/disconnecting nodes

* Layer stack organization for disconnecting/connecting nodes

* Basic chain locking

* Improve chain positioning

* Add copy/pasting

* Move upstream nodes on shift+drag

* merge conflict fixes

* Improve Graph.svelte code quality

* Final improvements to Graph.svelte

* Fix layer panel

* Performance optimizations

* Bug fixes and derived PTZ

* Chain organization improvement and bug fixes

* Bug fixes, remove all warnings

* Automatic file upgrade

* Final code review

* Fix editor tests

* Fix compile errors

* Remove select tool intersection check when panning

* WIP: Import/Exports

* Fix JS issues

* Finish simplified import/export UI

* Import/Export viewport edge UI

* Remove minimum y bound on import/export ports

* Improve performance while panning graph

* cargo fmt

* Fix CI code build

* Format the demo artwork graph with chains

* Code review

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
Co-authored-by: dennis@kobert.dev <dennis@kobert.dev>
2024-08-04 06:47:13 -07:00
..
any.rs Restore functionality of GPU infrastructure (#1797) 2024-07-15 13:14:48 +00:00
brush.rs Restore functionality of GPU infrastructure (#1797) 2024-07-15 13:14:48 +00:00
cache.rs Rename the legacy Graphene crate to document-legacy (#899) 2022-12-22 02:12:05 -08:00
gpu_nodes.rs Add layer node chains, import/export edge connectors, and refactor graph editing to go thru a NodeNetworkInterface (#1794) 2024-08-04 06:47:13 -07:00
http.rs Fix Imaginate by porting its JS roundtrip code to graph-based async execution in Rust (#1250) 2023-06-09 09:03:15 +02:00
image_color_palette.rs Code cleanup and refactoring to enhance consistency (#1695) 2024-03-20 21:28:51 -07:00
image_segmentation.rs Serialize Color as srgb (#1136) 2023-04-16 15:02:22 +02:00
imaginate.rs Integrate Vello for vector rendering (#1802) 2024-07-22 01:56:29 -07:00
lib.rs Node network subgraph editing (#1750) 2024-06-02 08:01:56 +00:00
quantization.rs Restore functionality of GPU infrastructure (#1797) 2024-07-15 13:14:48 +00:00
raster.rs Restore functionality of GPU infrastructure (#1797) 2024-07-15 13:14:48 +00:00
value.rs Graphene CLI + quantization research (#1320) 2023-07-04 17:04:09 +02:00
vector.rs Memoize hashing (#1876) 2024-08-01 04:42:15 -07:00
wasm_application_io.rs Improve rendered SVG output syntax for better compatibility and terseness (#1880) 2024-07-30 08:28:49 -07:00