Implemented incremental graph visualization

The code is still quite messy but I'll be organizing as I go along