Skip to content

Commit

Permalink
Fix symbolsize default
Browse files Browse the repository at this point in the history
  • Loading branch information
APN-Pucky committed Jan 19, 2025
1 parent b274809 commit e0bd50d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyfeyn2/render/latex/tikzfeynman.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,10 @@ def stylize_node(fd: FeynmanDiagram, v: Vertex):
ret += "label=" + v.label + ","
if style.getProperty("symbol") is not None:
ret += shape_map[style.getProperty("symbol").value] + ","
ret += "scale=" + style.getPropertyValue("symbol-size", "1") + ","
size = style.getPropertyValue("symbol-size", "1")
if size == "":
size = "1"
ret += "scale=" + size + ","
suffix = ""

end = ret[:-1]
Expand Down

0 comments on commit e0bd50d

Please sign in to comment.