Street data is stored in GraphHopper. You could traverse the full graph e.g. via extending XFirstSearch and then do on checkAdjacent:
boolean checkAdjacent( EdgeIterator iter ) {
PointList pl = iter.fetchGeometry(3);
String name = iter.getName();
}
If you want to get an edge from a location for the "fence-use-case" you can have a look into LocationIndexTree.
Some clarifications:
Routing graphs usually don't contain spatial informations
The routing graph itself does not need this data but still we need this data to display the route etc.
Is there a way then to add weight to a node during the calculation
As explained on the mailing list.