opto.trace.nodes.NodeVizStyleGuide.get_style

opto.trace.nodes.NodeVizStyleGuide.get_style#

NodeVizStyleGuide.get_style(x)[source]#

Set the style of a node.

Parameters:

x – The node for which the style is to be set.

Returns:

The style string for the node.

Return type:

str

Notes

The style of a node is set to ‘filled,solid’ if the node is trainable; otherwise, it returns an empty string.