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 not stored for this graph (policy: none)