Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/euler
/ AddNode
Method
AddNode
euler/core/graph/graph.cc:162–166 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
160
}
161
162
bool Graph::AddNode(Node* n) {
163
euler::common::NodeID node_id = n->GetID();
164
node_map_[node_id] = n;
165
return true;
166
}
167
168
bool Graph::AddNodeFrom(
169
const std::unordered_map<euler::common::NodeID, Node*>& map) {
Callers
nothing calls this directly
Calls
1
GetID
Method · 0.45
Tested by
no test coverage detected