private Tuple <IEnumerable <GraphAndUI <NodeUIData> >, IEnumerable <NodeGroup>, object, bool> ReadFromStream(IDataSource datasource, Stream m)
        {
            var deserializer = SerializationUtils.ConversationDeserializer(datasource);
            var data         = deserializer.Read(m);
            var groups       = data.EditorData.Groups;

            return(Tuple.Create(data.Nodes, groups, data.DocumentId, m_shouldDuplicate));
        }