Updated for graph colors.