MCPcopy Create free account
hub / github.com/chigraph/chigraph / nodeByID

Method nodeByID

libchigraph/src/GraphFunction.cpp:38–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38NodeInstance* GraphFunction::nodeByID(const boost::uuids::uuid& id) const {
39 auto iter = nodes().find(id);
40 if (iter != nodes().end()) { return iter->second.get(); }
41 return nullptr;
42}
43
44NodeInstance* GraphFunction::entryNode() const noexcept {
45 auto matching = nodesWithType("lang", "entry");

Callers 1

Calls 2

endMethod · 0.80
getMethod · 0.80

Tested by

no test coverage detected