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

Method insertCustomEdge

samples/style/custom.cpp:111–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected