added the option to dye the graph by workflows or analyses