Skip to content

Commit a9761c3

Browse files
committed
Store the definitions table one to one and lift nested networks into it
1 parent 92763fa commit a9761c3

23 files changed

Lines changed: 1131 additions & 695 deletions

‎document/format/src/lib.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,14 +286,14 @@ impl<L: Layout> Gdd<L> {
286286
&self.network_view_settings
287287
}
288288

289-
/// Resolve each runtime `network_path` to its stable [`NetworkId`](document_graph_storage::NetworkId), so the
289+
/// Resolve each runtime network location to its stable [`NetworkId`](document_graph_storage::NetworkId), so the
290290
/// editor can key per-network, per-peer view state by a stable id. See [`Session::network_ids`].
291291
#[cfg(feature = "conversion")]
292292
pub fn network_ids<M: NodeMetadataSource>(
293293
&self,
294294
network: &graph_craft::document::NodeNetwork,
295295
metadata: &M,
296-
) -> Result<std::collections::HashMap<Vec<core_types::uuid::NodeId>, document_graph_storage::NetworkId>, CommitError> {
296+
) -> Result<std::collections::HashMap<graph_craft::document::OwnedNetworkLocation, document_graph_storage::NetworkId>, CommitError> {
297297
self.session.network_ids(network, metadata)
298298
}
299299

0 commit comments

Comments
 (0)