pyfeyn2.feynmandiagram.Line
- class pyfeyn2.feynmandiagram.Line(source: Optional[str] = '', target: Optional[str] = '')[source]
-
- __init__(source: Optional[str] = '', target: Optional[str] = '') None
Methods
__init__([source, target])connect(source, target)set_source(*args, **kwargs)set_target(*args, **kwargs)with_source(source)with_target(target)Attributes
Source of the object
Target of the object
- source: Optional[str] = ''
Source of the object
- target: Optional[str] = ''
Target of the object