Skip to content
dead10ck edited this page Aug 7, 2014 · 2 revisions

This example uses the diff algorithm described in Algorithms and Operations.

Included in the examples/sample folder are two files, cc-20140624-2200-DE.json and cc-20140703-2200-DE.json, which both represent the ASNs of Germany on the date indicated in the file name. We can take the diff of these two snapshots like so:

$ cd examples
$ ./examples/diff.py -m -c -a label ./sample/cc-20140624-2200-DE.json ./sample/cc-20140703-2200-DE.json
$ cd /path/to/graphiti
$ ./graphiti demo /path/to/semanticnet/examples/UA-UA-diff-c-m.json
Clone this wiki locally