-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
59 lines (49 loc) · 1.63 KB
/
config.yaml
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
{
data: {
# Has to be valid if calculate if true, otherwise unimportant
csvFilePath: "data/play_data.csv",
# Has to be inside the result column
positiveValue: "Yes",
# Has to be valid if calculate if false, otherwise unimportant
treeFilePath: "play_data.tree",
imageFilePath: "play_data.png"
},
booleans: {
# Log output to console?
# Errors are always printed.
verbose: true,
# If calculate is true, root node is read from a .csv and rest is calculated
# If calculate if false, whole tree is read from a .tree file to be drawn
calculate: true,
# Save image into a .jpg file?
saveImage: false,
# Show image with an opencv window?
showImage: true,
# Save tree into a .tree file?
# Doesn't work if you already read the tree from a .tree file
saveTree: false
},
colors: {
# Colors of console output
infoColor: "ffaa02",
errorColor: "c22929",
questionColor: "00aa02"
},
dimensions: {
# Change these values to draw a tree however you want.
# Ideally, you would change these values after you save your tree
# into a file and set calculate to false.
imgWidth: 800,
imgHeight: 800,
# Height difference between parent and child as pixels
yChange: 150,
# Width difference between parent and child
# NOTE: This is not absolute difference,
# just a multiplier.
xChange: 500,
# float
fontSize: .75,
# int
thickness: 2
}
}