friendlysam.parts.FlowNetwork.add_part

FlowNetwork.add_part(part)

Add a part to this part.

Parameters:part (Part or subclass instance) – The part to add.
Raises:InsanityError – If the calling part is a descendant of the part to add. (This would generate a cyclic relationship.)