7. Module connector

This module provides classes for connecting two box-instances with lines, arcs or curves. All constructors of the following connector-classes take two box-instances as the two first arguments. They return a connecting path from the first to the second box. The overall geometry of the path is such that is starts/ends at the boxes' centers. It is then cut by the boxes' outlines. The resulting connector will additionally be shortened by lengths given in the boxdists-keyword (a list of two lengths, default [0,0]).

Angle keywords can be either absolute or relative. The absolute angles refer to the angle between x-axis and the running tangent of the connector, while the relative angles are between the direct connecting line of the box-centers and the running tangent (see figure. 7.1).

The bulge-keywords parameterize the deviation of the connector from the connecting line. It has different meanings for different connectors (see figure. 7.1).


Subsections