Reconstructing the topology of a metric graph that represents intersecting or branching filamentary paths embedded in 2 or higher dimensional space