Perl class for reading a graph from OID format.