Added some graph operations