Improve specifying custom digraphs.