pyfeyn2.render.pyx.diagrams

Classes for the actual diagram containers.

Module Contents

Classes

FeynDiagram

The main PyFeyn diagram class.

class pyfeyn2.render.pyx.diagrams.FeynDiagram(objects=None, canvas=None)[source]

The main PyFeyn diagram class.

Objects for holding a set of Feynman diagram components.

currentDiagram[source]
add(*objs)[source]

Add an object to the diagram.

drawToCanvas()[source]

Draw the components of this diagram in a well-defined order.

draw(outfile, enlargement=0)[source]

Draw the diagram to a file, with the filetype (EPS or PDF) derived from the file extension.