opto.trace.nodes.NodeVizStyleGuideColorful.get_border_color

opto.trace.nodes.NodeVizStyleGuideColorful.get_border_color#

NodeVizStyleGuideColorful.get_border_color(x)[source]#

Assign a border color to a node.

Parameters:

x – The node for which the border color is to be assigned.

Returns:

The border color to use for the node.

Return type:

str

Notes

The border color of a node is determined based on its type. ExceptionNode types are colored ‘firebrick1’, and ParameterNode types are colored ‘black’.