Add basic vertex info output

- perf is poor; aggregating a map is very slow
Save history using a graph writer

- perf is way better
- format now requires some parsing
Change output format for better analysis

- compress to speed up analysis
- output both in and out degrees