Introduction - If you have any usage issues, please Google them yourself
Determine whether there is a loop in a directed graph
Input Convention
The number of the vertices in the first behavior graph is n; second the number of radians in the way of behavior is e;
Second behavior vertex information; then the two vertices of the e behavior e arc attachment