Prevent Nomnoml Diagrams from overflowing (in PDF and in Note)

Similar to the snippet here: Prevent Mermaid charts from overflowing the page in Export to PDF

I’m trying to export a diagram I made with the Nomnoml Plugin (GitHub - Daeik/obsidian-nomnoml-diagram: Obsidian Plugin for nomnoml diagram), which I chose over Mermaid because I couldn’t figure out how to make the arrows shorter in Mermaid.

I’d like to export the diagram but in PDF it keeps overflowing, and you can’t see all of it, which is also a problem in the regular note view in Obsidian itself. Is this possible in some way, similar to how in the snippet in the discussion on the Mermaid export?