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)Deprecated since version 2.0.7.1.
set_target(*args, **kwargs)Deprecated since version 2.0.7.1.
with_source(source)with_target(target)Attributes
Source of the object
Target of the object
- set_source(*args, **kwargs)
Deprecated since version 2.0.7.1: This will be removed in 2.2. Use with…().
- set_target(*args, **kwargs)
Deprecated since version 2.0.7.1: This will be removed in 2.2. Use with…().
- source: Optional[str] = ''
Source of the object
- target: Optional[str] = ''
Target of the object