A program that constructs a directed graph from a sequence of degrees of vertices and finds cycles in this graph using dfs algorithm
Instruction:
- Enter non increasing sequence of degrees of vertices;
- Press the button "Нарисовать"
- Change the direction of the arrows by clicking on them
- In the text box on the right side of windows you will be able to see the graph cycles