add_id_to_component

CircuitComponents.add_id_to_component(id)[source]

Add an ID to a component.

Parameters
idint

ID to assign the component.

Returns
int

Number of components.