You can lock your Node Editor view so that any new nodes you create do not appear in the graph.
Click the lock icon to lock your view. The Node Editor view is unlocked by default.
When in locked mode , you can still use the following methods to create new nodes, and they appear in the Node Editor:
However, nodes created in the scene view, or by clicking in the Create bar in the Hypershade and Create Node window (in other words, not drag and drop creation), do not appear in the Node Editor.
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License