An undirected graph G can be converted to a dag if G is chordal.

ug2dag(object)

Arguments

object

An igraph object.