public Node GetOutputOwner(Output output) { lock (nodesLock) return nodes.FirstOrDefault(node => node.Outputs.Contains(output)); }