Changed the legend such that depends-on relations are more clear