A graph generation pipeline for critical infrastructures based on heuristics, images and depth data