pyfeyn2.auto.position.auto_align
- pyfeyn2.auto.position.auto_align(fd, positions)[source]
Automatically position the vertices and legs on a list of positions.
- Parameters:
fd (FeynmanDiagram) – The Feynman diagram to be positioned.
positions (list of tuple) – A list of tuples of the form (x,y) with the positions of the vertices
- Returns:
The Feynman diagram with the vertices and legs positioned.
- Return type: