Metadata-Version: 2.1
Name: ufo-draw
Version: 0.0.4
Summary: Draw Feynman diagrams from UFO models
Home-page: https://github.com/APN-Pucky/ufo-draw
Author: Alexander Puck Neuwirth
Author-email: alexander@neuwirth-informatik.de
Requires-Python: >=3.8,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: feynml
Requires-Dist: feynmodel (>=0.0.4)
Requires-Dist: pyfeyn2 (>=2.3.4)
Requires-Dist: pyqgraf (>=0.0.8)
Project-URL: Repository, https://github.com/APN-Pucky/ufo-draw
Description-Content-Type: text/markdown

# ufo_draw

Allows you to quickly draw feynman diagrams from ufo model files.

## Installation

```bash
pip install ufo_draw # Install it
```
with optional `--user` or `--break-system-packages`. 
However due to the amount of dependencies it might be better to install it using pipx to have dependencies in isolated versions

```bash
pipx install ufo_draw
```

## Example

```
ufo_draw --initial "nu_e nu_e_bar" --final "nu_e nu_e_bar" -o diagram -m ufo_sm
```
creates following diagrams via [pyfeyn2](https://github.com/APN-Pucky/pyfeyn2) from the [ufo_sm](https://github.com/APN-Pucky/ufo_sm) model using [pyqgraf](https://github.com/APN-Pucky/pyqgraf).

![diag0](./img/diagram_0.png)
![diag1](./img/diagram_1.png)

