Press escape to exit fullscreen


CC {{sketch.licenseObject.short}}

Archived Sketch

This sketch is created with an older version of Processing,
and doesn't work on browsers anymore.

View Source Code

Capture Screenshot


Integration of the Rocha–Thatte cycle detection algorithm in directed graphs. See wikipedia for more details about the algorithm. Classes used: - Node, know wich edges come in and out. - Edge, know wich nodes it connects. - Cycle, store the detected cycles - Graph, the manager that contains the logic. note: it had been a hell to translate form java to js!
just press spacebar to load different graphs<br>
We recovered an unsaved version of this sketch. Please review your changes below.

As a Plus+ Member feature, this source code is hidden by the owner.

  • {{co.title}}
    {{$t('sketch.mode-pjs')}} {{$t('general.learnMore')}}
    Select mode or a template
    • {{l.url.substr(l.url.lastIndexOf('/') + 1)}}



    Versions are only kept for 7 days.
    Join Plus+ to keep versions indefinitely!