added MMAXDocumentGraph to readwrite.__init__