Distance between a vertex from itself

109 Views Asked by At

In undirected graphs the distance between a vertex from itself is 0, what about directed graphs if there is no path with positive length? For example only one vertex

is it 0 too or $\infty$?