added colors to directed graph