colour distinction for branch nodes that have both in and out
refactored highlight classnames to use same names on all element types