# # # patch "config.py.example" # from [5b8ea8a19a27b2e7c4ff9ffe6f26547689ce4cb6] # to [071b913fbfb02df32f28ce45414acc531e69257c] # ============================================================ --- config.py.example 5b8ea8a19a27b2e7c4ff9ffe6f26547689ce4cb6 +++ config.py.example 071b913fbfb02df32f28ce45414acc531e69257c @@ -21,14 +21,29 @@ # a good idea not to leave your private key in it dbfile = '/path/to/monotone.db' -# a directory (must be writable by the web user) -# in which viewmtn can output graph files -# (you should set up a cronjob to delete old ones -# periodically) -graphdir = '/opt/viewmtn/graph/' +graphopts = { + # a directory (must be writable by the web user) + # in which viewmtn can output graph files + # (you should set up a cronjob to delete old ones + # periodically) + 'directory' : '/path/to/graph/directory', -# a URL, relative or absolute, at which the files -# in the 'graphdir' directory can be found. Should -# end in a '/' character -graphuri = 'graph/' + # a URL, relative or absolute, at which the files + # in the 'graphdir' directory can be found. Should + # end in a '/' character + 'uri' : 'graph/', + # the path to the 'dot' program + 'dot' : '/usr/bin/dot', + + # options to use for nodes in the dot input file + # we generate. + 'nodeopts' : { 'fontsize' : '12', + 'shape' : 'box', + 'height' : '0.3', + 'spline' : 'true', + 'style' : 'filled', + 'fillcolor' : '#dddddd' } +} + +