Finished block graph rendering function mostly.