added visualization clear functions and tied them to the removal of vertices, improved the performance of force direction by using animations, need to find a better way than just having force direction run constantly in the background