Moved the more graph related classes into the new diagram project.