View directed and undirected graphs as mixed graphs.