# File lib/rgl/connected_components.rb, line 129 129: def strongly_connected_components 130: raise NotDirectedError, 131: "strong_components only works for directed graphs." unless directed? 132: vis = TarjanSccVisitor.new(self) 133: depth_first_search(vis) { |v| } 134: vis 135: end