cyclegraph/model: unify, clean up graph printing
authorBrian Norris <banorris@uci.edu>
Fri, 1 Mar 2013 07:24:20 +0000 (23:24 -0800)
committerBrian Norris <banorris@uci.edu>
Fri, 1 Mar 2013 07:42:49 +0000 (23:42 -0800)
commite0f80c403452e544452f64687b3c489a869e4f77
tree2ae8689e242faf2b5ed35c82c6c0a35d7da9547b
parent9fe0f14ceaf30ca99ce7a58aba8c49bb9b351f71
cyclegraph/model: unify, clean up graph printing

This fixes several things:

1) The rf edges now are directed properly
2) Read-from-promises show up in the graph
3) ModelChecker uses the same code as CycleGraph for printing a
   CycleNode or graph edge
4) Graphs are more readable; I put a large weight on the
   sequenced-before edges, causing graphviz to try to make these edges
   "shorter, straighter and more vertical" [1]
5) Use the 'SnapshotAlloc' STL allocator for CycleGraph::nodeList

[1] http://www.graphviz.org/doc/info/attrs.html#d:weight
cyclegraph.cc
cyclegraph.h
model.cc