mk_undirected is method on graph, directed is an attribute of graph