diff --git a/node-graph/graph-craft/src/document.rs b/node-graph/graph-craft/src/document.rs index b607b556d7..5b9b2cc3f9 100644 --- a/node-graph/graph-craft/src/document.rs +++ b/node-graph/graph-craft/src/document.rs @@ -315,7 +315,7 @@ pub enum DocumentNodeImplementation { Network(NodeNetwork), /// This describes a (document) node implemented as a proto node. /// - /// A proto node identifier which can be found in `node_registry.rs`. + /// A proto node identifier, resolved against `NODE_REGISTRY` in `core-types/src/registry.rs`. #[serde(alias = "Unresolved")] // TODO: Eventually remove this alias document upgrade code ProtoNode(ProtoNodeIdentifier), /// The Extract variant is a tag which tells the compilation process to do something special: it invokes language-level functionality built for use by the ExtractNode to enable metaprogramming. diff --git a/node-graph/graph-craft/src/proto.rs b/node-graph/graph-craft/src/proto.rs index 516e72da46..81ddb9d3d9 100644 --- a/node-graph/graph-craft/src/proto.rs +++ b/node-graph/graph-craft/src/proto.rs @@ -70,11 +70,12 @@ impl core::fmt::Display for ProtoNetwork { } #[derive(Debug, Clone, serde::Serialize, serde::Deserialize)] -/// Defines the arguments used to construct the boxed node struct. This is used to call the constructor function in the `node_registry.rs` file - which is hidden behind a wall of macros. +/// Defines the arguments used to construct the boxed node struct, passed to the +/// constructor registered in `NODE_REGISTRY` (`core-types/src/registry.rs`). pub enum ConstructionArgs { /// A value of a type that is known, allowing serialization (serde::Deserialize is not object safe) Value(MemoHash), - /// A list of nodes used as inputs to the constructor function in `node_registry.rs`. + /// A list of nodes used as inputs to the registered constructor. /// The bool indicates whether to treat the node as lambda node. // TODO: use a struct for clearer naming. Nodes(Vec),