pyfeyn2.render.pyx.deco.Arrow
- class pyfeyn2.render.pyx.deco.Arrow(pos=0.5, size=<pyx.unit.length object>, angle=45, constriction=0.8)[source]
Bases:
deco,attrArrow for Feynman diagram lines
Methods
__init__([pos, size, angle, constriction])Constructor.
decorate(dp)Attach arrow to a path (usually a line).
merge(attrs)merge self into list of attrs
- merge(attrs)
merge self into list of attrs
self may either be appended to attrs or inserted at a proper position immediately before a dependent attribute. Attributes of the same type should be removed, if redundant. Note that it is safe to modify attrs.