Add Digraph from io.Reader.