How can I specify whether the input graph is directed or undirected?

3 vues

Réponse

You can use the `direction` parameter. Specify "DIRECTED" for a directed graph or "UNDIRECTED" for an undirected graph. The default is "UNDIRECTED".
¿Te ayudó esta respuesta?
cycle

optNetwork

Ver acción técnica