Graph algorithms in UE4 source?

I’m working with things like procedural level generation and will need some code with graphs to do things like delaunay triangulation and finding shortest paths between nodes. I’m looking at some of the navigation code because that should have some of the graph algorithms I need without me having to do my own duplicate work, but I’m not sure how reusable it is.

Is it worth me trying to reuse UE4 code for some light weight graph algorithms or should I just roll some of my own?