[Mac GUI] Graphviz on OS X no longer automatically reloads changed graphs
Ported Issue from Mantis Original ID: 1372 Reported By: Eric Hodel
SEVERITY: MINOR Submitted: 2008-07-31 22:32:32
OS: X86-OSX-10.5.4
VERSION: 2.18
DESCRIPTION
In a previous version of Graphviz (1.14, IIRC) touching or saving a graph Graphviz was displaying would cause Graphviz to automatically lay the graph out again from the updated file. Graphviz no longer has this behavior.
Steps to reproduce:
$ echo "digraph { "a" -> "b"; }" > my_graph.dot
$ open my_graph.dot
$ echo "digraph { "a" -> "b" -> "c"; }" > my_graph.dot
Expected results:
Graphviz displays the graph with nodes a, b and c instead of just a and b.
Actual results:
Graphviz still shows the graph with nodes a and b only.
Re-opening the graph does not cause the graph to be re-loaded from disk:
$ open my_graph.dot
Graphviz gets focus but does not update the graph, only nodes a and b are shown.
Closing the graph (cmd-w) and running:
$ open my_graph.dot Will re-display the graph.
ADDITIONAL INFORMATION
I found this feature useful for generating a graph from a command line script and seeing what has changed. [] Did you try the experimental snapshots at http://www.graphviz.org/Download_macos.php or did you use 2.20.2?
[glen.low]If you open the graph in TextEdit and edit it there, does the graph automatically update in Graphviz? Is your hard disk formatted as HFS/HFS+ or some other format e.g. UFS?