File: README

package info (click to toggle)
monotone-viz 1.0.2-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 644 kB
  • ctags: 1,406
  • sloc: ml: 5,687; ansic: 779; makefile: 164
file content (77 lines) | stat: -rw-r--r-- 2,008 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77

Monotone-viz
============

This is a small GNOME application to visualize monotone ancestry
graphs.

Monotone-viz is licensed under the GPL (General Public License),
either version 2, or (at your option) any later version.


REQUIREMENTS
============
- dot from the graphviz package
  http://www.research.att.com/sw/tools/graphviz/
- GTK+ >= 2.6, libgnomecanvas


COMPILING
=========
- compile/install ocaml
- if you've pulled this from the monotone repository:
  compile/install LablGTK
  run `aclocal -I . && autoconf' to generate configure
- run ./configure, with the following options if needed:
    --with-lablgtk-dir=
    --without-local-lablgtk
    --bindir
- make
- make install

see INSTALL for an in-depth description of this procedure.


RUNNING
=======
usage: monotone-viz [options] [db [branch]]
options:
  -noaa don't use an anti-aliased canvas
  --version print version number and exit

If db and branch are not specified on the command line and
monotone-viz is run from a monotone-controlled directory, it will
automatically use the database and branch specified in the MT/options
file.


STYLE FILE
==========
Appearance can be controlled via a style file, named
`.mononote-viz.style', in the home directory.

grammar: 
  "font" <font_name>
  "cert" cert_name <regexp> "[" ( attribute "=" <string> ";" )+ "]"
  "autocolor"     <none|key|author|branch>
  "layout"        <LR|TB>
  comments are delimited by "(*" and "*)"

When displaying a node, if the node has a cert named 'cert_name' whose
value matches 'regexp', then the specified attributes are used when
displaying the node.

example:
  font "Monospace 10"
  cert author "graydon@.*" [ color = "lightyellow"; ]

the supported attributes are:
 color         : background color for the node (a color name or a triplet "#rrggbb")
 outline_color : color of the node outline
 width_pixels  : width of the outline
 text_color    : color of the node's label


-- 
Olivier Andrieu <oandrieu@gmail.com>
http://oandrieu.nerim.net/monotone-viz/