Editing an ontology can become confusing when terms from other ontologies are referenced. Term names may be similar between ontologies, which can lead to inadvertent associations, and it can difficult to distinguish in a graph which term is associated with which ontology. Fortunately, it is possible to use the Term renderers configuration panel to color-code the different ontologies in the Graph Editor (or the Ontology Tree Editor). The following steps describe how to do this.


Here is an example of the Graph Editor showing part of the Gene Ontology colored by namespace (pink for biological_process, green for molecular_function, and blue for cellular_component).

There are a few things to note. OBO-Edit automatically assigns the default namespace to ontology terms MIREOTed when they lack an assigned namespace. An ontology engineer may have to manually assign a new namespace to these terms. An ontology engineer should also be careful when assigning colors to namespaces. Ontology engineers are encouraged to consult online resources in choosing color schemes that are easily distinguishable and reproduce well both in print and on a computer screen. If done properly, publication-quality figures can be generated with OBO-Edit.
Renderers are set up per component, so if you want to color terms by namespace in the Ontology Tree Editor as well as the Graph Editor, you will need to set up a renderer in the Ontology Tree Editor as well (in the same fashion as described above). Also note that you can set up term renderers in the Graph Editor but not in the Graph Viewer.