controltheorylib.controlsystem.Connection
- Connection = <class 'controltheorylib.controlsystem.Connection'>[source]
A connection between two control blocks with optional labeling.
Represents a signal flow connection between output and input ports of control blocks. Supports both LaTeX and regular text labels.
- Parameters:
source_block (ControlBlock) – Source block where the connection originates
output_port (str) – Name of the output port on the source block
dest_block (ControlBlock) – Destination block where the connection terminates
input_port (str) – Name of the input port on the destination block
label (str, optional) – Text label to display along the connection
label_font_size (float, optional) – Font size for the label (default: 35)
color (Manim color, optional) – Color of the connection arrow (default: WHITE)
use_math_tex (bool, optional) – Use LaTeX rendering for the label (default: True)
buff (float, optional) – Buffer distance between label and arrow (default: 0.2)
**kwargs – Additional arguments passed to Arrow constructor