Using Compressed Suffix-Arrays for a compact representation of temporal-graphs