Tag - detect cycle in directed graph

X