MCPcopy Create free account
hub / github.com/BehaviorTree/Groot / moveConnections

Method moveConnections

QtNodeEditor/src/NodeGraphicsObject.cpp:136–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134
135
136void
137NodeGraphicsObject::
138moveConnections() const
139{
140 NodeState const & nodeState = _node.nodeState();
141
142 for(PortType portType: {PortType::In, PortType::Out})
143 {
144 auto const & connectionEntries =
145 nodeState.getEntries(portType);
146
147 for (auto const & connections : connectionEntries)
148 {
149 for (auto & con : connections)
150 con.second->connectionGraphicsObject().move();
151 }
152 };
153}
154
155void NodeGraphicsObject::lock(bool locked)
156{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected