Privatize some methods in the `Graph` class.

Looking at the API docs, I realized some of the methods in `Graph` should really be private.  Using `add/remove_edge/node` directly is likely only going to cause problems.  This just privatizes all of them.