visual.conf
4.27 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# -*- Mode: Text; tab-width: 8; indent-tabs-mode: nil; coding: utf-8; -*-
# vim:set ft=conf ts=2 sw=2 sts=2 autoindent:
# Note: this visual.conf is a combination of visual configurations for
# a number of tasks that brat has been applied to. These settings are
# here to provide defaults for new installations, and are not intended
# to be used for reference or a starting point for creating new
# visual.conf files. For simple, clean examples, see the visual.conf
# files in subdirectories of configurations/.
[labels]
# Label definitions for display. The labels are separated by pipe
# characters "|".
# The first label must correspond to the form found first in other
# configuration files. As this form must be valid for use in e.g. the
# BioNLP ST standoff format, it must have only ASCII alphanumerics,
# "_" or "-" (i.e. match '^[a-zA-Z0-9_-]$').
# Labels other than the first define forms that are presented to the
# user in the annotation interface, with the first form being the
# preferred full form and the others abbreviations that will be used
# if fuller forms do not fit in the given space. These have no format
# restrictions and can contain e.g. space (this tends to make the
# first and second columns identical for most terms, which do not
# contain space). Surrounding space is ignored.
### Entity types
Anatomical_entity | Anatomical entity
Anatomical_structure | Anatomical structure
Organism_subdivision | Organism subdivision | Org subdiv
Anatomical_system | Anatomical system | Anat syst
Organ | Organ
Multi-tissue_structure | Multi-tissue structure | Mtissue struct | Mtissue
Tissue | Tissue
Cell | Cell
Developing_anatomical_structure | Developing anatomical structure | Developing structure | Developing
Cellular_component | Cellular component | Cell comp
Organism_substance | Organism substance | Org subst
Immaterial_anatomical_entity | Immaterial anatomical entity | Immaterial entity | Immaterial
Pathological_formation | Pathological formation | Pathological
Cancer | Cancer | Cncr
### Relation types
Equiv | Equiv | Eq
frag | frag
Part-of | Part-of
[drawing]
# Other aspects of visual presentation. The format is label (form used
# in other configurations, first of the labels) of the annotation
# separated by tab from comma-separated key:value pairs. The recognized
# keys, their values and purpose are:
# - fgColor : any HTML color specification (e.g. "black"), sets
# the color of a span text in the visualization.
# - bgColor : any HTML color specification (e.g. "white"), sets
# the color of a span "box" background in the visualization.
# - borderColor : any HTML color specification (e.g. "black"), sets
# the color of a span "box" border in the visualization.
# Also supports special value "darken", which specifies to
# use a darker shade of bgColor for the border.
# - color : any HTML color specification (e.g. "black"), sets
# the color of an arc in the visualization.
# - dashArray : any valid SVG stroke-dasharray specification using
# dashes (instead of commas or space) as separators
# (e.g. "3-3"), sets the dash/dot pattern for lines
# in the span/arc visualization ("-" works for solid
# line)
# The special labels "SPAN_DEFAULT" and "ARC_DEFAULT" are recognized
# as setting defaults that will be used for types without specific
# settings. It is not necessary to define all aspects of the
# visualization (e.g. just Color can be given): defaults will be
# used for unspecified cases.
SPAN_DEFAULT fgColor:black, bgColor:lightgreen, borderColor:darken
ARC_DEFAULT color:black, arrowHead:triangle-5
Equiv dashArray:3-3, arrowHead:none
Part-of color:blue
# entity span colors
Organism_subdivision bgColor:#ddaaaa
Anatomical_system bgColor:#ee99cc
Organ bgColor:#ff95ee
Multi-tissue_structure bgColor:#e999ff
Tissue bgColor:#cf9fff
Developing_anatomical_structure bgColor:#ff9fff
Cell bgColor:#cf9fff
Cellular_component bgColor:#bbc3ff
Organism_substance bgColor:#ffeee0
Immaterial_anatomical_entity bgColor:#fff9f9
Pathological_formation bgColor:#aaaaaa
Cancer bgColor:#000000, fgColor:#ffffff
ATTRIBUTE_DEFAULT glyph:*
Plant glyph:☘
Pathological glyph:☠, position:left
Developing glyph:↗
Processed glyph:⚡