Suppose I have the following graph:
(graph, nodeFromVertex, vertexFromKey) = graphFromEdges [("a", 'a', ['b']), ("b", 'b', ['c']), ("c", 'c', []), ("d", 'd', ['b'])]
This is the visual:
I want a way to figure out the vertices that do not have any outgoing edges.
In this case it is only c
I assume the way to find this is manually recurse until you find a vertex that has no connections. But I am not sure how to recurse here...
The Haskell graph docs don't really say...