Question

Is this a legal cyclic directed graph? It has only two nodes.

 A  --------->   B
      <--------
Was it helpful?

Solution

you can have directed cycles between two nodes, its completely valid. even cycles from Node A to Node A is valid (in case of undirected)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top