Simple graph manipulation class written in c++. It is just a kind of prototype, but it work.