Based on https://en.wikipedia.org/wiki/Topological_sorting#Depth-first_search This approach excludes nodes that are not connected
(&self)
source not stored for this graph (policy: none)