Find a cycle Returns the first cycle detected in the graph. Relies on shortest path calculations. If there is a "weight" edge attribute, it will be incorporated in the shortest edge calculation.
1 | detect_cycle(g)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.