pyfeyn2.render.pyx.deco.Arrow

class pyfeyn2.render.pyx.deco.Arrow(pos=0.5, size=<pyx.unit.length object>, angle=45, constriction=0.8, sense=1)[source]

Bases: deco, attr

Arrow for Feynman diagram lines

__init__(pos=0.5, size=<pyx.unit.length object>, angle=45, constriction=0.8, sense=1)[source]

Constructor.

Methods

__init__([pos, size, angle, constriction, sense])

Constructor.

decorate(dp[, textengine])

Attach arrow to a path (usually a line).

merge(attrs)

merge self into list of attrs

decorate(dp, textengine=None)[source]

Attach arrow to a path (usually a line).

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.