Removes a node from this Graph object.
If pNode is specified, it is assumed the node is open for read or write.