I am currently reading about graph theory and came across something that confused me.
Say we have a walk between vertices $x$ and $y$. If vertex $x$ does not equal to vertex $y$ then it is called a path. However, if $x = y$ then it is called a cycle.
What confused me is that there are at least three distinct edge to form a cycle. I understand that it is the case for undirected graph, but why is it also the case for a directed graph. Can't we have $2$ edges to form a cycle?
For example, lets say we have a directed graph with vertices $x,y$ and edges $x\to y$ and $y \to x$. Doesn't this graph form a cycle ?
