networkcommons.visual.get_edge_color

networkcommons.visual.get_edge_color(effect, styles)

Get the color for an edge based on its effect.

Parameters:
  • signs (str) – The effect type of the edge.

  • styles (dict) – The styles dictionary.

Returns:

The color for the edge.

Return type:

str