Files
Dennis Kobert b610d4cbf5 Repair the graph when the History panel removes a step or brings one back (#4982)
* 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
2026-11-21 18:51:48 +01:00

61 lines
1.7 KiB
Rust

pub use graphene_resource::{ResourceHash, ResourceId};
pub mod attributes;
pub mod blob;
pub mod crdt;
pub mod delta;
pub mod document;
pub mod history;
mod history_metadata;
pub mod ids;
pub mod model;
mod network_reference;
mod prior;
pub mod registry;
mod repair;
pub mod resources;
mod schema;
pub mod session;
mod sorted;
mod touched;
pub mod value;
#[cfg(any(feature = "conversion", test))]
pub mod from_runtime;
#[cfg(any(feature = "conversion", test))]
pub mod metadata_source;
#[cfg(any(feature = "conversion", test))]
pub mod to_runtime;
pub use attributes::*;
pub use document::*;
pub use history::{History, rehash_deltas};
pub use history_metadata::{HistoryMetadata, MetadataFact, Subject, WallStamp, rev_attr, user_attr};
pub use ids::*;
pub use network_reference::NetworkReference;
pub use schema::*;
pub use session::*;
pub use sorted::Sorted;
pub use touched::Touched;
pub use value::{ValueError, from_value, to_value};
#[cfg(any(feature = "conversion", test))]
pub use from_runtime::{
EncodedDeclaration, RuntimeConversion, ScopedConversion, convert_input, convert_input_attributes, convert_resource_entry, decode_declaration, encode_declaration, encode_node_ui_attributes,
node_value_resource_refs, storage_location_id, storage_node_id, value_resource_ref,
};
#[cfg(any(feature = "conversion", test))]
pub use metadata_source::{InputMetadataEntry, NetworkMetadataEntry, NoMetadata, NodeMetadataEntry, NodeMetadataSource};
#[cfg(any(feature = "conversion", test))]
pub use to_runtime::{Declarations, ProjectedNetwork, ProjectedNode, RuntimeProjection};
#[cfg(test)]
mod tests {
mod bookkeeping;
mod crdt;
mod history_simulation;
mod projection;
mod round_trip;
mod sessions;
}