visualize Int Components
Visualizes the strongly connected components (SCCs) of a graph with integer nodes.
This function is a specialized version of visualizeComponents for integer-based components.
Example usage:
val graph = IntGraph(3, false)
graph.addEdge(0, 1)
graph.addEdge(1, 2)
graph.addEdge(2, 1)
val scc = graph.stronglyConnectedComponents()
scc.visualizeIntComponents()Content copied to clipboard