export adj matrix as csv