export compressed graph