cycle - Comment spécifier si le graphe doit être traité comme orienté ou non ?

Réponse

Il faut utiliser le paramètre 'direction' en le définissant sur 'DIRECTED' pour un graphe orienté ou 'UNDIRECTED' pour un graphe non orienté.
¿Te ayudó esta respuesta?
cycle

optNetwork

Doc : cycle