Moved the more graph related classes into the new diagram project.
Corrected an issue with the mouse click listener caused by some of the refactoring.