[vcs-log-graph] inline ColorGetterByLayoutIndex