pyfeyn2.auto.position

Functions

auto_position(fd[, layout, clear_vertices])

Automatically position the vertices and legs.

feynman_adjust_points(feyndiag[, size, ...])

Adjust the points of the vertices and legs using Dot language algorithms.

incoming_to_left(fd)

Set the incoming legs to the left.

outgoing_to_right(fd)

Set the outgoing legs to the right.

remove_unnecessary_vertices(feyndiag)

Remove vertices that are only connected to two vertices with the same propagator.

scale_positions(fd, scale)

Scale the positions of the vertices and legs.