Graph doesn't use hashmaps anymore