yawning_titan.envs.generic.helpers.graph2plot.repeat_check#

yawning_titan.envs.generic.helpers.graph2plot.repeat_check(node, legend_list)[source]#

Checks if a node already exists by comparing the nodes colour and description with nodes already in the legend.

Parameters:
  • node – A node dict.

  • legend_list – The legend list.

Returns:

True if is already exists, otherwise False.