visual.conf 4.21 KB
# -*- 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
OUT-OF-SCOPE | OUT-OF-SCOPE

### 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

OUT-OF-SCOPE	bgColor:#ff0000

ATTRIBUTE_DEFAULT	glyph:*

# TODO: attribute visualization config