modifiers

Modifiers that can be applied to other components to add elements.

They are applied by inheritance, and should be the first class a subclass inherits from. The other requirement is that the subclass implement ._construct() and call super()._construct(). A bare-minimum example is shown below.

class ModifiedComponent(Modifier, ComponentToModify):
    def _construct(self) -> None:
        super()._construct()

Classes

DiamondOuter

Modifier to add a diamond outline to a component.

RoundOuter

Modifier to add a circular outline to a component.

SensorModifier

Modifier to add a 'bent L' to a component to signify that it is a sensor.

VariableModifier

Modifier to add diagonal arrow to a component to signify variability.