MCPcopy Create free account
hub / github.com/GraphiteEditor/Graphite / push_node

Method push_node

node-graph/interpreted-executor/src/dynamic_executor.rs:396–424  ·  view source on GitHub ↗

Inserts a new node into the [`BorrowTree`], calling the constructor function from `node_registry.rs`. This method creates a new node container based on the provided `ProtoNode`, updates the source map, and stores the node container in the `BorrowTree`. # Notes - Updates the source map using [`update_source_map`](BorrowTree::update_source_map) before inserting the node. - Handles different type

(&mut self, id: NodeId, proto_node: ProtoNode, typing_context: &TypingContext)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

newMethod · 0.80
updateMethod · 0.80
push_node_syncFunction · 0.80

Calls 5

update_source_mapMethod · 0.80
store_nodeMethod · 0.80
node_depsMethod · 0.80
constructorMethod · 0.80
cloneMethod · 0.45

Tested by 1

push_node_syncFunction · 0.64