Oh, manage to find the nodegraph window at last. It was open all the time and was hiding above the window. That's why clicking the tabs doesnt work - it's already open
I've been using the nodegraph editor without any problems till now, but looks like it's not functioning lately. Tried both in the viewport and under the material tab - clicking any of them wont bring out the nodegraph editor window as usual. Did I accidentally clicked anything that deactivates this ...