color the graph based on specified grouping of minima
Parameters : | groups : list
|
---|
Notes
For each node, check all minima for which the node is a parent. If all minima are contained on one of the groups, the node will be coloured to represent that group. If any minimum is not contained on one of the groups, the node is not coloured. If all minima are contained in groups but more than one group is represented, the node will be the colour of the last group listed