JP-Ellis / tikz-feynman

Feynman Diagrams with TikZ
http://www.jpellis.me/projects/tikz-feynman
Other
148 stars 20 forks source link

Elongated Blobs #5

Open JP-Ellis opened 8 years ago

JP-Ellis commented 8 years ago

From /u/nunudodo on reddit:

An elongated multi-vertex blob would be nice too. For example see and

JP-Ellis commented 8 years ago

From my answer:

It is definitely possible to do that with TikZ and I'll have a look at making it easy through TikZ-Feynman, but I'm not entirely sure yet if or how it can work nicely with the underlying algorithms.

I intend to have a look at this after I release v1.0.0, since I want to make sure the syntax is stable before adding new features.

whit2333 commented 8 years ago

A simple ellipse could work. The two tikz nodes could be at the foci. The size of the ellipse could be scaled to some fraction of the tikz node spacing. This would then completely define the ellipse (assuming) the distance between the foci is equal to the node spacing.

The tricky part comes when you want to do something with more than 2 nodes, like the the rho, pi, K fragmentation above or this diagram below. 1dcobp7

When I was using feynmf to do something like this, I just made multiple vertices along a straight line (under the ellipse) and used them as needed.

For example, the meson fragmentation above I would try to use just node (two quark connections at the ends and the outgoing line connected at the middle). Whereas for the diagram I posted above, I would use 5 nodes and only connect a gluon to one of them leaving 2 unused.