How to travase on HashMap raw

Im Impleamenting a Graph via HashMap.
The Graph vertexs are all going to be in the HashMap
if the vertex are neighbors they going to have the value True in the Hashmap
What I want to do is to take a vertex and adding all the nieghbors to a…