feynml.line.Line

class feynml.line.Line(source: str | None = '', target: str | None = '')[source]

Bases: Targeting, Sourcing

__init__(source: str | None = '', target: str | None = '') None

Methods

__init__([source, target])

connect(source, target)

with_source(source)

with_target(target)

Attributes

source

Source of the object

target

Target of the object

source: str | None = ''

Source of the object

target: str | None = ''

Target of the object