This subclass of hou.NetworkShape describes a wire that can be drawn into a network editor pane. This wire is drawn using the same wire style set on the current network.
__init__(input_pos, input_dir, output_pos, output_dir, color = hou.Color((1.0, 1.0, 1.0)), alpha = 1.0, fade_factor = 0.0, smooth = True, dashed = False)
Constructs a new connection descriptor. This is different from a hou.NetworkShapeLine because it is drawn using the same algorithm as a wire connecting two nodes, rather than always using a straight line.
A hou.Vector2 indicating the starting point of the connection, expressed in network coordinates.
A hou.Vector2 expressing the starting direction of the wire.
A hou.Vector2 indicating the end point of the connection, expressed in network coordinates.
A hou.Vector2 expressing the ending direction of the wire.
The color of the connection, expressed as a hou.Color.
The alpha used when drawing the connection, expressed as a float value between 0 and 1.
A float value indicating the amount of fading that should be applied
to this connection if it exceeds the fade length. By setting this
0.0, all fading logic is disabled.
A boolean value indicating whether lines should be drawn with smoothing turned on. Smoothing lines is a form of anti-aliasing which can make curved lines look better, but doing so may affect the color of the line.
A boolean value indicating whether lines should be drawn as a series of dashes rather than as solid lines.