visual.conf 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. # -*- Mode: Text; tab-width: 8; indent-tabs-mode: nil; coding: utf-8; -*-
  2. # vim:set ft=conf ts=2 sw=2 sts=2 autoindent:
  3. # Note: this visual.conf is a combination of visual configurations for
  4. # a number of tasks that brat has been applied to. These settings are
  5. # here to provide defaults for new installations, and are not intended
  6. # to be used for reference or a starting point for creating new
  7. # visual.conf files. For simple, clean examples, see the visual.conf
  8. # files in subdirectories of configurations/.
  9. [labels]
  10. # Label definitions for display. The labels are separated by pipe
  11. # characters "|".
  12. # The first label must correspond to the form found first in other
  13. # configuration files. As this form must be valid for use in e.g. the
  14. # BioNLP ST standoff format, it must have only ASCII alphanumerics,
  15. # "_" or "-" (i.e. match '^[a-zA-Z0-9_-]$').
  16. # Labels other than the first define forms that are presented to the
  17. # user in the annotation interface, with the first form being the
  18. # preferred full form and the others abbreviations that will be used
  19. # if fuller forms do not fit in the given space. These have no format
  20. # restrictions and can contain e.g. space (this tends to make the
  21. # first and second columns identical for most terms, which do not
  22. # contain space). Surrounding space is ignored.
  23. ### Entity types
  24. Anatomical_entity | Anatomical entity
  25. Anatomical_structure | Anatomical structure
  26. Organism_subdivision | Organism subdivision | Org subdiv
  27. Anatomical_system | Anatomical system | Anat syst
  28. Organ | Organ
  29. Multi-tissue_structure | Multi-tissue structure | Mtissue struct | Mtissue
  30. Tissue | Tissue
  31. Cell | Cell
  32. Developing_anatomical_structure | Developing anatomical structure | Developing structure | Developing
  33. Cellular_component | Cellular component | Cell comp
  34. Organism_substance | Organism substance | Org subst
  35. Immaterial_anatomical_entity | Immaterial anatomical entity | Immaterial entity | Immaterial
  36. Pathological_formation | Pathological formation | Pathological
  37. OUT-OF-SCOPE | OUT-OF-SCOPE
  38. ### Relation types
  39. Equiv | Equiv | Eq
  40. frag | frag
  41. Part-of | Part-of
  42. [drawing]
  43. # Other aspects of visual presentation. The format is label (form used
  44. # in other configurations, first of the labels) of the annotation
  45. # separated by tab from comma-separated key:value pairs. The recognized
  46. # keys, their values and purpose are:
  47. # - fgColor : any HTML color specification (e.g. "black"), sets
  48. # the color of a span text in the visualization.
  49. # - bgColor : any HTML color specification (e.g. "white"), sets
  50. # the color of a span "box" background in the visualization.
  51. # - borderColor : any HTML color specification (e.g. "black"), sets
  52. # the color of a span "box" border in the visualization.
  53. # Also supports special value "darken", which specifies to
  54. # use a darker shade of bgColor for the border.
  55. # - color : any HTML color specification (e.g. "black"), sets
  56. # the color of an arc in the visualization.
  57. # - dashArray : any valid SVG stroke-dasharray specification using
  58. # dashes (instead of commas or space) as separators
  59. # (e.g. "3-3"), sets the dash/dot pattern for lines
  60. # in the span/arc visualization ("-" works for solid
  61. # line)
  62. # The special labels "SPAN_DEFAULT" and "ARC_DEFAULT" are recognized
  63. # as setting defaults that will be used for types without specific
  64. # settings. It is not necessary to define all aspects of the
  65. # visualization (e.g. just Color can be given): defaults will be
  66. # used for unspecified cases.
  67. SPAN_DEFAULT fgColor:black, bgColor:lightgreen, borderColor:darken
  68. ARC_DEFAULT color:black, arrowHead:triangle-5
  69. Equiv dashArray:3-3, arrowHead:none
  70. Part-of color:blue
  71. # entity span colors
  72. Organism_subdivision bgColor:#ddaaaa
  73. Anatomical_system bgColor:#ee99cc
  74. Organ bgColor:#ff95ee
  75. Multi-tissue_structure bgColor:#e999ff
  76. Tissue bgColor:#cf9fff
  77. Developing_anatomical_structure bgColor:#ff9fff
  78. Cell bgColor:#cf9fff
  79. Cellular_component bgColor:#bbc3ff
  80. Organism_substance bgColor:#ffeee0
  81. Immaterial_anatomical_entity bgColor:#fff9f9
  82. Pathological_formation bgColor:#aaaaaa
  83. OUT-OF-SCOPE bgColor:#ff0000
  84. ATTRIBUTE_DEFAULT glyph:*
  85. # TODO: attribute visualization config