code: private static List<String> computeDisplayedRelAnnotations(VisualizerInput input, String relAnnosConfiguration,
  			Class<? extends SRelation> type) {
  		if (input == null) {
  			return new LinkedList<>();
  		}
  
  		SDocumentGraph graph = input.getDocument().getDocumentGraph();
  
  		Set<String> annotationPool = getRelationLevelSet(graph, null, type);
  		List<String> confAnnotations = new LinkedList<>(annotationPool);
  
  		if (relAnnosConfiguration != null && relAnnosConfiguration.trim().length() > 0) {
  			String[] confSplit = relAnnosConfiguration.split(",");
  			confAnnotations.clear();
  			for (String entry : confSplit) {
  				entry = entry.trim();
  				// is regular expression?
  				if (entry.startsWith("/") && entry.endsWith("/")) {
  					// go over all remaining items in our pool of all annotations and
  					// check if they match
  					Pattern regex = Pattern.compile(StringUtils.strip(entry, "/"));
  
  					LinkedList<String> matchingAnnotations = new LinkedList<>();
  					for (String anno : annotationPool) {
  						if (regex.matcher(anno).matches()) {
  							matchingAnnotations.add(anno);
  
  						}
  					}
  					confAnnotations.addAll(matchingAnnotations);
  					annotationPool.removeAll(matchingAnnotations);
  
  				} else {
  					confAnnotations.add(entry);
  					annotationPool.remove(entry);
  				}
  			}
  		}
  
  		return confAnnotations;
  	}
docs: Returns the annotations to display according to the mappings configuration.
  
  This will check the "relation" parameter for determining the annotations to
  display. It also iterates over all nodes of the graph matching the type.
  
  @param input
  The input for the visualizer.
  @param type
  Which type of relations to include
  @return