Can't select nodes after turning off visibility

I didn't want to see the connections for the node type so I selected it and toggled visibility off. It worked as expected but then I couldn't select any nodes or edges after that.