source: mds-and-trees/tree.conf @ 1254

Last change on this file since 1254 was 624, checked in by konrad, 8 years ago

New, faster, more flexible and refactored version of the tree-genealogy script. Supports drawing trees as both raster graphics (bmp/png/jpg) and vector graphics (svg).

File size: 1.2 KB
Line 
1{
2        "_comment": "Example of the config file, none of the fields is required. Built-in 'meanings' are: adepth, depth, children, kind, time. Any additional custom properties can be used, as long as their values are given in [OFFSPRING] entries. 'Bias' changes the scale to non-linear one: values > 1 result in concave, while values < 1 in convex mapping of the values. 'Kind' is applicable only for the 'color' property and uses the 'colors_for_kinds' list instead of 'start', 'end' and 'bias' fields.",
3        "colors_of_kinds": ["red", "green", "blue", "magenta", "yellow", "cyan", "orange", "purple"],
4        "dots": {
5                "color": {
6                        "meaning": "time",
7                        "start": "orange",
8                        "end": "blue",
9                        "bias": 1
10                        },
11                "size": {
12                        "meaning": "depth",
13                        "start": 2,
14                        "end": 5,
15                        "bias": 1
16                        },
17                "opacity": {
18                        "meaning": "children",
19                        "start": 0.3,
20                        "end": 1,
21                        "bias": 1
22                        }
23        },
24        "lines": {
25                "color": {
26                        "meaning": "adepth",
27                        "start": "black",
28                        "end": "red",
29                        "bias": 3
30                        },
31                "width": {
32                        "meaning": "adepth",
33                        "start": 1,
34                        "end": 4,
35                        "bias": 3
36                        },
37                "opacity": {
38                        "meaning": "adepth",
39                        "start": 0.1,
40                        "end": 0.8,
41                        "bias": 5
42                        }
43        }
44}
Note: See TracBrowser for help on using the repository browser.