Skip to content

Symmetric Layout

Each rendered diagram is followed by the verbatim source that produced it.

When a diagram omits incoming and outgoing, MarkFeyn keeps degree-1 endpoints as unclassified and uses symmetric orientation. Focused refinement then mirrors balanced two-center trees and symmetric two-point self-energy loops. This is a heuristic for common no-role diagrams, not a full graph automorphism engine.

No-Role Annihilation Tree

Without incoming / outgoing, endpoints stay unclassified but use the same left-to-right scattering geometry as the explicit-role version. This is done for convinience.

fermion e_minus->ann
anti fermion e_plus->ann
photon ann->prod[momentum'=k]
anti fermion prod->mu_plus
fermion prod->mu_minus
label e_minus:e^- e_plus:e^+ mu_plus:\mu^+ mu_minus:\mu^- ann->prod:\gamma
1
2
3
4
5
6
7
8
```feynman
fermion e_minus->ann
anti fermion e_plus->ann
photon ann->prod[momentum'=k]
anti fermion prod->mu_plus
fermion prod->mu_minus
label e_minus:e^- e_plus:e^+ mu_plus:\mu^+ mu_minus:\mu^- ann->prod:\gamma
```

Explicit Roles Still Use Process Layout

Declaring incoming and outgoing assigns process roles and ordering metadata, but the geometry matches the no-role annihilation tree above.

```feynman
incoming e_minus e_plus
outgoing mu_plus mu_minus
fermion e_minus->ann
anti fermion e_plus->ann
photon ann->prod[momentum'=k]
anti fermion prod->mu_plus
fermion prod->mu_minus
label e_minus:e^- e_plus:e^+ mu_plus:\mu^+ mu_minus:\mu^- ann->prod:\gamma
```
incoming e_minus e_plus
outgoing mu_plus mu_minus
fermion e_minus->ann
anti fermion e_plus->ann
photon ann->prod[momentum'=k]
anti fermion prod->mu_plus
fermion prod->mu_minus
label e_minus:e^- e_plus:e^+ mu_plus:\mu^+ mu_minus:\mu^- ann->prod:\gamma

Even Split (6 unclassified total)

Even total unclassified count (here 3→3 per center, six terminals overall): every external stays on the left or right margin. No top/bottom center leaf.

fermion l1->hub1 l2->hub1 l3->hub1
photon hub1->hub2
fermion hub2->r1 hub2->r2 hub2->r3
label l1:a_1 l2:a_2 l3:a_3 r1:b_1 r2:b_2 r3:b_3 hub1->hub2:X
1
2
3
4
5
6
```feynman
fermion l1->hub1 l2->hub1 l3->hub1
photon hub1->hub2
fermion hub2->r1 hub2->r2 hub2->r3
label l1:a_1 l2:a_2 l3:a_3 r1:b_1 r2:b_2 r3:b_3 hub1->hub2:X
```

Even Split (8 unclassified total)

Another even total (4→4 per center): same margin-only placement.

1
2
3
4
5
6
```feynman
fermion l1->hub1 l2->hub1 l3->hub1 l4->hub1
photon hub1->hub2
fermion hub2->r1 hub2->r2 hub2->r3 hub2->r4
label l1:a_1 l2:a_2 l3:a_3 l4:a_4 r1:b_1 r2:b_2 r3:b_3 r4:b_4 hub1->hub2:X
```
fermion l1->hub1 l2->hub1 l3->hub1 l4->hub1
photon hub1->hub2
fermion hub2->r1 hub2->r2 hub2->r3 hub2->r4
label l1:a_1 l2:a_2 l3:a_3 l4:a_4 r1:b_1 r2:b_2 r3:b_3 r4:b_4 hub1->hub2:X

Odd Split (3 unclassified total)

Odd total unclassified count: the median terminal by declaration order is placed at the top or bottom center; the others stay on the margins.

fermion l1->hub1 l2->hub1 l3->hub1
photon hub1->hub2
fermion hub2->r2 hub2->r3
label l1:a_1 l2:a_2 l3:a_3 r2:b_2 r3:b_3 hub1->hub2:X
1
2
3
4
5
6
```feynman
fermion l1->hub1 l2->hub1 l3->hub1
photon hub1->hub2
fermion hub2->r2 hub2->r3
label l1:a_1 l2:a_2 l3:a_3 r2:b_2 r3:b_3 hub1->hub2:X
```

Single Contact Star (5 unclassified total)

A one-center no-role contact interaction stays symmetric. Names like l1 and r2, edge source/target spelling, and fermion arrows do not create process sides; use explicit incoming and outgoing declarations when left/right grouping is intended. For an odd number of leaves, the median declared leaf anchors the visual symmetry axis and the remaining leaves form mirrored pairs around the contact vertex.

1
2
3
4
5
6
```feynman
fermion l1->hub1 l2->hub1 l3->hub1
fermion hub1->r2 hub1->r3
label l1:a_1 l2:a_2 l3:a_3 r2:b_2 r3:b_3
vertex hub1:blob
```
fermion l1->hub1 l2->hub1 l3->hub1
fermion hub1->r2 hub1->r3
label l1:a_1 l2:a_2 l3:a_3 r2:b_2 r3:b_3
vertex hub1:blob

7-point star

1
2
3
4
5
6
```feynman
fermion l1->hub1 l2->hub1 l3->hub1  l4->hub1 l5->hub1
fermion hub1->r2 hub1->r3
label l1:a_1 l2:a_2 l3:a_3 r2:b_2 r3:b_3
vertex hub1:blob
```
tikz vertical l3 to hub1
fermion l1->hub1 l2->hub1 l3->hub1 l4->hub1 l5->hub1
fermion hub1->r2 hub1->r3
label l1:a_1 l2:a_2 l3:a_3 r2:b_2 r3:b_3
vertex hub1:blob
fermion root->a root->b b->c b->d
label a:a c:c d:d
1
2
3
4
```feynman
fermion root->a root->b b->c b->d
label a:a c:c d:d
```

No-Role Gamma-to-Gamma Self-Energy Loop

Without incoming / outgoing, the loop keeps unclassified externals but uses the same horizontal left-to-right geometry as the explicit-role version.

photon gamma1->a b->gamma2
fermion a->b[half left, momentum=k] b->a[half left, momentum'=k-p]
label gamma1:\gamma gamma2:\gamma
1
2
3
4
5
```feynman
photon gamma1->a b->gamma2
fermion a->b[half left, momentum=k] b->a[half left, momentum'=k-p]
label gamma1:\gamma gamma2:\gamma
```

Explicit Roles on the Same Loop

Declaring roles assigns process metadata; geometry matches the no-role loop above.

layout spring
incoming gamma1
outgoing gamma2
photon gamma1->a b->gamma2
fermion a->b[half left, momentum=k] b->a[half left, momentum'=k-p]
label gamma1:\gamma gamma2:\gamma
1
2
3
4
5
6
7
8
```feynman
layout spring
incoming gamma1
outgoing gamma2
photon gamma1->a b->gamma2
fermion a->b[half left, momentum=k] b->a[half left, momentum'=k-p]
label gamma1:\gamma gamma2:\gamma
```

Asymmetric Unclassified Tree

When one side has an extra leaf (counts differ by one), the total unclassified count is odd. The median terminal by declaration order goes to the top or bottom center; the rest stay on the margins. Refinement is skipped when the per-side mismatch is larger (for example one leaf on one side and three on the other).

fermion root->a root->b b->c b->d b->e
1
2
3
```feynman
fermion root->a root->b b->c b->d b->e
```