put edge and vertex in their own file, added click to expand node functionality