feat: add graph traversal function

This commit is contained in:
parker
2025-07-06 14:29:25 +01:00
parent 58ac608f84
commit d6b630bc08
7 changed files with 73 additions and 35 deletions

View File

@@ -17,8 +17,8 @@ TEST_CASE("network")
{
auto newConnection = std::make_shared<nt::GeometryConnection>(newOpId, 1, newOpId2, 3);
auto inputOp = nm->getGeoOperator(newOpId);
auto outputOp = nm->getGeoOperator(newOpId2);
auto& inputOp = nm->getGeoOperator(newOpId);
auto& outputOp = nm->getGeoOperator(newOpId2);
// set output on the upper operator
outputOp.addOutputConnection(newConnection);