Add convert-to methods for digraphs and labeled graphs.