Drawing graph is asynchronous

Still a bit buggy