MCPcopy Create free account
hub / github.com/cneben/QuickQanava / insertCustomEdge

Method insertCustomEdge

samples/cpp/cpp_sample.cpp:110–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110qan::Edge *CustomGraph::insertCustomEdge(qan::Node *source,
111 qan::Node *destination) {
112 const auto engine = qmlEngine(this);
113 if (source != nullptr &&
114 destination != nullptr &&
115 engine != nullptr)
116 return qan::Graph::insertEdge<CustomEdge>(*source, destination, CustomEdge::delegate(*engine));
117 return nullptr;
118}
119
120
121//-----------------------------------------------------------------------------

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected