extracted node and edge draw classes